Xymon Mailing List Archive search

configure procs ports and files and msg

list Greg L Hubbard
Wed, 4 Feb 2009 08:09:13 -0600
Message-Id: <user-68184bdb789c@xymon.invalid>

Hmmm.  All my Sun machines are SPARCs and the PROC checking works.  You do realize that you must compile a client package for each of those architectures?  You cannot compile one Sun package and then use it on both i386 and SPARC architectures...

Also, what are all those "unknown token" messages about?

GLH 

-----Original Message-----
From: Jose Mª Erquiaga [mailto:user-69aeb1ef0954@xymon.invalid] 
Sent: Wednesday, February 04, 2009 3:39 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] configure procs ports and files and msg

finalii I found that is a problem with Sparc arquitecture client 4.2 works well with SF411 and SF4200 ( i86pc i386) but proc ports check don´t work well for sun4u (sparc ) architecture

......


2009/2/3 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>:
hi again i continue my travel ..
santander.xx.es (as you see below) have two PROC defined plus the default one.
But hobbit displays it  with a clear color....(its a client4.2) i did 
some test debmonitor:/usr/lib/hobbit/server/bin# bbcmd hobbitd_client 
--test
2009-02-03 13:57:47 Using default environment file 
/usr/lib/hobbit/server/etc/hobbitserver.cfg
2009-02-03 13:57:47 Unknown token 'LOG' ignored at line 147
2009-02-03 13:57:47 Unknown token 'PORT' ignored at line 151
2009-02-03 13:57:47 pcre compile '*' failed (offset 0): nothing to 
repeat
2009-02-03 13:57:47 Unknown token 'PORT' ignored at line 174 Hostname 
(.=end, ?=dump, !=reload) []: santander.xx.es Test (cpu, mem, disk, 
proc): proc ps command string:
Process %/usr/lib/autofs/automountd color red: Count=0, min=1, max=-1 
Process cron color red: Count=0, min=1, max=-1 Process 
/usr/sbin/nsr/nsrexecd color red: Count=0, min=1, max=-1 Process cron 
color red: Count=0, min=1, max=-1

seems like eveything is allright.
i cant imagine the problem .....
some idea?

2009/2/3 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>:
hi thanks for the aswer but my  hobbbit-client file is like this

HOST=santander.xx.es
       PROC "%/usr/lib/autofs/automountd" 1 1 red
       PROC cron
HOST=soria.xx.es
       LOG /usr/local/apache2/logs/error_log [error] COLOR=red 
HOST=radiasrv.xx_dom.es
       DISK  /FIXED/C  60 65
HOST=orense.xx.es
       PORT "LOCAL=%([.:]7230$)" STATE=% min=1 max=160 TRACK=eb "TEXT=EB"
HOST=cadiz.xx.es
       DISK  /orarecovery  96 100
       LOAD 8.0 14.0
       PROC oracleORA10G
HOST=barcino.xx_dom.es
       DISK  * 97 100
HOST=sevilla.xx.es
       DISK /ora9dbf 95 100
HOST=lleida.xx.es
       DISK /prog 45 50
DEFAULT
       # These are the built-in defaults.
       UP      1h
       LOAD    5.0 10.0
       DISK    * 90 95
       MEMPHYS 100 101
       MEMSWAP 50 80
       MEMACT  90 97
       PROC /usr/sbin/nsr/nsrexecd
       PORT LOCAL=%([.:]22$) STATE=LISTEN "TEXT=SSH listener" color="yellow"

seems to be something with the hobbit client 4.2.
could it be?
i need to configure some more ?
in my older clients it works .
but in all my hobbit 4.2 clients doesn´t work.
on this 4.2 clients i´m running some ext scripts and it works 
correctly , so there´s nothing to do with ghosts clients.
by the other hand  ports proc msg and files era clear.
they show information but says No files checked or no proc checked etc...
i cant find nothing more.
help please!
good luck!!

2009/2/3 Mogens Busk <user-299afb767d0c@xymon.invalid>:
it is important that you write the rules in revers order:
individual rules first, global rules last in the config file.

have you checked the man page:
http://www.hswn.dk/hobbit/help/manpages/

2009/2/2 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>
hi sorry..
i forgot some informmation
I´ve make it work using the default

DEFAULT
       # These are the built-in defaults.
       UP      1h
       LOAD    5.0 10.0
       DISK    * 90 95
       MEMPHYS 100 101
       MEMSWAP 50 80
       MEMACT  90 97
       PROC /usr/sbin/nsr/nsrexecd
       PORT "LOCAL=%([.:]10042)" state=LISTEN TEXT=WEBMIN for one 
4.2 client  i try to check other proc HOST=santander.xx.es
       PROC "%/usr/lib/autofs/automountd" 1 1 red
       PROC cron
but it is clear and says No process checks defined ...............


2009/2/2 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>:
hello again!
i make it work but not in the hobbit 4.2 clients , they are still clear.
some diference with the configuration using 4.2 clients for proc 
ports etc??
wresling!!

2009/2/2 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>:
hello again
i´ve been configuring the potrs procs etc monitors.
but It doesn´t work.
at hobbit-clients

HOST=santander.xx.es
       PROC "%/usr/lib/autofs/automountd" 1 1 red
       PROC cron
       #PROC /usr/sbin/cron 0 0 COLOR=red HOST=soria.xx.es
       LOG /usr/local/apache2/logs/error_log [error] COLOR=red 
HOST=radiasrv.xx_dom.es
       DISK  /FIXED/C  60 65

HOST=cadiz.xx.es
       DISK  /orarecovery  96 100
       LOAD 8.0 14.0
#HOST=barcino.xx_dom.es
 #       DISK  /FIXED/D  97 100
HOST=barcino.xx_dom.es
       DISK  * 97 100

HOST=sevilla.xx.es
       DISK /ora9dbf 95 100

HOST=lleida.xx.es
       DISK /prog 45 50

DEFAULT
       # These are the built-in defaults.
       UP      1h
       LOAD    5.0 10.0
       DISK    * 90 95
       MEMPHYS 100 101
       MEMSWAP 50 80

user-276f6df13d47@xymon.invalid

#log:/usr/local/apache2/logs/error_log:10240
 [santander.xx.es]
 log:/var/log/messages:10240
 dir:/export/home/hobbit

IO cannot imagun what i swrong.
Some idea?
I have hobbit 4.2 clients and older clients , a mix.
someone could send me an example of configuration?
Please some help!
i´ll be working on it .
regards!


2009/1/29 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>:
THANKS VERY MUCH!!!
ill work on it right now
regards

2009/1/28 Mogens Busk <user-299afb767d0c@xymon.invalid>:
You need to make configuration in 
/hobbit/server/etc/hobbit-client.cfg and 
/hobbit/server/etc/client-local.cfg

You can see how it is done in the demo site:
http://www.hswn.dk/hobbit-cgi/viewconf.sh?clientlocal
http://www.hswn.dk/hobbit-cgi/viewconf.sh?client

2009/1/28 Jose Mª Erquiaga <user-69aeb1ef0954@xymon.invalid>
Hi
I cannot find how to configure that monitors im using hobbit 
, and the status of this monitors is clear.
but if you click on them They show information , for example 
clicking in procs it shows all the process.
but msg dont show anything but the message "

System logs at Wed Jan 28 10:13:06 CET 2009 : No log data 
available

The client did not report any logfile data "

the same with files .

Some idea????
regards!!!

--
mvh mogens busk
user-299afb767d0c@xymon.invalid
--
mvh mogens busk
user-299afb767d0c@xymon.invalid