You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Template:Server: Difference between revisions
Jump to navigation
Jump to search
imported>Krinkle mNo edit summary |
imported>Krinkle m (→Usage) |
||
Line 130: | Line 130: | ||
| location = | | location = | ||
| name = | | name = | ||
| racktables_id = | | racktables_id = | ||
| usage = | | usage = | ||
| status = | | status = | ||
| server_group = | | server_group = | ||
| server_nodename = | | server_nodename = | ||
}}</pre> | }}</pre> | ||
==Example== | ==Example== | ||
*[[Db10]] | *[[Db10]] |
Revision as of 22:25, 10 March 2016
server | |
Location: | sandbox |
Server group: | Example services |
Node name: | foo.examplenet |
Status | |
---|---|
Overall: | ![]() |
Ganglia?: | Ganglia status |
Icinga?: | host status services status |
Hardware | |
Software |
This template categorizes the host page into:
- Category:Servers
- a subcategory of Category:Clusters (based on the {{{location}}} parameter)
- a subcategory of Category:Servers by usage (based on the {{{usage}}})
- a subcategory of Category:Servers by status (based on the {{{status}}})
- a subcategory of Category:Servers by OS (based on the {{{os}}})
- a subcategory of Category:Servers by group (based on the {{{server_group}}}/{{{server_nodename}}})
Parameters
- location
- (required) Which cluster this server is located in.
- name
- (optional: defaults to {{PAGENAME}}
- serial
- (optional)
- usage
- (optional) ID of usage (see for possible values)
- usage-multi
- (optional) Overwrites
usage
for embedding multiple templates directly. - status
- (optional) Use
online
,offline
,unknown
ordecommissioned
(see Template:Server/status) - memory
- (optional)
- cpu
- (optional)
- hdd
- (optional)
- os
- (optional)
- kernal
- (optional)
- usage_version
- (optional)
- server_group
- (optional) Name of organizational server group (not physical per se). Should match the "Source" group of the node in Ganglia (passed to {{Ganglia}})
- server_nodename
- (optional) "Node" hostname. Should match the "Node name" in Ganglia (passed to {{Ganglia}})
- racktables_id
- (optional) The "object_id" of the server in Racktables
Usage
{{Server | location = | name = | racktables_id = | usage = | status = | server_group = | server_nodename = }}