Xymon Mailing List Archive search

Problems with hobbit-clients.cfg

list Allan Marillier
Fri, 9 Sep 2005 11:30:45 -0400
Message-Id: <user-e600878c43bc@xymon.invalid>

I have a number of servers with customized client settings in hobbit-clients.cfg, mostly working well, but a few annoyances on checking for some processes. I keep getting red on all of Apache, tnslsn and jdk. I don't want to match the full output from ps if I can avoid it - or hobbit will go red any time somebody updates a version or the path changes. I could match a little better if I changed my ps from default "ps ax" to "ps -elf", but I like it better when the ps list is a little more compact, though the output from the web page looks like it is from ps -ef, not ps -ax 
I also have two tnslsnr processes running, but only the tnslsn one matches, the other, tnslsnr does not. I have tried replacing Apache with "
/ad02/ddanaiora/iAS/Apache" as well as \/ad02\/ddanaiora\/iAS\/Apache and still no success. Any suggestions please?

ps both on my hobbit web view and ps -ef at a shell prompt show (among many other processes):
applmgr   7658     1  0 08:09 ?        00:00:00 /ad02/ddanaiora/iAS/Apache/Apach
applmgr   7663  7658  0 08:09 ?        00:00:00 /ad02/ddanaiora/iAS/Apache/Apach
applmgr   7664  7658  0 08:09 ?        00:00:02 /ad02/ddanaiora/iAS/Apache/Apach
...
applmgr   7665  7664  0 08:09 ?        00:00:01 /usr/java/jdk1.3.1_03/jre/bin/i3
applmgr   7666  7664  0 08:09 ?        00:00:00 /usr/java/jdk1.3.1_03/jre/bin/i3
applmgr   7667  7664  0 08:09 ?        00:00:00 /usr/java/jdk1.3.1_03/jre/bin/i3
...
oramgr    8077     1  0 08:08 ?        00:00:02 /ad01/ddanaidb/9.2.0/bin/tnslsnr
applmgr   8158     1  0 08:08 ?        00:00:00 /ad02/ddanaiora/8.0.6/bin/tnslsn

From hobbit-clients.cfg:
HOST=testserver.dana.com
        PROC Apache 1
        PROC tnslsn 2
        PROC f60srvm 1
        PROC jdk 1
        PROC lpd 1
        PROC Xvfb 1
        PROC twm 1