Ad Widget

Collapse

Generating alerts by action

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Henrik Jakobsen
    Junior Member
    • Aug 2007
    • 2

    #1

    Generating alerts by action

    Hi all,


    I am currently working on a Zabbix-server installed directly from FreeBSD ports.

    I have configured items and triggers and set up some hosts.


    My problem is that when I define an action it is not fired when the trigger conditions is meet.

    I have a trigger set up to trigger when the agent.ping is not some value(to test it it i can change between 1 and some other number to activate the trigger conditions). It should trigger an action sending an email an/or an sms to me(through a script).


    The Zabbix monitor changes the state when the conditions are changed. So I assume the the triggers are setup correctly.

    However, the actions are never activated....i get no email nor sms(I can't even use a script to write in a file in my /tmp ) and I have checked my outgoing mail log to see if everything is all right....no mail is beeing sent(I have successfully tested my sendmail and it works)



    So why does my actions not fire?


    Hopefully someone can point me in the right direction
  • karthik.pandian
    Junior Member
    • Apr 2008
    • 2

    #2
    Same Problem

    Hi,

    I have the same exact problem. Triggers work fine. I have actions set to send an email when the value of trigger is "TRUE". The value of trigger changes appropriately, but no emails are sent.

    The tab "Overview->actions" is empty.

    Please help

    Comment

    • Villain
      Member
      • Aug 2006
      • 84

      #3
      Some basic questions

      Some basic questions about your setup:

      1) Do you have email addresses entered for the media types of specific users?
      2) What action are you generating? (email, remote command, etc.)
      3) Are you using a custom trigger?
      4) What does your Trigger and Action look like?

      Comment

      • karthik.pandian
        Junior Member
        • Apr 2008
        • 2

        #4
        Hi Villain,

        I have the email address entered for media types. Infact I could manage to get three emails for a particular host alone. (I have sendmail and dovecot).

        I am trying to generate emails from already existing triggers.

        Here is how one of My actions look:

        Action
        -------

        Name : severity High
        Event Source: Triggers
        Type of Calculation: (A or B) and (C) and (D)

        (A) Host group = "Linux servers"
        (B) Host group = "Widows servers"
        (C) Trigger Severity = "High"
        (D) Trigger value = "TRUE"

        Operations : send message to User "Admin"

        Status : Enabled.


        Thanks and regards

        Comment

        Working...