System call sent warnings to stderr
Andreas Unterkircher
unki at netshadow.at
Sun Sep 18 07:26:09 CEST 2005
Do you compiled the nagios-plugins your self or is it a RPM? If first,
take a look into the config.h file
in the nagios-plugin source directory (after you have called the
configure script).
Seach for PS_COMMAND and I guess you will find something like
#define PS_COMMAND "/bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args'"
but "-" in front of the ps options is deprecated (ps outputs a warning
on this, so you get the "system call
sent warnings to stderr" message). Remove the "-" and run make again.
Then check_proc should work.
Cheers
Andreas
Johan Barelds wrote:
>Hi folks,
>
>When i use check_proc on my RHEL4 system it returns always "System call sent
>warnings to stderr" as first line.
>Can someone tell me how to get rid of this message?
>
>Thanks.
>
>
>
>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list