Your command line example uses a different IP address from the IP
address in the notification email.
170.94.181.3
vs
170.94.164.70
On 12/21/2015 11:15 AM, Jeffrey Westgate wrote:
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