[SOLVED] Email Alerts are not working

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
Wizzer
Posts: 13
Joined: Wed Aug 18, 2010 4:38 pm

[SOLVED] Email Alerts are not working

Post by Wizzer »

I have created a Threshold template to monitor free disk space. I have the high value set at 90% and the min trigger duration set to 5 min. The threshold triggers correctly, but no email alert is ever sent. I have sent a test email and it works correctly. I'm not sure what else to do. Any ideas?

I using Cacti 0.8.7g, PIA 2.9 and thold 0.44-43.

Thanks.
Last edited by Wizzer on Thu May 26, 2011 11:57 am, edited 1 time in total.
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Email Alerts are not working

Post by noname »

Check whether if php-gd is supported.

A) 'System Utilities' -> 'Technical Support'
Search this line in "gd" section: "JPG Support - enabled"

B) via command-line:
% php -r 'print_r(gd_info());'
Array
(
[GD Version] => bundled (2.0.34 compatible)
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] => 1
[PNG Support] => 1
...
)

% php -r 'var_dump(function_exists("imagecreatefrompng"));'
bool(true)
If not, re-build PHP with configure option such as --with-gd and --with-jpeg-dir[=DIR], and re-install. (then restart Apache)
- or -
try this workaround:
http://forums.cacti.net/viewtopic.php?p=211457#p211457
Wizzer
Posts: 13
Joined: Wed Aug 18, 2010 4:38 pm

Re: Email Alerts are not working

Post by Wizzer »

I solved my problem. I did not realize that I needed to highlight the account in the notify accounts section :oops: . Once I highlighted the account and saved the template, the email alerts started working.

Wizzer
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests