Re: [Nagios-users] SSL Enable web interface help

2012-11-23 Thread lqmarshall
This seems to be an Apache(ssl) configuration issue not NAGIOS. I'd expect
that you'd find more assistance on an apache list. That said... How are you
connecting to a remote host using localhost? Localhost will resolve to the
local system which makes it generally a non-functional name especially for
SSL connections on most setups.


-Original Message-
From: nagios-users-requ...@lists.sourceforge.net
[mailto:nagios-users-requ...@lists.sourceforge.net] 
Sent: Wednesday, November 21, 2012 10:26 AM
To: nagios-users@lists.sourceforge.net
Subject: Nagios-users Digest, Vol 78, Issue 12

Send Nagios-users mailing list submissions to
nagios-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
nagios-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
nagios-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Nagios-users digest..."


Today's Topics:

   1. Re: SSL Enable web interface help (Andrew Thompson)
   2. Re: SSL Enable web interface help (romy rajoelison)
   3. FW:  SSL Enable web interface help (FTL 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@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


Re: [Nagios-users] Nagios showing OK for service which is in CRITICAL state

2012-11-23 Thread Niall O Broin
On 23 Nov 2012, at 11:06, Assaf Flatto  wrote:

> 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  OK2012-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  ?

> 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

My bad - I should have mentioned that I had already checked that - I am using 
the standard check_http plugin. But your asking that has anyway solved the 
problem, because it jogged my mind somehow. The check_http plugin outputs dates 
in U.S. format, and this is not configurable. I had a command definition which 
passed the output of the plugin through, so what Nagios was getting back was 
the result code from sed and not from the plugin.  

I've now written a little wrapper script which saves the result code and all is 
now sweetness and light.

It would be nice if check_http's date output format were configurable :-(



Kindest regards,



Niall  O Broin




--
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@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


Re: [Nagios-users] Nagios showing OK for service which is in CRITICAL state

2012-11-23 Thread Assaf Flatto
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@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


[Nagios-users] Nagios showing OK for service which is in CRITICAL state

2012-11-23 Thread Niall O Broin
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




--
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@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