check_procs returning wrong data

Andreas Ericsson ae at op5.se
Mon Jun 18 15:30:58 CEST 2012


On 06/18/2012 11:51 AM, Axel Amigo Arnold wrote:
> Hi Andreas, thank you for the response.
> 
> I already have the suid bit activated in the check_procs binary as you can
> see here (I just copied the values of check_icmp)
> -r-sr-sr-x
> 
> 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.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

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