Шаблон:Server
Материал из ANT-Inform documentation
								
												
				This was copied from wikitech. I was experimenting, but now cannot delete?
| Example | |
| Location: | [[Шаблон:Server/location]] | 
| Hardware | |
|---|---|
| Software | |
| Шаблон:Ganglia | |
| Server group: | Шаблон:Server/server group | 
| Node name: | foo.examplenet | 
This template categorizes the host page into:
- Category:Servers
 - a subcategory of Category:Cluster (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}}
 - native_name
 - (optional)
 - latin_name
 - (optional)
 - serial
 - (optional)
 - usage
 - (optional)
 - 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
 
- bgcolor_section
 - (optional)
 
Usage
{{Server
| location = 
| name = 
| racktables_id =
| serial = 
| usage = 
| status = 
| memory = 
| cpu = 
| hdd = 
| os = 
| kernel = 
| usage_version = 
| server_group =
| server_nodename =
}}