Ad Widget

Collapse

Can't get Action emails to send in response to a trigger I've setup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ericgearhart
    Senior Member
    • Jan 2009
    • 115

    #1

    Can't get Action emails to send in response to a trigger I've setup

    ...argh can someone please move this to help... I didn't mean to post this in suggestions and feedback....

    First I'll go over what I've done so far

    -I set up a user, eric

    -Added my email address to that user

    -I setup the SMTP info in "Media Types" (smtp server, etc.)

    Then I created a test external script Item bound to the Zabbix server. I have the script just "echo 0" or "echo 1." I can graph this Item perfectly fine... so I know the item is working fine.

    I setup a Trigger on the previously mentioned Item, and set it to fire off when the "Item = 1"

    I then set up an Action, when the "Trigger = Trigger Test" and the "Trigger value = PROBLEM"

    I modify my script to "echo 1," and on the Zabbix dashboard an Issue appears for "Trigger test" just fine as one would expect

    ...but I never get an email, nothing is logged in zabbix_server.log, and nothing is ever noted in the Administration->Notifications menu. I'm guessing I'm doing something wrong with my action, because everything else is working as expected.

    Anyone have any idea what I'm doing wrong?
    Last edited by ericgearhart; 27-12-2009, 07:10.
  • william1872
    Junior Member
    • Dec 2009
    • 21

    #2
    Have you had a look in the Aministration -> Audit --> Action log? you should see a reason in here why your email isn't being sent.

    Comment

    • ericgearhart
      Senior Member
      • Jan 2009
      • 115

      #3
      I figured it out... the user account I created didn't have 'read' on the host I'd setup the Trigger/Action on. I didn't realize Zabbix had a built in granular permissions system (which is cool in and of itself...)

      Comment

      Working...