System call sent warnings to stderr

Johan Barelds mailings at good-it.com
Sun Sep 18 10:17:13 CEST 2005


Op zondag 18 september 2005 07:26, schreef u:
> 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).
I installed from RPM (and that's the last time i do that again..:-)

> 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.

Right on the spot.
It works again like a charm.

> Cheers
> Andreas
Thanks Andreas! (or even better: Herzlichen Dank! ..:-))

>
> 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.

-- 
Kind Regards / Met vriendelijke groet,

Johan Barelds		Good-IT!
Tel.+31(0)70-3965230	Strijplaan 320
Mob.+31(0)6-54253750	2285 HZ  Rijswijk(ZH)
j.barelds at good-it.com	http://www.good-it.com


-------------------------------------------------------
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