A few questions about larrd and alerts
Hi Henrik
I would like to graph only a few specific colums (namely those related to Hobbit), so I have this in etc/hobbitserver.cfg :
LARRDS="bbgen,bbtest,bbproxy,hobbitd" GRAPHS="bbgen,bbtest,bbproxy,hobbitd"
But the "trends" column shows on every host. Is there a way to disable it ?
Another thing, I think I got some alerts which shouldn't be there. Here's my hobbit-alerts.cfg :
HOST=foo MAIL frederic.mangeant at steria.com SERVICE=* EXSERVICE=cpu,Oracle REPEAT=12h MAIL frederic.mangeant at steria.com SERVICE=cpu DURATION>15m REPEAT=12h MAIL frederic.mangeant at steria.com SERVICE=Oracle REPEAT=1h TIME=W:0800:1900 COLOR=red,purple
I got paged 3 times :
- Hobbit [65660] HQSTERIAOAFOR:Oracle CRITICAL (RED)
- Hobbit [65660] HQSTERIAOAFOR:Oracle CRITICAL (RED)
- Hobbit [65660] HQSTERIAOAFOR:Oracle CRITICAL (RED)
In the "info" column I can see :
Service Recipient 1st Delay Stop after Repeat Time of Day Colors OAP frederic.mangeant at steria.com - - 12h - purple,yellow,red Oracle frederic.mangeant at steria.com - - 1h W:0800:1900 purple,red conn frederic.mangeant at steria.com - - 12h - purple,yellow,red cpu frederic.mangeant at steria.com 15m - 12h - purple,yellow,red disk frederic.mangeant at steria.com - - 12h - purple,yellow,red errpt frederic.mangeant at steria.com - - 12h - purple,yellow,red memory frederic.mangeant at steria.com - - 12h - purple,yellow,red procs frederic.mangeant at steria.com - - 12h - purple,yellow,red
It seems to be coherent with hobbit-alerts.cfg... Do you have any clue ?
Thanks in advance.
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
On Thu, Jun 09, 2005 at 04:50:38PM +0200, Frédéric Mangeant wrote:
I would like to graph only a few specific colums (namely those related to Hobbit), so I have this in etc/hobbitserver.cfg :
LARRDS="bbgen,bbtest,bbproxy,hobbitd" GRAPHS="bbgen,bbtest,bbproxy,hobbitd"
But the "trends" column shows on every host. Is there a way to disable it ?
Add "notrends" on those hosts in the bb-hosts file.
Another thing, I think I got some alerts which shouldn't be there.
Add "--cfid" to the hobbitd_alert command in hobbitlaunch.cfg. Next time you get these alerts, the subject will include a "[cfid:N]" showing which linenumber in the hobbit-alerts.cfg file triggered the alert.
Regards, Henrik
participants (2)
-
frederic.mangeant@steria.com
-
henrik@hswn.dk