check_procs command
Mark E. Donaldson
markee at bandwidthco.com
Thu Mar 17 04:53:29 CET 2005
_____
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rusty Hall
Sent: Wednesday, March 16, 2005 9:20 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_procs command
If I run the following command I get an error
./check_procs -w 100 -c 150 --metric=PROCS
System call sent warnings to stderr
PROCS WARNING: 75 processes
This is on fedora core 2
####################
I ran into the same problem last night after upgrading to the 1.4 plugins on
a SUSE 9.1 box. The problem was an incorrect syntax for the ps command. The
./configure script creates config.h file. Before you run make, open config.h
and check down around line 690 for:
#define PS_COMMAND "/bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args'"
Remove the "-" in front of the args. Save the file and then run make. That
fixed the problem for me.
########################################################
This message has been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.
postmaster at bandwidthco.com
MailScanner at bandwidthco.com is for your absolute protection.
########################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050316/8a5878d5/attachment.html>
More information about the Users
mailing list