Xymon Mailing List Archive search

A few questions about larrd and alerts

2 messages in this thread

list Frédéric Mangeant · Thu, 09 Jun 2005 16:50:38 +0200 ·
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 user-b6ea1d850181@xymon.invalid SERVICE=* EXSERVICE=cpu,Oracle
REPEAT=12h
        MAIL user-b6ea1d850181@xymon.invalid SERVICE=cpu DURATION>15m
REPEAT=12h
        MAIL user-b6ea1d850181@xymon.invalid 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 	user-b6ea1d850181@xymon.invalid 	- 	- 	12h 	- 	purple,yellow,red
Oracle 	user-b6ea1d850181@xymon.invalid 	- 	- 	1h 	W:0800:1900 	purple,red
conn 	user-b6ea1d850181@xymon.invalid 	- 	- 	12h 	- 	purple,yellow,red
cpu 	user-b6ea1d850181@xymon.invalid 	15m 	- 	12h 	- 	purple,yellow,red
disk 	user-b6ea1d850181@xymon.invalid 	- 	- 	12h 	- 	purple,yellow,red
errpt 	user-b6ea1d850181@xymon.invalid 	- 	- 	12h 	- 	purple,yellow,red
memory 	user-b6ea1d850181@xymon.invalid 	- 	- 	12h 	- 	purple,yellow,red
procs 	user-b6ea1d850181@xymon.invalid 	- 	- 	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
list Henrik Størner · Thu, 23 Jun 2005 13:42:17 +0200 ·
quoted from Frédéric Mangeant
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