What this message means?
Nathan Oyler
noyler at khimetrics.com
Thu Jun 9 16:53:38 CEST 2005
I have this problem on my one and only FC2 machine.
I researched the trail and haven't had time to really address it, google
gives this information
http://www.nagiosexchange.org/nagiosplug-devel.31.0.html?&tx_maillisttof
aq_pi1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=6153
>From the FAQ of procps:
'Why does "ps -aux" complain about a bogus '-'?
'According to the POSIX and UNIX standards, the above
command asks to display all processes with a TTY
(generally the commands users are running) plus all
processes owned by a user named "x". If that user
doesn't exist, then ps will assume you really meant "ps
aux". The warning is given to gently break you of a habit
that will cause you trouble if a user named "x" were
created.'
Thus the syntax of ps must be corrected. We should get
rid of the "-" on "/bin/ps -axwo..." In fact, if I change
PS_COMMAND manually on config.h the plugin works as
expected:
[root <at> nagios plugins]# ./check_procs
PROCS OK: 470 processes
________________________________
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Fabiano
Martins
Sent: Thursday, June 09, 2005 6:07 AM
To: Nagios Users List
Subject: [Nagios-users] What this message means?
Hi...
I would like to know what the following message means...
"System call sent warnings to stderr"
This occurs when I'm trying to monitor Total Process on a remote host
using NRPE.
To test, I'm typing the command from the Console of the Nagios Server.
This message is the that I receive on Nagios screen.
Thanks a lot.
Fabiano Martins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050609/b2dd6b17/attachment.html>
More information about the Users
mailing list