Notification on Service Check Status Information Change

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
PhoneSuite
Posts: 6
Joined: Mon May 04, 2015 5:44 pm

Notification on Service Check Status Information Change

Post by PhoneSuite »

I am running a Nagios XI system with 100% passive checks. One of my service level checks is a simple public IP address check. Each one of my hosts (Ubuntu based server in remote locations) will run a service check that will see what the public IP address is and simply report it back. There are no alerts built into this check (i.e. warning, critical, etc..) its informational only.

My question is can I get Nagios to send an email notification that the IP address (i.e. service check information) changed?

My reasoning is that if site A has an IP address change for some reason (they changed ISP, something stopped working and their network failed over to another ISP, whatever) I would like to be alerted to that fact. Otherwise we would need to manually compare the IP address we had yesterday to the one that the host sent us today which is a pain.

I am aware that I could modify my service check to keep the last IP address in a file and compare that address to the new one and if they are different to set an alert status but I was hoping to avoid rewriting my check.

Thanks in advance for the help.
Last edited by dwhitfield on Tue Jan 10, 2017 2:38 pm, edited 1 time in total.
Reason: marking with green check mark
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Notification on Service Check Status Information Change

Post by dwhitfield »

I found two plugins I think should work for you. Both are listed as working with XI, although both haven't been updated in a while. There's not a bad review of either one of them.

https://exchange.nagios.org/directory/P ... py/details

https://exchange.nagios.org/directory/P ... IP/details

Please let us know if neither of those will work for you and we will see what we can do. Thanks!
PhoneSuite
Posts: 6
Joined: Mon May 04, 2015 5:44 pm

Re: Notification on Service Check Status Information Change

Post by PhoneSuite »

Thank you for the information. I got what I needed and I am good to go at this point.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Notification on Service Check Status Information Change

Post by dwhitfield »

Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!
Locked