check_hpasm error <Virus checked>

PO Michel pom at tpg.ch
Fri Jan 4 16:21:04 CET 2008


Hi Gerhard				

I cannot get things to work. I currently have :

nagios ALL=NOPASSWD: /sbin/hpasmcli, /opt/compaq/utils/*, /sbin/hplog, /usr/sbin/hpacucli, /opt/compaq/acucli, /usr/local/nagios/libexec/*

in my /etc/sudoers file.

What can I try more ? I would really like to convince my management that Nagios is the tool that we need but I am little bit afraid of the time you have to spend to configure it :-)


- PO Michel (misterpo)

-----------------------
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7881
					
> Hi Michel,
> 
> > Should I uncomment the commad_prefix option in the nrpe.cfg
> > config file ?
> you would do that, if you want to run _all_ of your commands with sudo,
> which is a crazy thing to do under normal circumstances. Another usage may
> be something like
> command_prefix=PATH="$PATH:/some/special/path/to/nagios"
> 
> > For the time being it is not used and my other NRPE checks
> > (Disk, CPU, Swap) work...
> Then you have absolutely no reason to change that. Adding sudo only to the
> commands which really need it like
> command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm
> and nowhere else is a good solution and doesn't bloat your sudoers file.
> 
> Gerhard
> 
> 
> -------------------------------------------------------------------------
> 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
> 

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