Frequency of sending threshold emails

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
ArnoBZH
Posts: 4
Joined: Wed Nov 28, 2012 3:14 am

Frequency of sending threshold emails

Post by ArnoBZH »

Hi,

I would like to configure threshold sending mail on my Cacti (v0.8.8a with plugin thold v0.4.9-3) but i don't understand how it works...
In fact, i want to receive a email when a threshold is trigged. But i receive a email every 5minutes... Anyone know how to configure the plugin to send an e-mail every hour until this threshold is trigged and not every 5 minutes?

You can see my conf here :


[En français]
Bonjour,

J'aimerais configurer l'envoi de mail sur déclenchement de seuil sur mon Cacti (v0.8.8a avec plugin thold v0.4.9-3) mais je ne comprends pas comment ça marche...
En fait, je veux recevoir un mail lorsqu'un seuil est atteint. Mais je reçois un mail toutes les 5minutes... Quelqu'un saurait comment configurer le plugin pour envoyer un mail toutes les heures tant que le seuil est déclenché et non toute les 5minutes ?
capture.PNG
capture.PNG (70.37 KiB) Viewed 2711 times
Cacti v0.8.8a / Plugin Thold v0.4.9-3
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Re: Frequency of sending threshold emails

Post by llow »

I believe this is a bug. Here is a patch I believe fixes this. Just removes some redundant code that I can't figure out why it is there.

Make sure that you have the 'Min Warning Trigger Duration' set to something other than Never (note that updating the template doesn't always properly update already created ones).
Attachments
cacti-thold-fixwarningemails.patch
(1.08 KiB) Downloaded 284 times
llow
Cacti User
Posts: 170
Joined: Fri Oct 05, 2007 5:34 pm

Re: Frequency of sending threshold emails

Post by llow »

Change the re-alert cycle to every hour as well so it re-alerts.
ArnoBZH
Posts: 4
Joined: Wed Nov 28, 2012 3:14 am

Re: Frequency of sending threshold emails

Post by ArnoBZH »

Hello,

I just solved my problem and it seems to be a bug. So i give the solution to everybody has the same problem.
To operate, i must to create a "Notification Lists" and selected it on my thresholds in "Warning Notification List" and "Alert Notification List". If you don't do that, the "Re-Alert Cycle" doesn't work. The only frame "Warning Emails" and "Alert Emails" doesn't work.


[En Français]

Bonjour,

Je viens juste de solutionner mon problème et il semble y avoir un bug. Je donne la solution pour les personnes ayant le même problème.
Pour fonctionner, j'ai dû créer une liste de notification (Notification Lists) et la sélectionner dans mes seuils (thersholds) au niveau de "Warning Notification List" et "Alert Notification List". Si vous ne faites pas cela, le "Re-Alert Cyle" ne fonctionne pas. Les cadres "Warning Emails" et "Alert Emails" ne fonctionne pas seul.
Cacti v0.8.8a / Plugin Thold v0.4.9-3
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests