Xymon Mailing List Archive search

how to disable msgs clear status?

3 messages in this thread

list Flyzone Micky · Fri, 29 Jun 2007 08:48:20 -0500 ·
Hi! I have written a new messages check, i think is better from the default that came with hobbit, cause I can use regexp to define block of line in logfile and use another regexp to check the status of the message, so all the block of lines is define by that rule.

Problem: I’m using the same column name ‘msgs’ and the hobbit overwrite it with a “clear status” (no log data available).
I haven’t set any “LOG” file in the localclient.cfg or hobbit-clients.cfg files, and I have also tried with the "no clear" option:
CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local --no-clear-msgs
Or also in the server hobbitlaunch.cfg.
But the same problem persist: status is overwrite by the hobbit.

Someone can help me?
Thanks

P.S: my new script is on deadcat website.

-- 
We've Got Your Name at http://www.mail.com!
Get a FREE E-mail Account Today - Choose From 100+ Domains
list Greg L Hubbard · Fri, 29 Jun 2007 16:52:01 -0500 ·
You know, if you rewrite something that is standard in Hobbit, you
should not be surprised if you have to invent your own column name to go
with it.  How about "msgs2"? 

GLH
quoted from Flyzone Micky
-----Original Message-----
From: Flyzone Micky [mailto:user-4df7b21ff8e1@xymon.invalid] 
Sent: Friday, June 29, 2007 8:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] how to disable msgs clear status?

Hi! I have written a new messages check, i think is better from the
default that came with hobbit, cause I can use regexp to define block of
line in logfile and use another regexp to check the status of the
message, so all the block of lines is define by that rule.

Problem: I'm using the same column name 'msgs' and the hobbit overwrite
it with a "clear status" (no log data available).
I haven't set any "LOG" file in the localclient.cfg or
hobbit-clients.cfg files, and I have also tried with the "no clear"
option:
CMD $HOBBITCLIENTHOME/bin/hobbitclient.sh --local --no-clear-msgs Or
also in the server hobbitlaunch.cfg.
But the same problem persist: status is overwrite by the hobbit.

Someone can help me?
Thanks

P.S: my new script is on deadcat website.

--
We've Got Your Name at http://www.mail.com!
Get a FREE E-mail Account Today - Choose From 100+ Domains
list Henrik Størner · Sat, 30 Jun 2007 12:04:33 +0200 ·
Use 
   NOCOLUMNS:msgs
in bb-hosts for each host.


Henrik