Code: Select all
define service {
host_name some.host.tld
service_description Disk Usage on _boot
use xiwizard_ncpa_service
check_command check_xi_ncpa_agent!-t 'mytoken' -P 5693 -M 'disk/logical/|boot/used_percent' -w 95 -c 98
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contact_groups Team
_xiwizard ncpa
register 1
}
define service {
host_name some.host.tld
service_description Disk Usage on _opt
use xiwizard_ncpa_service
check_command check_xi_ncpa_agent!-t 'mytoken' -P 5693 -M 'disk/logical/|opt/used_percent' -w 95 -c 98!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contact_groups Team
_xiwizard ncpa
register 1
}We're using NCPA 1.8.1, have restarted it and have uninstalled and reinstalled it to no avail. This configuration works everywhere but "this one" stubborn server, and I can't, for the life of me, figure out why. I've even copied existing configs in CCM to no avail, and if I Test the "working" versions from CCM, they result in the same error.Unable to run check on non-child node. Revise your query.
Any clues?