<HTML>
<HEAD>
<TITLE>Re: [hobbit] clear status for files,ports and procs columns for xymon-4.2.2</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
Clear status is not bad, that means it’s not configured, and sometimes, you don’t need it.<BR>
Indeed, by default nothing is checked because everybody doesn’t want to check oracle process for instance ;-)<BR>
It really depends about your devices.<BR>
<BR>
But if you want to configure files,procs, ports, you have to edit the hobbit-clients.cfg file in $HOBBITHOME/server/etc/ directory.<BR>
<BR>
There is at the begining an help very usefull.<BR>
<BR>
Here an exemple of my own conf for a freebsd box:<BR>
<BR>
HOST=xxxxx.xxx<BR>
     PORT "LOCAL=%(.80|.443)$" STATE=LISTEN min=4 max=7 col=yellow "TEXT=Apache en LISTEN"<BR>
     PORT "LOCAL=%(.22)$" STATE=LISTEN min=5 max=5 col=yellow "TEXT=ssh en LISTEN"<BR>
     PROC httpd state=ESTABLISHED min=0 max=600 color=yellow TRACK=http "TEXT=HTTP actives connexions"<BR>
     PROC ssh state=ESTABLISHED min=0 max=20 color=yellow TRACK=ssh "TEXT=SSH actives connexions "<BR>
     PROC /usr/local/sbin/snmpd 1 1 red<BR>
     PROC mysqld 5 red<BR>
     LOG %/var/log/messages netstat COLOR=yellow<BR>
     LOG %/var/log/messages ciss COLOR=red<BR>
     FILE /bin/sh MD5=032ff0ffb92fc7b7bbe964b2c1aeda8d<BR>
     FILE /bin/csh MD5=baded8472096d90dba5a958f1e9c59ef<BR>
     FILE /usr/local/bin/bash MD5=7a68cb44fd900b43b1cde99278ef0574<BR>
     MEMSWAP 10 20<BR>
     LOAD    1.1 1.5<BR>
<BR>
There is the DEFAULT section at the END of the file.<BR>
It matches all the devices, you can add some generic checks here (like the crond process for instance).<BR>
<BR>
Regards,<BR>
<BR>
<BR>
<BR>
<BR>
On 17/04/09 19:46, "pankaj dorlikar" <pankaj.dorlikar@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:11pt'>hello,<BR>
i am getting clear status for files,ports and procs colums for the host being monitored.<BR>
files-No files checked.clear<BR>
ports-ports not ok;no port checks defined<BR>
procs-process not ok;no process checks defined.<BR>
<BR>
How to configure all this ?why clear staus?<BR>
what to do to change it to green?<BR>
help...<BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>