[Nagiosplug-devel] check_procs changes for regexp argu matching and pst3 for solaris

Matthias Eble matthias.eble at mailing.kaufland-informationssysteme.com
Fri Feb 29 10:18:06 CET 2008


Ton Voon schrieb:
> Hi!
> 
> I've just committed a patch to check_procs which has a nice --ereg- 
> argument-array option to search the argument array based on a regexp.  

hehe i did sth similar on my local copy, but then I thought searching
for alternatives to parsing ps output would be a better idea but I can't 
see a good way at the moment.

> I'm also wondering if it would be a good idea to include a -f <ps type  
> file> as an input to check_procs. There's two reasons for this:
>    * there could be a separate daemon which writes the ps output into  
> this file on a regular basis, which means less load on a system for  
> invoking of the ps command, especially if there are lots of  
> check_procs invocations
>    * for testing, by creating specific test output for check_procs to  
> parse

yes++. great for testing, although I somehow dislike starting a daemon
for ps output. But that's up to the users.

matthias








More information about the Devel mailing list