PDA

View Full Version : Alert Mails not being sent


rushowr
07-07-2005, 17:57
Greetings,
I set up several triggers with actions to email various users when they become true. however, when I staged certain triggers to go off, I did not get emails. Here's some output from the alerts page in my frontend:
(Edited to remove all email addresses, some included SMS addresses)
Time Type Status Recipient(s) Subject Message
2005.Jul.07 10:57:01 Email not sent EMAILADDRESSREMOVED

Bacula Director Down



INSERT YOUR MESSAGE HERE

------Latest data------

Backup Director Running: 0 (latest value)
Backup Director Running: 1 (maximum value for last 5 min)
Backup Director Running: 0 (minimum value for last 5 min)

---------End--------

2005.Jul.06 16:53:29 Email not sent EMAILADDRESSREMOVED

Switch1 High Ping Times



High Latency on Switch1

------Latest data------

Net: Average Ping Time: 88.427 (latest value)
Net: Average Ping Time: 88.427 (maximum value for last 5 min)
Net: Average Ping Time: 88.427 (minimum value for last 5 min)

---------End--------

2005.Jul.06 16:53:29 Email not sent EMAILREMOVED

Switch1 High Ping Times



High Latency on Switch1

------Latest data------

Net: Average Ping Time: 88.427 (latest value)
Net: Average Ping Time: 88.427 (maximum value for last 5 min)
Net: Average Ping Time: 88.427 (minimum value for last 5 min)

---------End--------

2005.Jul.06 16:28:27 Email not sent EMAILREMOVED

Switch1 High Ping Times



High Latency on Switch1

------Latest data------

Net: Average Ping Time: 87.864 (latest value)
Net: Average Ping Time: 87.864 (maximum value for last 5 min)
Net: Average Ping Time: 87.864 (minimum value for last 5 min)

And here's the associated trigger definitions:

{Switch1:net[avgpingtime].avg(600)}>84.9
and
{TestingServer:bacula[director].last(0)}<1

My email set up is using sendmail on the localhost, the helo is set to localhost.localdomain (also tried just localhost), and email is zabbix@localhost.
I AM able to send emails from the commandline, even when I've su'd to zabbix so I know it's not my mail server.... any ideas as to what the problem might be?

Thanks in advance for any help possible

rushowr
07-07-2005, 21:49
I found a solution, at least for my setup. I changed the smtp server to the FULL FQDN for the server instead of localhost, the helo to the FQDN, and it worked... Very odd that it changed but oh well, as long as it's working now.