[Nagiosplug-help] Nagios Alert

Kaushal Shriyan kaushalshriyan at gmail.com
Mon Sep 8 14:57:46 CEST 2008


On Mon, Sep 8, 2008 at 6:14 PM, Andreas Ericsson <ae at op5.se> wrote:

> Kaushal Shriyan wrote:
>
>> Hi,
>>
>> I need to have a nagios  alert whenever the url http://example.com:7501is
>> not reachable from the below IPs
>>
>> 192.168.0.1
>> 192.168.0.2
>> 192.168.0.3
>>
>>
> You really don't need to tell us how you're configuring Nagios. In
> fact, doing so can prove to be a security risk as you're inevitably
> giving up information about your network to a very public list.
>
> Since you didn't ask any questions, I'll just assume you sent that
> email without actually thinking through what it is you want. Since
> that's the case, I won't scold you for not reading the documentation
> before sending emails to this list either.
>
> However, it might well be that the most profitable hour you spend
> this year will be used to read all of the following document once:
> http://catb.org/~esr/faqs/smart-questions.html<http://catb.org/%7Eesr/faqs/smart-questions.html>
>
> Thank you for not wasting my time, or the time of other list
> participants.
>
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
>

Hi Andreas

I have searched the Internet, and they have suggested to use check_http.

sudo -u nagios /usr/nagios/libexec/check_http -I 192.168.0.1 -u
http://example.com/ -p 7501 -w 10 -c 5
CRITICAL - Socket timeout after 10 seconds
I get the above error.

Am i missing something

Thanks and Regards

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080908/a9f6b4ea/attachment.html>


More information about the Help mailing list