<div dir="ltr">Are all commands above giving you scoket time out or just some of them?<br><br>Lex<br><br><div class="gmail_quote">On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi <span dir="ltr"><<a href="mailto:joydeep@infoservices.in">joydeep@infoservices.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Alex Dehaini wrote:<br>
<br>
Here ae the commands I'm using<br>
<br>
# nrpe.cfg file<br>
#####################<br>
# Disk space<br>
command[check_space]=/usr/lib/nagios/plugins/check_disk check_disk -w<br>
40% -c 20% -p / -u GB<br>
#Mailq<br>
command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w 10 -c 15 -t 10<br>
#SSH<br>
command[check_SSH]=/usr/lib/nagios/plugins/check_ssh  localhost<br>
#HTTP<br>
command[check_web]=/usr/lib/nagios/plugins/check_http -H localhost  -p<br>
80 -w 2 -c 4<br>
<br>
#IMAPS<br>
/usr/lib/nagios/plugins/check_imap -H localhost  -p 993 -S -w 5 -c 8<br>
<br>
#POP3s<br>
/usr/lib/nagios/plugins/check_pop -H localhost  -p 995  -w 5 -c 8 -t 10 -S<br>
<br>
thanks<br>
<div class="Ih2E3d"><br>
<br>
> socket time out means the plugin timed out after a specific number of<br>
> time. Show use the command you are using?<br>
><br>
> Lex<br>
><br>
> On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi <<a href="mailto:joydeep@infoservices.in">joydeep@infoservices.in</a><br>
</div><div class="Ih2E3d">> <mailto:<a href="mailto:joydeep@infoservices.in">joydeep@infoservices.in</a>>> wrote:<br>
><br>
>     Dear list,<br>
><br>
>     Now I am monitoring some servers with nagios and nrpe.<br>
>     But some times there is an error msg as "critical" and it is<br>
><br>
>     ******  CHECK_NRPE: Socket timeout after 10 seconds. ******<br>
><br>
>     How can I fix this ?<br>
><br>
>     will -t help ?<br>
>     thanks<br>
><br>
>     --<br>
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
>     Joydeep Bakshi, Linux System Admin<br>
>     Kolkatainfoservices Pvt Ltd,<br>
>     23A Royd Street, Kolkata 700016, India<br>
>     Work Phone 91 033 40014784<br>
>     <a href="http://infoservices.in/" target="_blank">http://infoservices.in/</a><br>
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
><br>
><br>
>     -------------------------------------------------------------------------<br>
>     This SF.Net email is sponsored by the Moblin Your Move Developer's<br>
>     challenge<br>
>     Build the coolest Linux based applications with Moblin SDK & win<br>
>     great prizes<br>
>     Grand prize is a trip for two to an Open Source event anywhere in<br>
>     the world<br>
>     <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
>     <<a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a>><br>
>     _______________________________________________<br>
>     Nagios-users mailing list<br>
>     <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
</div>>     <mailto:<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>><br>
<div class="Ih2E3d">>     <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
>     ::: Please include Nagios version, plugin version (-v) and OS when<br>
>     reporting any issue.<br>
>     ::: Messages without supporting info will risk being sent to /dev/null<br>
><br>
><br>
><br>
><br>
> --<br>
> Alex Dehaini<br>
> Developer<br>
</div>> Site - <a href="http://www.alexdehaini.com" target="_blank">www.alexdehaini.com</a> <<a href="http://www.alexdehaini.com" target="_blank">http://www.alexdehaini.com</a>><br>
> Email - <a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a> <mailto:<a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a>><br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="Wj3C7c">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Joydeep Bakshi, Linux System Admin<br>
Kolkatainfoservices Pvt Ltd,<br>
23A Royd Street, Kolkata 700016, India<br>
Work Phone 91 033 40014784<br>
<a href="http://infoservices.in/" target="_blank">http://infoservices.in/</a><br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Alex Dehaini<br>Developer<br>Site - <a href="http://www.alexdehaini.com">www.alexdehaini.com</a><br>Email - <a href="mailto:alexdehaini@gmail.com">alexdehaini@gmail.com</a><br>

</div>