Monitoring Long process names on Solaris

Jag agrajag at dragaera.net
Tue Mar 16 18:58:07 CET 2004


On Tue, 2004-03-16 at 11:44, Jeffery P. Humes wrote:

> How can I either:
> 1. get the check_procs command to use "/usr/ucb/ps auxww" instead of 
> "/usr/bin/ps"?

A quick peak at the nagios-plugins-1.3.1 tarball shows that the ps
command for check_procs is actually determined by the configure script. 
So, if you wanted to, you could go into the check_procs.c and manually
#define PS_COMMAND after the includes, however it looks like there's
also some #define's for formatting that you'd want to make sure you get
right as well.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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