check_hpasm error <Virus checked>
Gerhard Lausser
Gerhard.Lausser at consol.de
Tue Jan 8 13:47:16 CET 2008
Hi Michel,
did you restart NRPE with debug=1 ?
Any interesting debug output in /var/log/messages?
Please find the pid of the NRPE daemon on host miysis
ps -ef | grep nrpe
Then, trace the process with "strace -f -p <the_pid_you_found>
-etrace=execve"
On the Nagios server, execute the "check_nrpe -t 60 -H miysis -c
check_hpasm"
There should be some output from the strace command like
[pid 10853] execve("/bin/sh", [umovestr: Input/output error
0xf7f799c8f7f799d0, "/lfs/opt/nagios/nrpe/locallibexe"...], [/* 48 vars */])
= 0
[ Process PID=10853 runs in 64 bit mode. ]
[pid 10853] execve("/lfs/opt/nagios/nrpe/locallibexec/check_logfiles",
["/lfs/opt/nagios/nrpe/locallibexe"..., "-f"], [/* 60 vars */]) = 0
[ Process PID=10853 runs in 32 bit mode. ]
Please post your output here.
Gerhard
> -----Ursprüngliche Nachricht-----
> Von: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] Im
> Auftrag von PO Michel
> Gesendet: Dienstag, 8. Januar 2008 12:18
> An: nagios-users at lists.sourceforge.net; pom at tpg.ch
> Betreff: Re: [Nagios-users] check_hpasm error <Virus checked>
>
> Hi Marcus
>
> Don't worry, I am a very disciplined person even if I'm french ;-)
>
> So I have tried to logout and login again (as nagios of
> course) and the result of the command "check_nrpe -t 60 -H
> miysis -c check_hpasm" still is "NRPE: Unable to read
> output". I have tried to run this command as root and the
> result is the same.
>
> I guess there really is a problem with this /etc/sudoers
> file. Access right is 440 on this file, which seems to be the default.
>
> I will try to recreate it from sratch and keep you posted.
>
> Many thanks for your kind support.
>
>
> - PO Michel (misterpo)
>
> -----------------------
> This thread is located in the archive at this URL:
> http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maill
> isttofaq_pi1[showUid]=8026
>
>
> --------------------------------------------------------------
> -----------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about
> anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
> et/marketplace
> _______________________________________________
> 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
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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