[hobbit] configure procs ports and files and msg

Jose Mª Erquiaga mosimodo at gmail.com
Tue Feb 3 13:08:33 CET 2009


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 <mosimodo at gmail.com>:
> 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 <mob at rcf.dk>:
>> 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 <mosimodo at gmail.com>
>>>
>>> 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 <mosimodo at gmail.com>:
>>> > 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 <mosimodo at gmail.com>:
>>> >> 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
>>> >>
>>> >> and at client-local.cfg
>>> >>
>>> >> #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 <mosimodo at gmail.com>:
>>> >>> THANKS VERY MUCH!!!
>>> >>> ill work on it right now
>>> >>> regards
>>> >>>
>>> >>> 2009/1/28 Mogens Busk <mob at rcf.dk>:
>>> >>>> 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 <mosimodo at gmail.com>
>>> >>>>>
>>> >>>>> 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!!!
>>> >>>>>
>>> >>>>> To unsubscribe from the hobbit list, send an e-mail to
>>> >>>>> hobbit-unsubscribe at hswn.dk
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> --
>>> >>>> mvh mogens busk
>>> >>>> mob at rcf.dk
>>> >>>>
>>> >>>
>>> >>
>>> >
>>>
>>> To unsubscribe from the hobbit list, send an e-mail to
>>> hobbit-unsubscribe at hswn.dk
>>>
>>>
>>
>>
>>
>> --
>> mvh mogens busk
>> mob at rcf.dk
>>
>



More information about the Xymon mailing list