[Nagios-users] check_procs returning wrong data

2012-06-17 Thread Axel Amigo Arnold
Hello, I am using nagios plugins 1.4.15 and I have a question about the check_procs plugin. If I execute it as *root*: root@localhost[/usr/local/nagios/libexec]# ./check_procs -w 50 -c 100 PROCS CRITICAL: 126 processes Now if I do it as *nagios user*: nagios@localhost[/usr/local/nagios/libexec]#

Re: [Nagios-users] check_procs returning wrong data

2012-06-18 Thread Axel Amigo Arnold
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 Thanks! 2012/6/18 Andreas Ericsson a...@op5.se On 06/17/2012 03:47 PM, Axel Amigo Arnold wrote: Hello, I am using nagios plugins 1.4.15

Re: [Nagios-users] check_procs returning wrong data

2012-06-19 Thread Axel Amigo Arnold
would be like this: command[check_total_procs]=sudo /usr/local/nagios/libexec/check_procs -w 150 -c 200 Hope it helps!! 2012/6/18 Andreas Ericsson a...@op5.se 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