(Return code of 127 - Resolved) - NRPE timeout or config problem now
Andy Shellam (Mailing Lists)
andy.shellam-lists at mailnetwork.co.uk
Thu Nov 23 09:58:26 CET 2006
The nrpe.cfg has some standard commands you can use, but are commented
out - remove the # to use them.
Here's an example of my check_load command (on an NRPE client server,
testing the server load):
command[check_load]=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,8,6
Then on the Nagios server, command "check_nrpe -H $HOSTADDRESS$ -c
$ARG1$", and for the service - "check_nrpe!check_load"
Andy.
Cardiff - ML wrote:
>> I also notice the plugin was just put there a few minutes before your last
>>
> email. I didn't see it there on your original question, so that's a good
> start >-- that should clear the current error.
>
>> As far as nrpe timeouts go, you probably need to look at the nrpe server
>>
> config (on the machine you're trying to check) and make sure that it's
> running
>
>> and allowing connections from your Nagios server.
>>
>
> Ok i've found in fact reason of 1rst problems : (return code 127) quite on
> the go...
> Rights on distant server were not put so that nrpe can execute itself...
> In fact since i corrected i get the timeout message, and after a restart of
> nagios on main server, in web nagios, i do not get anymore the message
> Return Code 127... So for any newbs like me, that get this message, check
> your rights on nrpe server so that it responds to main server...
>
> Now i have another problem :
> In web interface, nagios tells me now : NRPE: Command 'check_local_load' not
> defined
> I get this message to be the equivalent to the manuel check message :
> CHECK_NRPE: Socket timeout after 10 seconds.
>
> Could anyone post here a correct nrpe server config sample that works, as an
> example...
> I am capable enough to adapt and correct a sample and make it work correctly
> but i admit i often need an example i adapt to my needs...
>
> Yours
>
>
> Tugdual de Lassat
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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
>
> !DSPAM:37,45655ae940411145013844!
>
>
>
--
Andy Shellam
NetServe Support Team
the Mail Network
"an alternative in a standardised world"
p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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