repost: nagios-plugins on Solaris 9 --with-ps-command

Andy Harrison aharrison at gmail.com
Thu Nov 30 19:34:20 CET 2006


Could anyone please help me with the proper syntax for the configure line?

No matter what I use, during the configure process I get:

checking for ps... /usr/bin/ps
checking for ps syntax... using nagios-plugins internal ps for solaris

The pst3 command does not work for me.  check_procs is broken anyway,
so it just hangs until timeout when pst3 fails.

When I run pst3 manually as root, I get...

# /usr/local/nagios/libexec/pst3
/usr/local/nagios/libexec/pst3: /dev/ksyms is not a 32-bit kernel namelist
pst3: Failed to open kernel memory: Error 0

I figured that --with-ps-command=/usr/ucb/ps in my configure line
would do the trick, but it always picks up /usr/bin/ps instead.

This box is a sunfire v440 sparc running Solaris 9 with gcc-3.4.5
installed and I'm compiling from the most recent nagios-plugins-1.4.5
source tarball.

Any suggestions appreciated.  Thanks!

--
Andy Harrison

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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