Host class: Difference between revisions

From techdocs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
|<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.
|-
|localstorage
|<code>hostlist.csv</code>
|See [[Local storage|local storage]]
|-
|-
|vlabserver
|vlabserver

Revision as of 16:30, 27 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.
localstorage hostlist.csv See local storage
vlabserver hostlist.csv Configure host as a VLAB server