[Nagiosplug-devel] check_procs plugin - option for one more 'w' in the ps command?

Ton Voon ton.voon at altinity.com
Thu Dec 8 22:07:00 CET 2005


On 9 Dec 2005, at 04:43, Peter Norby wrote:

> Any chance you guys can (or already have) stuffed an additional 'w'
> or the option to add additional ps flags into the command used?
> I can't have been the first person to run into this problem,
> where only a single 'w' cuts off the arguments after only
> 80 characters-ish, and processes with long lists of args
> like anything starting with "java" get cut off before you
> actually get to any identifying characteristics.

Check configure options, where you can define the ps command. By  
default, configure will run some ps commands to see which ones match  
various output to get a good choice. Otherwise you can override with  
--with-ps-command.

If you want to help us fix this, we'll need your OS (I'm guessing  
*BSD?), your version of the plugins and your proposed ps command with  
a head -5 of the output.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon






More information about the Devel mailing list