Solaris 10 check_procs

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Dec 18 12:54:36 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/12/08 05:01 PM, Brandon Munger wrote:
> Hi again...
> 
> I was able to get nagios-plugins compiled in Solaris 10 with GCC.
> 
> The problem I now have has to do with the check_procs command.
> For every command I type I get:
> 
> Unable to read output
> 
> So I figured it was a problem with the way ps outputs its format and I
> I remembered running into a configure flag that should work.  I reran
> the configure and make with:
> 
> ./configure --prefix=/export/home/bmunger/downloads/nagios 
> --with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime 
> comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n' 
> --with-ps-cols=10 
> --with-ps-varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,procetime,procprog,&pos' 

Which version of Nagios-plugins are you using? In recent version you
shouldn't have tp specify any ps arguments since we now use pst3 which
is part of the package.

Please confirm the plugins version (should be the latest) and remove any
- --with-ps arguments from configure. Make sure to also run the
"make install-root" command.

If you still have problems please send the full debug output of
check_procs (with the -vvv switch).

Thanks

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJSjn86dZ+Kt5BchYRAtVEAJ47zCzMRDdZDWH2z5sk1thkUoy58wCg+MoT
id5Tbu4MDm6anIEkivFMevU=
=WLGI
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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