Template:Server
From Wikitech
(Difference between revisions)
(-{{MoveToLabs}}) |
|||
| Line 92: | Line 92: | ||
--></includeonly><noinclude><div style="clear: both;"></div> | --></includeonly><noinclude><div style="clear: both;"></div> | ||
---- | ---- | ||
| − | |||
This template categorizes the host page into: | This template categorizes the host page into: | ||
Latest revision as of 23:30, 26 February 2013
| server | |
| Location: | sandbox |
| Server group: | Example services |
| Node name: | foo.examplenet |
| Status | |
|---|---|
| Overal: | |
| Ganglia?: | Ganglia status |
| Nagios?: | Nagios 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}}})
[edit] Parameters
- location
- (required) Which cluster this server is located in.
- name
- (optional: defaults to {{PAGENAME}}
- native_name
- (optional)
- latin_name
- (optional)
- serial
- (optional)
- usage
- (optional) ID of usage (see Template:Server/usage source for a complete l ist)
- usage-multi
- (optional) Overwrites
usagefor embedding multiple templates directly. - status
- (optional) Use
online,offline,unknownordecommissioned(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
[edit] Usage
{{Server
| location =
| name =
| racktables_id =
| serial =
| usage =
| status =
| memory =
| cpu =
| hdd =
| os =
| kernel =
| usage_version =
| server_group =
| server_nodename =
}}