[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] configure procs ports and files and msg
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] configure procs ports and files and msg
- From: Jose Mª Erquiaga <mosimodo (at) gmail.com>
- Date: Tue, 3 Feb 2009 13:08:33 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uEovw0RlGjbESFgRR7uYVWWr8GIf9u62oAtGaKbP9Qg=; b=cpBUC5ObXBm15k7DZ565KefDzDcLNlfqdqpNIDfEqfj/Uit11CxGlQHZPS4Lhqp1Fz GrbxSo0eMahlkLRbmG4mNtXa1UMdCsr8TdJa7LPKkIb0YCA7JwcMY4vgK5lz1gXcdCFv 1cqHqkGcOHKl/YNzqJeOqQUrfU51t3Gzn1t+Q=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=O2KVaNv9NpbKTxmRUtVbLFlldUSnO59ixYyh0A/3fQbCDTGSaNopX92B4gnn2eFFz/ 267oO8TyhZpqm+GdVZLcx1m7VsuQ7/eag8+GBc/vHDDHii0LgaN6rV4NI0X4VQZ8AKHB jmpt0TqTtWuwc4Cu91dJMu00zicNjLBHigw1U=
- References: <bb4d3cd60901280119h5a4e957dy319de44082a88ea0 (at) mail.gmail.com> <1ebd03650901280238m7a58fe81x8960acb031503d6 (at) mail.gmail.com> <bb4d3cd60901290319n164aa776of49879b8d421f3de (at) mail.gmail.com> <bb4d3cd60902020113j7b9230c2h9b259d785f1d5cba (at) mail.gmail.com> <bb4d3cd60902020353i5d2992fey2e50a86b51aa903f (at) mail.gmail.com> <bb4d3cd60902020415t22afe04fm9954f40716de1887 (at) mail.gmail.com> <1ebd03650902030116s265ec6b2s49f3e6f7ff832279 (at) mail.gmail.com> <bb4d3cd60902030133i2c012ff4qf8bdacf4f837ea1b (at) mail.gmail.com>
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
>>
>