CHECK_NRPE: Socket timeout after 10 seconds.

Alex Dehaini alexdehaini at gmail.com
Tue Sep 2 15:35:44 CEST 2008


Dude,

I am assisting with nagios not your firewall. Read your firewall docs very
well. Remember to always read the documentation carefully before requesting
for assistance that are already in the docs.

If you want someone to assist you professionally, then you have to pay for
their time.

Lex

On Tue, Sep 2, 2008 at 1:24 PM, J. Bakshi <joydeep at infoservices.in> wrote:

> Alex Dehaini wrote:
> > temporarily all access from nagios server to access these servers
>
> Did it and no  CHECK_NRPE: Socket timeout after 10 seconds.
> That means some thing in firewall ?
> But then why it blocking some and not all nrpe commands ?
> Pleaseeeee  enlighten me what else should I add in firewall to resolve
> this problem ?
> thanks
> >
> > On Tue, Sep 2, 2008 at 1:14 PM, J. Bakshi <joydeep at infoservices.in
> > <mailto:joydeep at infoservices.in>> wrote:
> >
> >     Alex Dehaini wrote:
> >     > once you login with ssh and run them at the command line that is
> >     fine.
> >     > The issue now is nagios times out when connecting to these servers.
> >     > Any firewalls?
> >
> >     Yes I have firewall since these are production server but I have
> rules
> >     for nagios too
> >
> >     ## NRPE port ####
> >     iptables -A INPUT -i $IFACE -p tcp -m tcp --dport 5666 -j ACCEPT
> >
> >     thanks for your reply
> >
> >     >
> >     > Lex
> >     >
> >     > On Tue, Sep 2, 2008 at 12:48 PM, J. Bakshi
> >     <joydeep at infoservices.in <mailto:joydeep at infoservices.in>
> >     > <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>> wrote:
> >     >
> >     >     Alex Dehaini wrote:
> >     >     > Run the commands interactively and see if you get socket
> >     errors? You
> >     >     > will have socket errors once you can't connect to the
> machine.
> >     >     >
> >     >
> >     >     I have already run the command at the remote server through
> (SSH
> >     >     login)
> >     >     And all the commands are running quite normal.
> >     >
> >     >     I am sorry but how can I run command *interactively* ?
> >     >     kindly enlighten me.
> >     >     thanks
> >     >     > Lex
> >     >     >
> >     >     > On Tue, Sep 2, 2008 at 12:27 PM, J. Bakshi
> >     >     <joydeep at infoservices.in <mailto:joydeep at infoservices.in>
> >     <mailto:joydeep at infoservices.in <mailto:joydeep at infoservices.in>>
> >     >     > <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>> wrote:
> >     >     >
> >     >     >     Alex Dehaini wrote:
> >     >     >     > Are all commands above giving you scoket time out or
> >     just some
> >     >     >     of them?
> >     >     >
> >     >     >     At a time some of them are giving this error and next
> >     time ,
> >     >     rest
> >     >     >     of the
> >     >     >     commands generates the error but the others becomes
> normal
> >     >     from its
> >     >     >     previous state
> >     >     >
> >     >     >
> >     >     >     >
> >     >     >     > Lex
> >     >     >     >
> >     >     >     > On Tue, Sep 2, 2008 at 12:20 PM, J. Bakshi
> >     >     >     <joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in> <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in> <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>
> >     >     >     > <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>
> >     >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>>> wrote:
> >     >     >     >
> >     >     >     >     Alex Dehaini wrote:
> >     >     >     >
> >     >     >     >     Here ae the commands I'm using
> >     >     >     >
> >     >     >     >     # nrpe.cfg file
> >     >     >     >     #####################
> >     >     >     >     # Disk space
> >     >     >     >
> >     command[check_space]=/usr/lib/nagios/plugins/check_disk
> >     >     >     check_disk -w
> >     >     >     >     40% -c 20% -p / -u GB
> >     >     >     >     #Mailq
> >     >     >     >
> >     >     command[check_mailq]=/usr/lib/nagios/plugins/check_mailq -w
> >     >     >     10 -c
> >     >     >     >     15 -t 10
> >     >     >     >     #SSH
> >     >     >     >
> command[check_SSH]=/usr/lib/nagios/plugins/check_ssh
> >     >      localhost
> >     >     >     >     #HTTP
> >     >     >     >
> >     command[check_web]=/usr/lib/nagios/plugins/check_http -H
> >     >     >     localhost  -p
> >     >     >     >     80 -w 2 -c 4
> >     >     >     >
> >     >     >     >     #IMAPS
> >     >     >     >     /usr/lib/nagios/plugins/check_imap -H localhost
> >      -p 993 -S
> >     >     >     -w 5 -c 8
> >     >     >     >
> >     >     >     >     #POP3s
> >     >     >     >     /usr/lib/nagios/plugins/check_pop -H localhost
> >      -p 995
> >     >      -w 5
> >     >     >     -c 8
> >     >     >     >     -t 10 -S
> >     >     >     >
> >     >     >     >     thanks
> >     >     >     >
> >     >     >     >
> >     >     >     >     > socket time out means the plugin timed out after
> a
> >     >     specific
> >     >     >     >     number of
> >     >     >     >     > time. Show use the command you are using?
> >     >     >     >     >
> >     >     >     >     > Lex
> >     >     >     >     >
> >     >     >     >     > On Tue, Sep 2, 2008 at 11:59 AM, J. Bakshi
> >     >     >     >     <joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>> <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>
> >     >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>> <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>>
> >     >     >     >     > <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>
> >     >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>
> >     >     >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>
> >     >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>
> >     >     <mailto:joydeep at infoservices.in
> >     <mailto:joydeep at infoservices.in>>>>>> wrote:
> >     >     >     >     >
> >     >     >     >     >     Dear list,
> >     >     >     >     >
> >     >     >     >     >     Now I am monitoring some servers with
> >     nagios and
> >     >     nrpe.
> >     >     >     >     >     But some times there is an error msg as
> >     >     "critical" and
> >     >     >     it is
> >     >     >     >     >
> >     >     >     >     >     ******  CHECK_NRPE: Socket timeout after
> >     10 seconds.
> >     >     >     ******
> >     >     >     >     >
> >     >     >     >     >     How can I fix this ?
> >     >     >     >     >
> >     >     >     >     >     will -t help ?
> >     >     >     >     >     thanks
> >     >     >     >     >
> >     >     >     >     >     --
> >     >     >     >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     >     >     >     Joydeep Bakshi, Linux System Admin
> >     >     >     >     >     Kolkatainfoservices Pvt Ltd,
> >     >     >     >     >     23A Royd Street, Kolkata 700016, India
> >     >     >     >     >     Work Phone 91 033 40014784
> >     >     >     >     >     http://infoservices.in/
> >     >     >     >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     >     >     >
> >     >     >     >     >
> >     >     >     >     >
> >     >     >     >
> >     >     >
> >     >
> >
> -------------------------------------------------------------------------
> >     >     >     >     >     This SF.Net email is sponsored by the Moblin
> >     >     Your Move
> >     >     >     >     Developer's
> >     >     >     >     >     challenge
> >     >     >     >     >     Build the coolest Linux based applications
> >     with
> >     >     Moblin
> >     >     >     SDK & win
> >     >     >     >     >     great prizes
> >     >     >     >     >     Grand prize is a trip for two to an Open
> >     Source
> >     >     event
> >     >     >     >     anywhere in
> >     >     >     >     >     the world
> >     >     >     >     >
> >     >     >
> >     http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >     >     >
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>
> >     >     >     >
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >     >     >
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>>
> >     >     >     >     >
> >     >     >
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >     >     >
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>
> >     >     >     >
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>
> >     >     >
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >     >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>>>>>
> >     >     >     >     >
> >     _______________________________________________
> >     >     >     >     >     Nagios-users mailing list
> >     >     >     >     >     Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>
> >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>>
> >     >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>
> >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>>>
> >     >     >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>
> >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>>
> >     >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>>
> >     >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto:Nagios-users at lists.sourceforge.net>
> >     >     <mailto:Nagios-users at lists.sourceforge.net
> >     <mailto: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
> >     >     >     >     >
> >     >     >     >     >
> >     >     >     >     >
> >     >     >     >     >
> >     >     >     >     > --
> >     >     >     >     > Alex Dehaini
> >     >     >     >     > Developer
> >     >     >     >     > Site - www.alexdehaini.com
> >     <http://www.alexdehaini.com>
> >     >     <http://www.alexdehaini.com> <http://www.alexdehaini.com>
> >     >     >     <http://www.alexdehaini.com>
> >     >     >     >     <http://www.alexdehaini.com>
> >     >     >     >     > Email - alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>
> >     >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>>> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>
> >     >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>>>>
> >     >     >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>>
> >     >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>>>>
> >     >     >     >
> >     >     >     >
> >     >     >     >     --
> >     >     >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     >     >     Joydeep Bakshi, Linux System Admin
> >     >     >     >     Kolkatainfoservices Pvt Ltd,
> >     >     >     >     23A Royd Street, Kolkata 700016, India
> >     >     >     >     Work Phone 91 033 40014784
> >     >     >     >     http://infoservices.in/
> >     >     >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >     >
> >     >     >     > --
> >     >     >     > Alex Dehaini
> >     >     >     > Developer
> >     >     >     > Site - www.alexdehaini.com
> >     <http://www.alexdehaini.com> <http://www.alexdehaini.com>
> >     >     <http://www.alexdehaini.com>
> >     >     >     <http://www.alexdehaini.com>
> >     >     >     > Email - alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>>
> >     >     >     <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>>>
> >     >     >
> >     >     >
> >     >     >     --
> >     >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     >     Joydeep Bakshi, Linux System Admin
> >     >     >     Kolkatainfoservices Pvt Ltd,
> >     >     >     23A Royd Street, Kolkata 700016, India
> >     >     >     Work Phone 91 033 40014784
> >     >     >     http://infoservices.in/
> >     >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     >
> >     >     >
> >     >     >
> >     >     >
> >     >     > --
> >     >     > Alex Dehaini
> >     >     > Developer
> >     >     > Site - www.alexdehaini.com <http://www.alexdehaini.com>
> >     <http://www.alexdehaini.com>
> >     >     <http://www.alexdehaini.com>
> >     >     > Email - alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com> <mailto:alexdehaini at gmail.com
> >     <mailto:alexdehaini at gmail.com>>
> >     >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>>
> >     >
> >     >
> >     >     --
> >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >     Joydeep Bakshi, Linux System Admin
> >     >     Kolkatainfoservices Pvt Ltd,
> >     >     23A Royd Street, Kolkata 700016, India
> >     >     Work Phone 91 033 40014784
> >     >     http://infoservices.in/
> >     >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     >
> >     >
> >     >
> >     >
> >     > --
> >     > Alex Dehaini
> >     > Developer
> >     > Site - www.alexdehaini.com <http://www.alexdehaini.com>
> >     <http://www.alexdehaini.com>
> >     > Email - alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
> >     <mailto:alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>>
> >
> >
> >     --
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >     Joydeep Bakshi, Linux System Admin
> >     Kolkatainfoservices Pvt Ltd,
> >     23A Royd Street, Kolkata 700016, India
> >     Work Phone 91 033 40014784
> >     http://infoservices.in/
> >     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> >
> >
> > --
> > Alex Dehaini
> > Developer
> > Site - www.alexdehaini.com <http://www.alexdehaini.com>
> > Email - alexdehaini at gmail.com <mailto:alexdehaini at gmail.com>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Joydeep Bakshi, Linux System Admin
> Kolkatainfoservices Pvt Ltd,
> 23A Royd Street, Kolkata 700016, India
> Work Phone 91 033 40014784
> http://infoservices.in/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>


-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - alexdehaini at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080902/6ebaf5d2/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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