check_procs returning wrong data
Steve Glasser
sglasser at visp.net
Mon Jun 18 17:40:13 CEST 2012
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 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