On 06/18/2012 06:30 AM, Andreas Ericsson wrote:
>> The user for this binary is root, and the group is nagios (just as
>> >  check_icmp), but I still can't access the total process list.
>> >  In the command definition, should I make something like this?
>> >  
>> >  command[check_total_procs]=/usr/local/nagios/libexec/sudo check_procs -w
>> >  150 -c 200
>> >  
> That might help. Try and find out.

Shouldn't the command be: 

command[check_total_procs]=sudo /usr/local/nagios/libexec/check_procs -w 150 -c 
200

Cheers,

Steve Glasser | System Administrator | visp.net


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to