check_procs is doubling the answer...?

Jeffrey Westgate Jeffrey.Westgate at arkansas.gov
Mon Dec 21 17:15:07 CET 2015


I'm confused by the different numbers.  Please help - I believe this is misreporting....

When I run it on the 'affected' box:

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


when running from my nagios server:

[root at nagios<mailto:root at 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 at secirs1<mailto:root at 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




More information about the Help mailing list