Host class: Difference between revisions

From techdocs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
!Where specified
!Where specified
!Description
!Description
|-
|mon*
|<code>hostlist.csv</code>
|Classes used to configure the [[monitoring]] system:
* mondisk - sample each host disk's sector (512 byte) read and write counts and save for graphing
* moneth[0-9] - sample the network interface transmit and receive byte counts and save for graphing
* monload - sample the host's load average and save for graphing
* monping - ping the hosts
|-
|-
|userlogin
|userlogin
|<code>config.inc</code>
|<code>config.inc</code>
|Indicates that ordinary users will log in to this host. Typically set for [[lab computer]]s, [[login server]]s and [[VLAB]] servers.
|Indicates that ordinary users will log in to this host. Typically set for [[lab computer]]s, [[login server]]s and [[VLAB]] servers.
|-
|vlabserver
|<code>hostlist.csv</code>
|Configure host as a VLAB server
|}
|}


[[Category:Pages needing work]]
[[Category:Pages needing work]]

Revision as of 13:31, 14 Haziran 2022

Host classes for each host may be set in hostlist.csv or may be set in config.inc.

Host classes set in hostlist.csv are available to both host generator scripts and to cfengine promises.

Host classes set in config.inc are NOT available to host generator scripts.

Class name Where specified Description
mon* hostlist.csv Classes used to configure the monitoring system:
  • mondisk - sample each host disk's sector (512 byte) read and write counts and save for graphing
  • moneth[0-9] - sample the network interface transmit and receive byte counts and save for graphing
  • monload - sample the host's load average and save for graphing
  • monping - ping the hosts
userlogin config.inc Indicates that ordinary users will log in to this host. Typically set for lab computers, login servers and VLAB servers.
vlabserver hostlist.csv Configure host as a VLAB server