Emails not sent Threshold!
Moderators: Developers, Moderators
Emails not sent Threshold!
Hi!
I am running cacti 0.87g with Plugin Arch 2.8 and installed plugins: thold v0.42 and settings 0.5.
I want to send an email alert when a threshold is triggered. Thing is this does not work. When I run Email Test it works. The threshold appers as triggered in the Thresholds Menu.
In Cacti Log this is what I get:
12/15/2010 03:00:05 PM - THOLD: Threshold Breached ID: 1 DataTemplate: SNMP - Generic OID Template DataSource: snmp_oid Type: High/Low Enabled: on Current: 216 High: 226 Low: 223 Trigger: 5 Minutes SentTo:
There is no SentTo address!!!
In Mail/DNS tab I have the settings:
Test Email: the destination address
Mail Services: PHP MAIL
SMTP Hostname; localhost
SMTP Port: 25
Primary DNS: IP Primary DNS
Can someone help to debug this???
Thanks
I am running cacti 0.87g with Plugin Arch 2.8 and installed plugins: thold v0.42 and settings 0.5.
I want to send an email alert when a threshold is triggered. Thing is this does not work. When I run Email Test it works. The threshold appers as triggered in the Thresholds Menu.
In Cacti Log this is what I get:
12/15/2010 03:00:05 PM - THOLD: Threshold Breached ID: 1 DataTemplate: SNMP - Generic OID Template DataSource: snmp_oid Type: High/Low Enabled: on Current: 216 High: 226 Low: 223 Trigger: 5 Minutes SentTo:
There is no SentTo address!!!
In Mail/DNS tab I have the settings:
Test Email: the destination address
Mail Services: PHP MAIL
SMTP Hostname; localhost
SMTP Port: 25
Primary DNS: IP Primary DNS
Can someone help to debug this???
Thanks
Re: Emails not sent Threshold!
Can someone help on setting this up???
Re: Emails not sent Threshold!
Did you set an address to send it to in the threshold?
Re: Emails not sent Threshold!
Hello - I have been pulling my hair out trying to get Threshold emails to work.
I am running Centos 5.5 with cacti 0.87g with Plugin Arch 2.8 and installed plugins: thold v0.43 and settings 0.5. I can successfully send test emails. However, email threshold alerts do not work.
The strange thing is that if I leave both the 'notify accounts' email AND 'extra alert email' accounts boxes empty, the thresholds will trigger and the Cacti log file will post correct entries '01/07/2011 12:11:00 PM - THOLD: Threshold Breached ID.......'
However, when I enter a 'notify account' and/or extra alert email address, there is no entry in the Cacti log and alert and thresholds no longer trigger.
There is one other thing - I do get an email when a dead host comes back up, but not when it goes down.
Can someone help? Thanks in advance.
I am running Centos 5.5 with cacti 0.87g with Plugin Arch 2.8 and installed plugins: thold v0.43 and settings 0.5. I can successfully send test emails. However, email threshold alerts do not work.
The strange thing is that if I leave both the 'notify accounts' email AND 'extra alert email' accounts boxes empty, the thresholds will trigger and the Cacti log file will post correct entries '01/07/2011 12:11:00 PM - THOLD: Threshold Breached ID.......'
However, when I enter a 'notify account' and/or extra alert email address, there is no entry in the Cacti log and alert and thresholds no longer trigger.
There is one other thing - I do get an email when a dead host comes back up, but not when it goes down.
Can someone help? Thanks in advance.
Re: Emails not sent Threshold!
I have the same exact issues. Anyone find a fix for this yet?
Re: Emails not sent Threshold!
Бляяяяяя такая же проблема.
Mmmm I have the same problem. Anybody? how can I solve this problem?
Mmmm I have the same problem. Anybody? how can I solve this problem?
Re: Emails not sent Threshold!
i make test , it a issue ,because when host go down
it send email whit host go up,and only receive emails whit go up , end never go down
i fix this in my post : http://forums.cacti.net/viewtopic.php?f=17&t=36235
Whit the emails for Thresholds
for each Thresholds you have to set the emails in the box whit Alert E-Mail,
for the moment i don't change the code , to accept emails configured in the setting
i make some test ,but i don't figure very well whit the settings for re-alerts
i don't make very much tests , but when thold set to Trigger i receive the email
also whit the graph
i have this extension for php
it send email whit host go up,and only receive emails whit go up , end never go down
i fix this in my post : http://forums.cacti.net/viewtopic.php?f=17&t=36235
Whit the emails for Thresholds
for each Thresholds you have to set the emails in the box whit Alert E-Mail,
for the moment i don't change the code , to accept emails configured in the setting
i make some test ,but i don't figure very well whit the settings for re-alerts
i don't make very much tests , but when thold set to Trigger i receive the email
also whit the graph
i have this extension for php
PHP Extensions - Core, date, ereg, libxml, pcre, sqlite3, dom, fileinfo, filter, hash, SPL, json, mcrypt, session, bz2, posix, Reflection, standard, SimpleXML, sockets, imap, sysvmsg, sysvsem, sysvshm, xml, xmlreader, xmlwriter, apache2handler, bcmath, openssl, calendar, ctype, curl, dba, dbase, enchant, exif, ftp, gd, gettext, gmp, iconv, ldap, mbstring, mysql, mysqli, zlib, PDO, pdo_mysql, pdo_sqlite, pspell, rrd, shmop, snmp, soap, SQLite, tokenizer, wddx, xsl, zip, Phar
Cacti - 0.8.7h
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
- (tools - v0.3) (Thold - v0.4.6) (Ntop - v0.2) (Discovery - v1.2a) (Monitor - v1.2)
Re: Emails not sent Threshold!
I'm also having this problem. Did anyone find a solution?
Re: Emails not sent Threshold!
It no issue, the solution it is in your config
first step it to check
the test email work
under settings u find Mail / DNS , after make the configuration check if the
if this one work , check
under settings also u find Thresholds
where u have email options
if the settings don't look like this one try
latest thold from svn
or the one whit few extra options
from hear http://forums.cacti.net/viewtopic.php?f=17&t=36235
good luck
first step it to check
the test email work
under settings u find Mail / DNS , after make the configuration check if the
workSend a Test Email
if this one work , check
under settings also u find Thresholds
where u have email options
if the settings don't look like this one try
latest thold from svn
or the one whit few extra options
from hear http://forums.cacti.net/viewtopic.php?f=17&t=36235
good luck
- Attachments
-
- thold email settings
- thold email settings.JPG (188.62 KiB) Viewed 7236 times
Cacti - 0.8.7h
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
Plugin Architecture - 3.0
Poller Type - SPINE 0.8.7g
Server Info - Linux 2.6.35.10 - Slackware 13.1
Web Server - Apache/2.2.17 (Unix) DAV/2 PHP 5.3.5
MySQL - 5.1.53 ;RRDTool - 1.4.5 ;SNMP - 5.6.1
Plugins
- (tools - v0.3) (Thold - v0.4.6) (Ntop - v0.2) (Discovery - v1.2a) (Monitor - v1.2)
Re: Emails not sent Threshold!
I tried all the above mentioned steps and I can't get thresholds to trigger. If I downgrad all the way back to .4.2 alrets e-mails are sent. This is driving me crazy any help would be appericaited.
Thanks,
cacti 0.87g
Thold .4.4 (41)
PIA 2.9
settings .7
Thanks,
cacti 0.87g
Thold .4.4 (41)
PIA 2.9
settings .7
Re: Emails not sent Threshold!
News for all with the same issue
0.8.7g
PIA 2.8
THOLD 0.4.3
I spent very much time to check, double check, compare between old box and new migration box.
Finally, i found out the problem is PHP EXTENTIONS.
So you must be install the list of php extentions as below will be fixed
With Centos, that's enough
php-cli php-snmp php-ldap php-gd php-pdo php-mcrypt php-common php-mysql php-mbstring
Thanks
0.8.7g
PIA 2.8
THOLD 0.4.3
I spent very much time to check, double check, compare between old box and new migration box.
Finally, i found out the problem is PHP EXTENTIONS.
So you must be install the list of php extentions as below will be fixed
With Centos, that's enough
php-cli php-snmp php-ldap php-gd php-pdo php-mcrypt php-common php-mysql php-mbstring
Thanks
Who is online
Users browsing this forum: No registered users and 4 guests