hobbit-alerts.cfg REPEAT option
list Shane Presley
Is there a global way to change the REPEAT value? I don't want my alerts to repeat, so I set them manually on each alert line with REPEAT=9999. Thanks Shane
list Wolfgang Wutz
Hello, just try to omit the REPEAT statement. This way the alerts shouldn't get repeated.
▸
-----Original Message-----
From: Shane Presley [mailto:user-f946ba3135e0@xymon.invalid]
Sent: Tuesday, October 31, 2006 1:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-alerts.cfg REPEAT option
Is there a global way to change the REPEAT value? I don't want my
alerts to repeat, so I set them manually on each alert line with
REPEAT=9999.
Thanks
Shane
list Henrik Størner
▸
On Tue, Oct 31, 2006 at 07:27:56AM -0500, Shane Presley wrote:
Is there a global way to change the REPEAT value? I don't want my alerts to repeat, so I set them manually on each alert line with REPEAT=9999.
Set ALERTREPEAT=<some.large.number> in hobbitserver.cfg, then restart Hobbit. Regards, Henrik
list Jason Altrincham Jones
Hi all, I am curious, where are the ack'd alerts stored? How does hobbit know an alert is ack'd, the reason I want to know is so I can generate a list of ack'd alerts with their reasons and durations so I can name and shame the admins who are giving bad reason (i.e. one gave their initials as the reason) and/or acking for a long time and not giving a callID (just a number so we can find it in a database basically). Thanks, Jason.
list Pnixon
The actual file is (on my system): /var/log/hobbit/acknowledge.log
▸
-----Original Message-----
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
Sent: Tuesday, October 31, 2006 9:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] tracking bad users
Hi all,
I am curious, where are the ack'd alerts stored? How does hobbit know an
alert is ack'd, the reason I want to know is so I can generate a list of
ack'd alerts with their reasons and durations so I can name and shame the
admins who are giving bad reason (i.e. one gave their initials as the
reason) and/or acking for a long time and not giving a callID (just a number
so we can find it in a database basically).
Thanks,
Jason.
list Henrik Størner
▸
On Tue, Oct 31, 2006 at 02:45:22PM -0000, Jones, Jason (Altrincham) wrote:
I am curious, where are the ack'd alerts stored?
In RAM.
How does hobbit know an alert is ack'd
The ack is sent to Hobbit in an "ack" message.
▸
the reason I want to know is so I can generate a list of ack'd alerts with their reasons and durations so I can name and shame the admins who are giving bad reason (i.e. one gave their initials as the reason) and/or acking for a long time and not giving a callID (just a number so we can find it in a database basically).
When trying to pull status information from Hobbit, the best place to
start is always with the command
bb 127.0.0.1 "hobbitdboard"
See the bb(1) man-page for details. You'll want something like
bb 127.0.0.1 "hobbitdboard color=red,yellow fields=hostname,testname,acktime,ackmsg" | \
grep -v '|0|$'
(that "grep" is to weed out those statuses that have a null acktime,
meaning they are NOT acknowledged).
Note that the paging/ack system is being re-worked, so the
acknowledgments done on the Critical Systems view will not show up with
the above command. To see those, you must grab the "acklist" field"
instead of the acktime/ackmsg fields.
Regards,
Henrik
list Shane Presley
On 10/31/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
Set ALERTREPEAT=<some.large.number> in hobbitserver.cfg, then restart Hobbit.
Thanks, that worked! Shane