check_hpasm error <Virus checked>

Marcus Fleige marcus.fleige at de.rhenus.com
Tue Jan 8 13:39:51 CET 2008


Hi Michel,

PO Michel schrieb am 08.01.2008 12:17 Uhr:
> Don't worry, I am a very disciplined person even if I'm french ;-)

*g* I didn't realize that being french and being disciplined are opposed 
to each other. :-)

> 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.

So if i get you right a direct call of the nagios user doing "sudo 
/usr/local/nagios/libexec/check_hpasm -v" works? What does it output?

Is "command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm" 
still you actual nrpe configuration for the check? If so, do you have an 
explicit entry for /usr/local/nagios/libexec/check_hpasm in your sudoers 
file?

> 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.

Mine is 0640 root:root. Works with that.

Regards,

Marcus Fleige

-------------------------------------------------------------------------
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