Nagios force host/service check

Miah Wadud Dr (ITCS) W.Miah at uea.ac.uk
Tue Jul 12 12:13:27 CEST 2011


Hello,

Thanks for the response. Below are entries that are made in ssl_access_log:

When I click on "Re-schedule the next check of this service", it creates the following entry:

139.222.121.213 - xca10fju at UEA.AC.UK [12/Jul/2011:11:03:10 +0100] "GET /nagios/cgi-bin/cmd.cgi?cmd_typ=7&host=cn001&service=cpu HTTP/1.1" 200 3143

When I click on the "commit" button after clicking the "force check" tick box, it then creates the following two entries:

139.222.121.213 - - [12/Jul/2011:11:03:14 +0100] "POST /nagios/cgi-bin/cmd.cgi HTTP/1.1" 401 490
139.222.121.213 - xca10fju at UEA.AC.UK [12/Jul/2011:11:03:14 +0100] "POST /nagios/cgi-bin/cmd.cgi HTTP/1.1" 200 1314

It's not clear what the URL is. 

Regards,
Wadud.

>-----Original Message-----
>From: C. Bensend [mailto:benny at bennyvision.com]
>Sent: Thursday, July 07, 2011 5:19 PM
>To: nagios-users at lists.sourceforge.net
>Subject: Re: [Nagios-users] Nagios force host/service check
>
>
>> Does anyone know the HTTP(S)-GET command to force check a host/service? I
>> would like a host to execute the HTTP(S)-GET command to force Nagios to
>> check the status as it is booting up.
>>
>> Any help will be greatly appreciated. Thanks in advance.
>
>Watch your http access log, and execute the same command with a web
>browser.
>
>Take that URL and use wget with the --http-user and --http-password
>options.
>
>Voila!
>
>Benny
>
>
>--
>"You were doing well until everyone died."
>                                    -- "God", Futurama
>
>
>
>------------------------------------------------------------------------------
>All of the data generated in your IT infrastructure is seriously valuable.
>Why? It contains a definitive record of application performance, security
>threats, fraudulent activity, and more. Splunk takes this data and makes
>sense of it. IT sense. And common sense.
>http://p.sf.net/sfu/splunk-d2d-c2
>_______________________________________________
>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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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