Plug-in for https
admin at jpk236.com
admin at jpk236.com
Mon Jul 18 17:31:17 CEST 2005
When you run ./check_http -h, is there a -S option listed? Perhaps
Nagios 1.2 doesn't support this option? I don't know. I never used
Nagios 1.2 -- jumped right to Nagios 2.
As an example of how it should look/work:
#usr/local/libexec/nagios> ./check_http -S -H godaddy.com
OK - HTTP/1.1 302 Object moved - 0.535 second response time
|time=0.535305s;;;0.000000 size=651B;;;0
- Justin Kulikowski
[ http://www.jpk236.com ]
Mohan, Ajit (CFSA) wrote:
> Yes, I have specified the host definition.
>
> I also tried
>
> ./check_http -H my domain name -S
> check_http: Invalid option - SSL is not available
>
> thanks
>
>
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Monday, July 18, 2005 11:16 AM
> To: Mohan, Ajit (CFSA)
> Cc: admin at jpk236.com; pete at stuff-done.co.uk; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Plug-in for https
>
>
> -p only specifies port number - not protocol. Unless specified by -S, the default is to use HTTP, not HTTPS.
>
> Do you have a host definition for the service in the config?
>
> On Mon, 18 Jul 2005, Mohan, Ajit (CFSA) wrote:
>
>
>>I tried the following two commands
>>
>>./check_http -H "my domain name" -p 443 Invalid HTTP response received
>>from host on port 443
>>
>>
>>./check_http -H "my domain name:443"
>>Name or service not known
>>Unable to open TCP socket
>>
>>I am running nagios-1.2. Please help.
>>
>>Thanks
>>Ajit
>>
>>-----Original Message-----
>>From: Mohan, Ajit (CFSA)
>>Sent: Monday, July 18, 2005 10:58 AM
>>To: 'admin at jpk236.com'; 'pete at stuff-done.co.uk'
>>Cc: nagios-users at lists.sourceforge.net
>>Subject: RE: [Nagios-users] Plug-in for https
>>
>>Thanks guys for your response.
>>
>>After adding the line in the services.cfg I get this error
>>
>>" Service check command 'check_http -S -H "my domain name" specified
>>in service 'HTTP' for host 'domain name' not defined anywhere!"
>>
>>Thanks
>>
>>-----Original Message-----
>>From: admin at jpk236.com [mailto:admin at jpk236.com]
>>Sent: Monday, July 18, 2005 10:25 AM
>>To: Mohan, Ajit (CFSA)
>>Cc: nagios-users at lists.sourceforge.net
>>Subject: Re: [Nagios-users] Plug-in for https
>>
>>/usr/local/libexec/nagios#>./check_http -S -H your.domain.com
>>
>>
>>For more information, run:
>>
>>/usr/local/libexec/nagios#>./check_http -h
>>
>>
>> - Justin Kulikowski
>> [ http://www.jpk236.com ]
>>
>>Mohan, Ajit (CFSA) wrote:
>>
>>>Is there a plug-in available for monitoring https servers from Nagios
>>
>>?
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>>from IBM. Find simple to follow Roadmaps, straightforward articles,
>>informative Webcasts and more! Get everything you need to get up to
>>speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opÌk
>>_______________________________________________
>>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
>>
>
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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