FAQFAQ   SearchSearch   RegisterRegister   ProfileProfile   Log inLog in 

Thold doesn't send emails on weekends

 
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General
View previous topic :: View next topic  
Author Message
hmmblah
New User


Joined: 20 Nov 2007
Posts: 8

PostPosted: Sat Apr 26, 2008 10:37 am    Post subject: Thold doesn't send emails on weekends Reply with quote

Just like the subject says, if a host goes down over the weekend it shows down in the monitor tab, but I never receive an email. During normal weekdays I get emails fine. Thold doesn't have weekend exemptions checked. I did try checking it, saving, then unchecking again to see if that would help, but it didn't.

This is what I am running:

Quote:
Cacti Version - 0.8.7b
Plugin Architecture - 2.1
Poller Type - CMD.php
Server Info - Linux 2.6.22.9-0.4-default
Web Server - Apache/2.2.4 (Linux/SUSE)
PHP - 5.2.4
PHP Extensions - libxml, xml, session, pcre, SimpleXML, SPL, standard, Reflection, filter, date, apache2handler, bz2, ctype, curl, dba, dbase, dom, gd, gettext, hash, iconv, json, mbstring, mcrypt, mysql, mysqli, openssl, PDO, pdo_mysql, pdo_sqlite, snmp, sockets, SQLite, tokenizer, xmlreader, xmlwriter, zlib
MySQL - 5.0.45
RRDTool - 1.2.23
SNMP - 5.4.1
Plugins
    Device Monitoring (monitor - v0.8.2)
    Thresholds (thold - v0.3.9)
    Host Info (hostinfo - v0.2)
    Global Plugin Settings (settings - v0.4)
    Network Tools (tools - v0.2)
    Update Checker (update - v0.4)


Any ideas??


Last edited by hmmblah on Tue Apr 29, 2008 2:18 pm; edited 1 time in total
Back to top
View user's profile
jimmy
Site Admin


Joined: 11 Nov 2004
Posts: 1495

PostPosted: Sat Apr 26, 2008 10:02 pm    Post subject: Reply with quote

Monitor doesn't send emails, Thold does. I will see if I can discover anything wrong, but my production servers don't seem to exhibit this problem.
Back to top
View user's profile Visit poster's website
hmmblah
New User


Joined: 20 Nov 2007
Posts: 8

PostPosted: Tue Apr 29, 2008 2:17 pm    Post subject: Reply with quote

jimmy wrote:
Monitor doesn't send emails, Thold does. I will see if I can discover anything wrong, but my production servers don't seem to exhibit this problem.


My bad, should have had Thold in the subject. I did mention thold in my post though.

Is there anything I can check?? Like stated above, it works great M-F, but Sat and Sun, no e-mails are sent. Weekend exemptions is NOT checked in Thold.
Back to top
View user's profile
jimmy
Site Admin


Joined: 11 Nov 2004
Posts: 1495

PostPosted: Wed Apr 30, 2008 9:13 pm    Post subject: Reply with quote

Easiest test is to edit thold_functions.php and comment out these lines.

Code:

   if (($weekday == "Saturday" || $weekday == "Sunday") && $alert_exempt == "on") {
      return;
   }
Back to top
View user's profile Visit poster's website
hmmblah
New User


Joined: 20 Nov 2007
Posts: 8

PostPosted: Thu May 01, 2008 9:47 am    Post subject: Reply with quote

jimmy wrote:
Easiest test is to edit thold_functions.php and comment out these lines.

Code:

   if (($weekday == "Saturday" || $weekday == "Sunday") && $alert_exempt == "on") {
      return;
   }


I will give this a try, thanks!
Back to top
View user's profile
hmmblah
New User


Joined: 20 Nov 2007
Posts: 8

PostPosted: Tue May 06, 2008 7:21 am    Post subject: Reply with quote

That didn't work Sad. Anything else I can try?
Back to top
View user's profile
jimmy
Site Admin


Joined: 11 Nov 2004
Posts: 1495

PostPosted: Thu May 08, 2008 9:53 pm    Post subject: Reply with quote

That is the only place that does a weekend exception check, if removing that didn't help, then the problem isn't in thold. I can not reproduce this issue at all in my production boxes.
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CactiUsers.org Forum Index -> General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Forums Sitemap