check_procs is doubling the answer...?

Jeffrey Westgate <[email protected]> Mon, 21 Dec 2015 16:15:07 +0000
Newsgroups gmane.network.nagios.plugins
Message-ID <A36B14FA9AA67F4E836C0EE59DEA89C4012BB89285__49756.2703247697$1450906847$gmane$org@CM-SAS-MBX-07.sas.arkgov.net>
I'm confused by the different numbers.  Please help - I believe this is misreporting....

When I run it on the 'affected' box:

[root@secirs1<mailto:root@secirs1> plugins]# ./check_procs
PROCS OK: 76 processes


when running from my nagios server:

[root@nagios<mailto:root@nagios>]# /usr/lib64/nagios/plugins/check_procs -m PROCS 170.94.181.3
PROCS WARNING: 194 processes

and the 'warning email' I get:

***** Nagios *****

Notification Type: PROBLEM

Service: HOST-PROCS
Host: secirs1.state.ar.us
Address: 170.94.164.70
State: WARNING

Date/Time: Mon Dec 21 09:33:41 CST 2015

Additional Info:

PROCS WARNING: 152 processes


Yes, it's an older box, Scientific Linux, but we didn't start getting warning until this past week.  so, I believe the error is fairly new.  Load hasn't changed, as box is mostly idle.  Less than 80 processes is the normal state of this machine.

And, the kicker - it only appears to be this box with the 'off' numbers, but we have ... several... similarly built boxes that are reporting much more accurate numbers.

[root@secirs1<mailto:root@secirs1> plugins]# uname -a
Linux secirs1.state.ar.us 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 18:52:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux



--
Jeff Westgate
DIS UNIX System Administration
501-682-5231