diff options
Diffstat (limited to 'config/pdv/servers/11_spec_ipmi.cfg')
-rw-r--r-- | config/pdv/servers/11_spec_ipmi.cfg | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/config/pdv/servers/11_spec_ipmi.cfg b/config/pdv/servers/11_spec_ipmi.cfg new file mode 100644 index 0000000..192dca7 --- /dev/null +++ b/config/pdv/servers/11_spec_ipmi.cfg @@ -0,0 +1,66 @@ +define hostgroup { + hostgroup_name ipmi-nodes + alias IPMI Nodes + register 0 +} + +define hostgroup { + hostgroup_name ipmi-tested + alias IPMI Nodes + register 0 +} + +define host { + name ipmi-server + use unix-server + hostgroups +ipmi-nodes + _IPMI_IP _none_ + _IPMI_USER nagios + _IPMI_PASS _iosnag_ + register 0 +} + +define host { + name ipmi-ondemand-server + use ipmi-server +# Switch off later, as I prefer to see which nodes are off + check_command check_ip!$_HOSTIPMI_IP$ +} + +define service { + name ipmi-service + use remote-service +} + +define service { + use ping-service + hostgroup_name ipmi-nodes + service_description IPMI + check_command check_ip!$_HOSTIPMI_IP$ +} + +define service { + use ipmi-service + hostgroup_name ipmi-tested + service_description IPMI/TEMPERATURES + check_command check_ipmi!temperature!$_HOSTIPMI_TEMP_EXCLUDES$ +} + +define service { + use ipmi-service + hostgroup_name ipmi-tested + service_description IPMI/VOLTAGES + check_command check_ipmi!voltage!$_HOSTIPMI_VOLTAGE_EXCLUDES$ +} + +define service { + use ipmi-service + hostgroup_name ipmi-tested + service_description IPMI/FANS + check_command check_ipmi!fan!$_HOSTIPMI_FAN_EXCLUDES$ +} + +define command { + command_name check_ipmi + command_line $USER1$/check_ipmi_sensor1 -H $_HOSTIPMI_IP$ -U $_HOSTIPMI_USER$ -P $_HOSTIPMI_PASS$ -T $ARG1$ $ARG2$ +} |