netsaint_statd and check_named_procs

Pablo Saludes Rodil <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Hello all,

I am using the check_named_proc perl script of netsaint_statd to know the
number of processes named "<name-of-process>" which are running in a node.
The problem is that when "name-of-process" has an hyphen in the middle, the
part of the name that comes after the hyphen is not taken into account, and
the number of running processes is not the expected one. 

For example,  if you are looking for 'ns-admin', then 'ns-http' and
'ns-admin' give two processes for the total count.
Anybody knows how to overcome this problem?

Thanks in advance.

Pablo


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.