re-alert doesnt work

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

re-alert doesnt work

Post by herjai »

Hi All,

I've set the re-alert cycle of a particular threshold. Then the server is down, when it was down there was ONE alert. The cycle is 5 mins and i set the re-alert to 96 as default, this means after a few hours it should re-alert, and now it's been 2 weeks, still no re-alert. How come?

Herman
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

wrong forum, moving. This is a thold specific question.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

If the host is down, THOLD won't send any alerts for breached thresholds, as it has no way of checking unless the host is up. There is a patch on the THOLD forums that allows for dead host notifications to be sent every hour until the host comes back up.

You should be able to find this patch at cactiusers.org
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

thanks alot, actually i already have the threshold plugin working, but how do i config it to report a continuously down host?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

herjai wrote:thanks alot, actually i already have the threshold plugin working, but how do i config it to report a continuously down host?
Have a look at this thread
http://cactiusers.org/forums/topic2006.html
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

thanks alot.

May i know how should i apply this patch? cacti_thold-0.4.1_deadrep.diff

many many thanks
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

and actually i am windows 2003 server, need another file? or somehow can still work with this file?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Rename /thold/includes/polling.php and replace with the enclosed file
Attachments
polling.zip
(2.73 KiB) Downloaded 112 times
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

hi there, i have replaced this file, and set the re-alert value to 1 on a down host, but it still not sending out alert

many thanks
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

"set the re-alert value to 1 on a down host" ?

This sounds like a function of "MANAGE" ??

The patch I provided means THOLD will re-alert every hour.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

oh i see, so this doesn't relate to the Threshold page "RE-ALERT" setting right? but will just simply realert a down host every hour?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Exactly :) Give it an hour, and see if you get an email like:

".....is still down......"

The Re-Alerting cycle (at the moment) only defines how often a repeat alert will be issued for a breached threshold.

Regds
Last edited by mcutting on Thu Jul 16, 2009 3:43 am, edited 1 time in total.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

:D thanks alot, i will wait patiently lol
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Not a problem - post back here if you need any more help.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

hi...... :cry: , it's been an hour and there is still no alert on that down host :(
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest