Xymon Mailing List Archive search

alert gifs

5 messages in this thread

list Larry Barber · Fri, 18 Feb 2005 11:24:48 -0500 (EST) ·
Is there anyway to change the amount of time that the 'recentgifs' are
displayed? It would be much more useful in my setup if they could be set
to only show up for the first 1/2 hour or so, and then turn into the
normal gifs.

Thanks,
Larry Barber
list Frédéric Mangeant · Fri, 18 Feb 2005 17:36:18 +0100 ·
Hi
Is there anyway to change the amount of time that the 'recentgifs' are displayed? It would be much more useful in my setup if they could be set to only show up for the first 1/2 hour or so, and then turn into the normal gifs.
I've made a quick & dirty hack to display the recent gifs for the first
hour, instead of 1 day; you will find it attached.

Regards,

-- 

Frédéric Mangeant
Attachments (1)
list Gordon Thiesfeld · Fri, 18 Feb 2005 10:36:22 -0600 ·
Frédéric Mangeant posted this on 2/8:


-----Original Message-----
From: Frédéric Mangeant [mailto:user-b6ea1d850181@xymon.invalid] 
Sent: Tuesday, February 08, 2005 9:23 AM
To: user-ae9b8668bcde@xymon.invalid; user-c0be8273a147@xymon.invalid
Subject: [hobbit] "recent" icons set

Hi Henrik

I'd like you to comment on a modification I made to bbgen, relative to the
"recent" gifs set.
By default, when using with "--recentgifs", a different icon is used if a
page color is less than 24 hours old.

I've modified loaddata.c to use the "recent" gifs set if a page color is
less than 1 hour old; the modification is attached.

Perhaps it would even be possible to include a new option :
- "--recentgifs=1-day" to keep the current behavior
- "--recentgifs=1-hour"
- etc.

Many thanks in advance.

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia Antipolis
Attachments (1)
list Henrik Størner · Fri, 18 Feb 2005 18:00:49 +0100 ·
quoted from Frédéric Mangeant
On Fri, Feb 18, 2005 at 11:24:48AM -0500, user-7a6c75d6cc10@xymon.invalid wrote:
Is there anyway to change the amount of time that the 'recentgifs' are
displayed? It would be much more useful in my setup if they could be set
to only show up for the first 1/2 hour or so, and then turn into the
normal gifs.
Several people have asked for it, so I'm addding this as an option.
You'll run bbgen with "--recentgifs=30m" to have them show up for only
30 minutes.


Henrik
list Anonymous · Fri, 18 Feb 2005 09:55:16 -0800 ·
G'day folks,

   I'm having problems with hobbit alerts...  They're being sent
correctly, but seem to ignore a good portion of whats listed in the
hobbit-alerts.cfg file.   I've included both by hobbit-alerts.cfg and
bb-hosts file, in hopes someone can see what I'm doing wrong.


   Even though I should only recieve alerts for entries on the "Airtyme"
page to user-2249c375a249@xymon.invalid, I still recieve alerts for things on the
QMS page.  Even worst, is that the intended for QMS does NOT get
alerted.

   I've also noticed that I get alerted immediately, even if the server
doesn't respond for only seconds, where I'd rather be notified only if
it's down for 5 minutes or more...


Any ideas?

Cheers,

...Steve...

bb-hosts

page    Airtyme     Airtyme Systems
10.2.0.9  	        michelle.example.com # BBPAGER BBNET BBDISPLAY bbd
ftp pop3
207.23.97.9      external.example.com # ftp pop3 http://www.example.com

page    Cedar        Cedar Learning
10.2.0.34         dns.cedarlearning.com # testip dns
10.2.0.1           astaro.cedarlearning.com # testip
204.244.11.58  www.cedarlearning.com # http://www.cedarlearning.com

page    QMS         Queen Margarets
67.19.210.162  www.qms.bc.ca # ftp http://www.qms.bc.ca/
24.68.160.248   shaw.qms.bc.ca


hobbit-alerts.cfg

PAGE=Airtyme
     MAIL user-2249c375a249@xymon.invalid REPEAT=60 DURATION>5 RECOVERED
                                                                                
PAGE=QMS
     MAIL user-357f20ebefae@xymon.invalid REPEAT=60 DURATION>5 RECOVERED
                                                                                
PAGE=Cedar
     MAIL user-358e1df2910f@xymon.invalid REPEAT=60 DURATION>5 RECOVERED