Page 1 of 1

OK notification without critical

Posted: Wed Jan 30, 2019 4:50 am
by atsb
Hello!

About nagios XI environment
1) Linux Distribution and version? Centos7
2) 32 or 64bit? 64bit
3) VMware Image or Manual Install of XI? Manual install
4) Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? SSL
5) NagiosXI version: 5.5.9

I am experiencing again a weird case where CRITICAL notification was not sent out and only OK was sent. Something similar to a problem i had before: https://support.nagios.com/forum/viewto ... 16&t=50747
nagios_ok.png
Service settings:
nagios_ok_2.png
nagios_ok_3.png

Re: OK notification without critical

Posted: Wed Jan 30, 2019 10:56 am
by scottwilkerson
looking at your first image, it is hard to see for sure but it looks like the host that is sending the notification start with an a and a s and the host that is logging a SERVICE ALERT starts with an o

So these aren't the same host/service combination.

Re: OK notification without critical

Posted: Thu Jan 31, 2019 2:07 am
by atsb
Thats incorrect, "a" and "s" are actually users(contacts) line structure is like this
SERVICE NOTIFICATION: a(user);o(server);Oracle tnsping(service);OK;xi_service_notification_handler;OK - connection established to o(server:port/DB)

Re: OK notification without critical

Posted: Thu Jan 31, 2019 8:11 am
by scottwilkerson
Ok got it!

Is it possible that this was the first time this service went into an OK state since upgrading to 5.5.9?

I ask because there was a bug in previous versions that could cause this and they would not reset themselves and thing that a notification had previously been sent when it hadn't.

This actually shouldn't have sent the CRITICAL notification because it was just a soft state, but the errant recovery was part of the bug mentioned above.

Re: OK notification without critical

Posted: Fri Feb 01, 2019 2:10 am
by atsb
Yes, it indeed went into CRITICAL/OK state first time after upgrade. Thank you and i will let you know if this happens again.

Re: OK notification without critical

Posted: Fri Feb 01, 2019 8:00 am
by scottwilkerson
atsb wrote:Yes, it indeed went into CRITICAL/OK state first time after upgrade. Thank you and i will let you know if this happens again.
Sounds good.