Cactiusers.org


It is currently Thu May 17, 2012 9:08 am




Post new topic Reply to topic  [ 3 posts ] 
 Thold Plugin Sends Multiple Messages 
Author Message
New User

Joined: Thu Jan 19, 2006 3:35 pm
Posts: 2
Post Thold Plugin Sends Multiple Messages
Greetings,

I just installed the plugin architecture and the Thold plugin yesterday on my box running Cacti 0.8.6h. For some reason, it is sending multiple alerts. The following generated two email alerts:

php /var/www/html/cacti/plugins/thold/check-thold.php /show /debug
Content-type: text/html
X-Powered-By: PHP/4.3.9

01/19/2006 01:39:34 PM - THOLD: Poller[0] Checking Thresholds
Checking Threshold : "WC1 - Trunk to w5505a - 3/1"
Data Source : traffic_out went above threshold of 62501 with 1339529
Checking Threshold : "WC1 - Trunk to w5505a - 3/1"
Data Source : traffic_in is normal with 2333119

I have tried this with SMTP, Sendmail and the PHP Mail function. Each option seems to send multiple alerts. Is there something I am doing wrong here?

Thanks,

CB


Thu Jan 19, 2006 3:47 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: Thold Plugin Sends Multiple Messages
cb250 wrote:
Greetings,

I just installed the plugin architecture and the Thold plugin yesterday on my box running Cacti 0.8.6h. For some reason, it is sending multiple alerts. The following generated two email alerts:

php /var/www/html/cacti/plugins/thold/check-thold.php /show /debug
Content-type: text/html
X-Powered-By: PHP/4.3.9

01/19/2006 01:39:34 PM - THOLD: Poller[0] Checking Thresholds
Checking Threshold : "WC1 - Trunk to w5505a - 3/1"
Data Source : traffic_out went above threshold of 62501 with 1339529
Checking Threshold : "WC1 - Trunk to w5505a - 3/1"
Data Source : traffic_in is normal with 2333119

I have tried this with SMTP, Sendmail and the PHP Mail function. Each option seems to send multiple alerts. Is there something I am doing wrong here?

Thanks,

CB


Do you have a global address set in the settings, and then also have the same address set in each threshold? That is the only real way multiple alerts will be sent.


Thu Jan 19, 2006 3:56 pm
New User

Joined: Thu Jan 19, 2006 3:35 pm
Posts: 2
Post 
That was it. Thanks for pointing out what should have been obvious.

What is considered the most efficient mailing method out of the three options?

Thanks,

CB


Thu Jan 19, 2006 5:36 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: