Nagios showing OK for service which is in CRITICAL state

Assaf Flatto nagios at flatto.net
Fri Nov 23 11:06:02 CET 2012


On 23/11/12 07:38, Niall O Broin wrote:
> Had a bit of a panic this morning to get into the office and see that an SSL cert. had expired. By pure good luck I was in work very early so I got moving on a new cert. and having done that, I headed off to my Nagios status page because I was pretty sure that I had a check for this cert. in place. Sure enough, I did, but Nagios wasn't displaying an alert for its expiry, nor had it warned me that it was about to expire.
>
> I opened up the  Services  page and there I saw the following line, just as green as any of the others:
>
>
> SSL cert. YOUR-DOMAIN  OK	2012-11-23 08:28:58	207d 17h 2m 26s	1/4	CRITICAL - Cannot make SSL connection
>
>
> Now HOW on earth can Nagios be displaying  CRITICAL - Cannot make SSL connection  in the  Status Information  column while simultaneously showing  OK  in the Status column  ?
>
>
>
>
> Kindest regards,
>
>
>
> Niall  O Broin
>
>
>
>
What plugin are you using ? it could be that the text returned from the 
check includes the Critical string but the execution exit code is 0 and 
hence translated as OK by nagios .



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list