Ad Widget

Collapse

problem with actions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dsipe
    Senior Member
    • Oct 2006
    • 184

    #1

    problem with actions

    Sorry for that.

    i submit my problem again cause dont have any answer on other post.

    I create a trigger with the name '{HOSTNAME}: server unreachable'.
    When the condition is reached, in the Monitoring->Triggers menu, i found an entry like 'unix_server12: server unreachable' => that's ok.

    Now, i want to be warn by email so i create a action on that trigger.
    when the trigger get ON, i receive an email, but the {TRIGGER.NAME} macro look like '{HOSTNAME}: server unreachable' instead of 'unix_server12: server unreachable'.

    May that be corrected ?

    thanks
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    I believe it works in the latest ZABBIX 1.1.4. What is your version of ZABBIX?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • dsipe
      Senior Member
      • Oct 2006
      • 184

      #3
      it's the 1.1.4 ... on a openSuse 10.1

      that must definitly work to migrate from Nagios to Zabbix

      Comment

      • dsipe
        Senior Member
        • Oct 2006
        • 184

        #4
        may i have an answer to that problem please.
        it very very important.

        today a received mail message like this one [ look @ the attach image ].
        Attached Files

        Comment

        • martins.felipe
          Member
          • Jul 2006
          • 34

          #5
          I do it this way

          I do it this way, first I configure the Itens and the triggers as you did. After that, before I configure the Action I first create an user and its respective media (e-mail) to receive the emails. Next I create the action.
          Go to MONITORING > Events , and see if your triggers are being activated. If they are, triggers are working fine, but still could be a problem at your actions or at your user's media. Check that and copy/paste to us, so that we can help you more.

          []'s
          Phil

          Comment

          • dsipe
            Senior Member
            • Oct 2006
            • 184

            #6
            to help you better understand the problem, i've uploaded images of my conf :

            zabbix_itemjj.jpg : the item i create to monitor TimeSync on Novell fileserver

            zabbix_trigger.jpg : the trigger i create on that item. Note that the trigger's name is using a MACRO

            zabbix_action.jpg : the generic action i create which send a message for all triggers with severity >= Warning

            zabbix_history_events.jpg : notice that the MACRO inside the trigger's name have well been replace by the server name.

            zabbix_history_actions.jpg : notice that the trigger's name is wrong. the MACRO has not been interpreted.

            Hope that all of those screen may help !
            Attached Files

            Comment

            • jeff.showers
              Junior Member
              • Aug 2006
              • 18

              #7
              I think I see your problem. Triggers don't use the macro {HOSTNAME} when you set them up. You need to insert the actual hostname where you have {HOSTNAME} when you define the trigger. If it's part of a template, use the template name in that space. Zabbix automatically changes the listed hostname to the server using the template to define its triggers.

              Make any sense?

              Comment

              Working...