Ad Widget

Collapse

Zabbix 1.4.5 - Actions defined for templates problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thiago.info
    Junior Member
    • Feb 2008
    • 28

    #1

    Zabbix 1.4.5 - Actions defined for templates problem

    Hi people, I'm having problem getting actions working from templates, exactly the same issue here:



    Originally Posted by halomoan
    Now the question, what happen to the Template_Linux:FTP server is down on ZABBIX Server below Configuration -> Triggers ?

    Why we cannot use it for alerting ?
    Because it is not supported currently. Actions defined for templates do not affect alerting in any way, they are ignored.

    I hope, that actions based on templates will be implemented in 1.4.x.

    Alexei Vladishev
    ZABBIX Product Manager
    Riga, Latvia
    Blog
    Alexei said it was not supported that time, and now ? is it supported ? any workaround for it ? I'm using version 1.4.5.

    PS: If I clone the trigger the action works fine.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It is still unsupported.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • thiago.info
      Junior Member
      • Feb 2008
      • 28

      #3
      Originally posted by Alexei
      It is still unsupported.
      Thanks for answering, just to know, this feature is planned to be released in version 1.6 ? Is there some workaround for it ? I have lot of servers with the same trigger, I need to clone all of it on all hosts for the actions to work fine ? or I'm missing something ?

      Comment

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

        #4
        Clone? Why?!

        Create a host group with all your hosts included. Add action condition:

        Host group=<your group>

        That's it.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • thiago.info
          Junior Member
          • Feb 2008
          • 28

          #5
          Originally posted by Alexei
          Clone? Why?!

          Create a host group with all your hosts included. Add action condition:

          Host group=<your group>

          That's it.
          I'll try it, thanks...

          Comment

          • EugeneP
            Junior Member
            • Sep 2007
            • 11

            #6
            Alexei, i have the same problem.

            I have a trigger defined as a
            name - Ntpd failed
            {Template_Linux_Commonroc.num[ntpd].last(0)}<1
            When i use this trigger for defining action only for test as a
            host group='www servers'
            AND
            trigger='Ntp failed'
            AND
            trigger value='true'
            it doesn't work at all. This action must send an email, but no notifications had been sent. Notifications counter doesn't increment. Can you comment this?

            Comment

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

              #7
              Read the thread It is exactly about what you are asking for!
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • EugeneP
                Junior Member
                • Sep 2007
                • 11

                #8
                I have created a trigger with next parameters
                Test trigger
                {Template_Linux_Common:system.uptime.last(0)}>1
                Severity Not classified
                "Test tirgger" as a text

                Then i created next action:
                Name - Test Actions
                Source - Triggers

                Host group = 'www servers'
                trigger = 'Test trigger'
                Trigger value = 'Test'

                Action

                Send message to User "Test".

                Host gorup www servers contains now 94 servers.
                Here is a cut from template linkage:

                Code:
                Name		#	Members
                WWW servers	94	server names
                Actions doesn't work. Administration->Notification counters still haven't incremented.
                May be I defined triggers wrong? Or something else?

                I'm using zabbix-1.4.5 server.
                Configure string:
                Code:
                $ ./configure --with-ucd-snmp --with-libcurl --with-ldap --with-mysql --enable-server --enable-agent
                Thank you.

                Comment

                Working...