PDA

View Full Version : No actions/alerts?


schneck
26-05-2006, 16:20
I've been playing with Zabbix for some time (1.1b9, 1.1b10, 1.1b11)
now but havn't been able to generate email alerts yet.

I've got the following configuration:

* User ``schneck'' with
+ Default Permission: Read/Only
+ Media configuration: email address, active 1-7,00:00-23:59

* several hosts, with items and triggers each
(the triggers do fire, verified with the GUI and database)

* an ``action'' configuration:
Action type: send message
Source: trigger
Conditions: trigger = ON
Delay between messages: 30sec
Send message to: single user
User: schneck
Subject: {TRIGGER.NAME}: {STATUS}
Message: {TRIGGER.NAME}: {STATUS}
Repeat: Repeat
Number of repeats: 5
Delay between repeats: 180
Status: Enabled

But I don't receive any email messages and no actions
show up in the ``HISTORY OF ACTIONS'' view (also, the
``alerts'' table in the database is empty.)

I've probably missed something stupid, but can't find why
Zabbix doesn't even try to send me email. Also, when
increasing the DebugLevel to 4 in zabbix_server.conf, I
didn't see anything obviously wrong.

Any help?

Thanks,

\Bernhard.

PS: Zabbix is running on OpenBSD 3.7 and 3.9, currently
with SimpleChecks only (didn't try the agent yet)

schneck
29-05-2006, 19:42
After catching an action in the log file, I figured out that some settings in the "media" configuration were messed up.

Email alerts work fine now.

fatiha
02-06-2008, 11:28
Hi,

I have got the same problems. What settings in media configuration have you updated please?

Thanks
Fatiha

cstackpole
06-06-2008, 16:24
fatiha,
If you are seeing the action but not the email then typically the email wasn't set correctly (or at all). If the email is set properly, check* your Linux system to make sure that it is sending emails properly.

Hope this helps. Have Fun!

*Checking depends on if you are using postmail, exim, sendmail, ect.

fatiha
06-06-2008, 16:49
First, you're right, email wasn't set correctly and now it works.

I also did a mistake with a sql script, then I delete the important link between alerts table and ids table.

In fact it's not a bug but a misconfigured interface and I did a mistake when launching user sql script.

Thanks,
Fatiha

cstackpole
06-06-2008, 17:25
Glad it worked for you!