Another "Mail Alerts Not Working" Post

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Another "Mail Alerts Not Working" Post

Post by Diggit2001 »

I've read through a bunch of posts here from people that are having troubles receiving thold alerts from their system but nothing has helped me. I'm using Cacti 0.8.8b, PHP 5.3.3, and thold 0.5. I am using SMTP to send mail and when I do the test I receive it fine. When I go to the log tab from the Thold tab, I see a bunch of stuff there so the plugin does appear to be working. I'm not sure where else to check. I'd appreciate any assistance.

Thanks!
-Chris
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Re: Another "Mail Alerts Not Working" Post

Post by Diggit2001 »

My Cacti is installed on CentOS 6.5. I shouldn't have to worry about configuring any mail stuff on the Linux box at all, right? I would think that it's just connecting to my mail server and sending all the mail out from there, right?
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Re: Another "Mail Alerts Not Working" Post

Post by Diggit2001 »

Hello. Anyone willing to help out a Cacti user that's down on his luck?
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Another "Mail Alerts Not Working" Post

Post by cigamit »

Turn on Threshold debug, and it should log some extra info in the Cacti log.
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Re: Another "Mail Alerts Not Working" Post

Post by Diggit2001 »

OK, I turned on debug. My thold log has a little over 18,000 entries but I don't see anything about dead/down hosts, just "Baseline Deviation" and "High/Low". I never got e-mail alerts for any of them. Does it usually log when an e-mail is sent? I don't see anything in there about sending e-mails.

Thank you.
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Re: Another "Mail Alerts Not Working" Post

Post by Diggit2001 »

In my Cacti log, I see stuff like this periodically:

Code: Select all

07/01/2014 08:27:40 AM - THOLD: Modified Template User: diggit2001 ID: 5 DataTemplate: Win Services DataSource: service_state Type: High/Low Enabled: on High: Low: 1 Trigger: 1 Minute Warning High: Warning Low: 1 Warning Trigger: 1 Minute CDEF: 0 ReAlert: Never Alert Emails: diggit2001@mydomainname.com, Warning Emails: diggit2001@mydomainname.com

07/01/2014 08:27:37 AM - SYSTEM THOLD STATS: Time:1.4289 Tholds:330 TotalHosts:73 DownHosts:4 NewDownHosts:0

07/01/2014 08:27:37 AM - THOLD: Modified Template User: diggit2001 ID: 4 DataTemplate: Lit _APC_Enviro_Temp DataSource: Lit_APC_Enviro_Temp Type: High/Low Enabled: on High: 72 Low: Trigger: 1 Minute Warning High: 72 Warning Low: Warning Trigger: 1 Minute CDEF: 0 ReAlert: Never Alert Emails: diggit2001@mydomainname.com, Warning Emails: diggit2001@mydomainname.com

07/01/2014 08:27:36 AM - SYSTEM STATS: Time:34.6915 Method:spine Processes:3 Threads:8 Hosts:74 HostsPerProcess:25 DataSources:2406 RRDsProcessed:1374

07/01/2014 08:27:34 AM - THOLD: Modified Template User: diggit2001 ID: 3 DataTemplate: Lit _APC_Enviro_Humidity DataSource: Lit_APC_Enviro_Humi Type: High/Low Enabled: on High: 85 Low: Trigger: 1 Minute Warning High: 85 Warning Low: Warning Trigger: 1 Minute CDEF: 0 ReAlert: Never Alert Emails: diggit2001@mydomainname.com, Warning Emails: diggit2001@mydomainname.com
I believe this shows that e-mails are indeed being sent, correct? I am never getting them, however. I have checked my spam folder and all of the usual suspects but I can't find anything. ANy idea where I should check next? Your assistant is very much appreciated.
Thanks!
-Chris
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Another "Mail Alerts Not Working" Post

Post by cigamit »

That is just showing that it is polling, and you were modifying some alerts. Can you check your logs on your SMTP server to ensure it is receiving them properly?
User avatar
Diggit2001
Cacti User
Posts: 195
Joined: Tue May 03, 2005 4:29 pm
Location: MD, US

Re: Another "Mail Alerts Not Working" Post

Post by Diggit2001 »

Aw jeez. I'm sorry for wasting your time. I'm an idiot. :o
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Another "Mail Alerts Not Working" Post

Post by cigamit »

Heh, np. Glad I could help.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests