Page 1 of 1

Host name for passive checks

Posted: Mon Mar 07, 2016 6:00 am
by peter19x
Hello,

I have passive checks on coming to my nagios with a hostname 172.25.25.17. When I change the hostname in the configuration manager in Nagiox XI GUI, the passive check is not received anymore to that new hostname.

I tried to change the -H field as well from 172.25.25.17 to SBC, and I guess this is the wrong way to do it.

./send_nrdp.sh -u http://172.25.25.28/nrdp/ -t df23m7jadI34 -H SBC -s "CPU_utilization_live" -S 0 -o "CPU_utilization_live|'CPU UTILIZATION'=10;;;;"

Is there a way to do it? maybe an attribute in sending the nrdp.

Thanks

Re: Host name for passive checks

Posted: Mon Mar 07, 2016 5:06 pm
by hsmith
Is anything showing up in Unconfigured Objects under the Administration menu?

Re: Host name for passive checks

Posted: Tue Mar 08, 2016 4:48 am
by peter19x
Hello,

No it is not, the nagios just stops receiving checks.

and if I keep the IP address and change the hostname manually in the Nagios XI GUI, the new hostname will show up but with no checks on it, instead the checks are again being shown under Unconfigured Objects under Administration menu.

Best Regards,
Peter

Re: Host name for passive checks

Posted: Tue Mar 08, 2016 2:27 pm
by tgriep
Are the check that show up in the Unconfigured Objects have the correct hostname you are looking for?
If so, go ahead and configure them and then the checks will show up and be monitored by the XI server.

Changing the IP address to a hostname makes XI think it is a new check and that is why they show up in unconfigured objects.