check_hpasm error
PO Michel
pom at tpg.ch
Fri Jan 4 09:17:08 CET 2008
Hi list
I try to use the check_hpasm plugin on the RH 5.0 Linux box running Nagios.
I get the following error : "UNKNOWN - insufficient rights to call sudo /sbin/hpasmcli "
* Content of etc/commands.cfg :
# 'check_hpasm' command definition
define command{
command_name check_hpasm
command_line $USER1$/check_hpasm -v
}
* Content of etc/hostslinux.cfg :
define service {
host_name miysis
use template-services
service_description HP Hardware
check_command check_hpasm
}
* Content of /etc/sudoers :
nagios ALL=NOPASSWD: /sbin/hpasmcli, /opt/compaq/utils/hpasmcli, /sbin/hplog, /usr/sbin/hpacucli, /opt/compaq/acucli
Do you have any hint ?
Many thanks,
- PO Michel (misterpo)
-----------------------
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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