host email notification?

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
cwahlin
Cacti User
Posts: 91
Joined: Fri Oct 10, 2003 7:23 am

host email notification?

Post by cwahlin »

Might be a stupid question, but I can't get it to work!!

I have email notification when a threshold is reached, but I am not getting emails when hosts go down!

I remember checking a checkbox for "host down notifications" or something similar (I don't have access to my cacti box from this machine). Have I forgot to do something? Or is it just not working?

/Carl
cwahlin
Cacti User
Posts: 91
Joined: Fri Oct 10, 2003 7:23 am

Post by cwahlin »

Guess it could be related to this as I am using SMTP as well (found on cactiusers forum).
So, I installed this plugin back in August, and just now am getting around to this ;) It works that good ;)

The problem is with emailing alerts from thold...

I use SMTP... The reason is...

If I use phpmail() or sendmail, only host down errors will show up in my mail box. If I use SMPT I no longer get host down notices from cacti, but now I get thold device over/under thresh-hold messages.

I'm trying to figure out what do I need to do to get messages for host down and from thold device above/below thresh-hold messages?
/Carl
cwahlin
Cacti User
Posts: 91
Joined: Fri Oct 10, 2003 7:23 am

Post by cwahlin »

Any troubleshooting tips?

It does not work with either PHPmail or sendmail. Sending a testmail works with both though.
I also do not see anything in the maillog around the time of cacti noticing failed hosts.

Does it only work with cmd.php?

/Carl
cwahlin
Cacti User
Posts: 91
Joined: Fri Oct 10, 2003 7:23 am

Post by cwahlin »

never mind. Refined my search a bit and found it doesn't work with cactid :(

/Carl
jamespca
Posts: 8
Joined: Thu Dec 21, 2006 11:12 am

Post by jamespca »

I am using cactid just fine with an external SMTP server set up. I get all thethreshold triggered alerts but the dead host ones. The dead host ones I do not get, no idea why.
[b]Cacti[/b] - 0.8.6j; [b]Plugin Architecture[/b] - 1.1; [b]Poller Type[/b] - Cactid v0.8.6i; [b]Web Server[/b] - Apache/2.2.3 (Win32) PHP/5.2.0; [b]MySQL[/b] - 5.0.27; [b]RRDTool[/b] - 1.2.15; [b]SNMP[/b] - Net-SNMP 5.4
Lazybones
Posts: 40
Joined: Wed Aug 23, 2006 9:47 am

Post by Lazybones »

I inconstantly get the Down and Up messages. Most often I don't get the important DOWN message but I DO get the UP message.

It is very strange.

Remember that a Threshold email is not sent until the value has been exceeded for x number of polls set in the settings. If the service recovers in that time you get no email even if you can see the line on your graph.
rickyboone
Posts: 4
Joined: Wed Aug 23, 2006 9:07 am

Post by rickyboone »

cwahlin wrote:never mind. Refined my search a bit and found it doesn't work with cactid :(

/Carl
Found this out the hard way. :(

This is very bad. At this point, we have far too many monitored hosts to use cmd.php. Nothing notifies us when a host is down, or when it comes back up.

Are there any plans to address this severe problem with users implementing cactid? Are there any workarounds or recommendations of other host notification methods?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest