Not using values in cfg file
Posted: Wed Jun 04, 2014 4:49 pm
Ok, so I had a bunch of service defined like so:
Well, these were returning critical(on the back of racks, so a little hotter. I changed all the back of rack sensors to a higher temp, liek so:
Well, some are working as intended and some are not. If I run the command from the CLI I get back an OK but from web page I am getting criticals. It makes no sense. it is as though nagios is still using the original $ARG2$ and $ARG3$
Code: Select all
define service {
host_name NBWDCAR4301
service_description Temp Sensor 6
use wdc_netbotz_sensor
servicegroups network_oncall
check_command check_custom_nb!redacted!45:75!40:80!7!15:65!10:70!!
check_period xi_timeperiod_24x7
notification_period xi_timeperiod_24x7
_xiwizard snmp
register 1
}
define service {
host_name NBWDCAR4301
service_description Temp Sensor 7
use wdc_netbotz_sensor
servicegroups network_oncall
check_command check_custom_nb!redacted!45:75!40:80!7!15:65!10:70!!
check_period xi_timeperiod_24x7
notification_period xi_timeperiod_24x7
_xiwizard snmp
register 1
}
Code: Select all
define service {
host_name NBWDCAR4301
service_description Temp Sensor 6
use wdc_netbotz_sensor
servicegroups network_oncall
check_command check_custom_nb!redacted!45:90!40:100!7!15:65!10:70!!
check_period xi_timeperiod_24x7
notification_period xi_timeperiod_24x7
_xiwizard snmp
register 1
}
define service {
host_name NBWDCAR4301
service_description Temp Sensor 7
use wdc_netbotz_sensor
servicegroups network_oncall
check_command check_custom_nb!redacted!45:90!40:100!7!15:65!10:70!!
check_period xi_timeperiod_24x7
notification_period xi_timeperiod_24x7
_xiwizard snmp
register 1
}