Ad Widget

Collapse

RFE: templates for screens and acctions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #1

    RFE: templates for screens and acctions

    Anyone is working/thinking on add templates support for screens and actions ?
    IMO it will be good to have atomatic creation of screen(s) with graphs and action(s) for remote commands and send messages on add new host.
    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
    https://kloczek.wordpress.com/
    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
    My zabbix templates https://github.com/kloczek/zabbix-templates
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    We are thinking of some sort of automatic screen generators in the future. This functionality will probably be introduced this year.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by Alexei
      We are thinking of some sort of automatic screen generators in the future. This functionality will probably be introduced this year.
      So what about templates for actions ? It is probably more importand from point of view control some big enviroment than screens.
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

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

        #4
        Are you thinking of import/export functionality for actions, or something different? I am not quite sure how action templates may work.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • Vince2
          Member
          • Oct 2006
          • 40

          #5
          Originally posted by Alexei
          We are thinking of some sort of automatic screen generators in the future. This functionality will probably be introduced this year.
          I have added a screen clone function for the stable branch. I may sort out a patch if you are interested.

          Comment

          • kloczek
            Senior Member
            • Jun 2006
            • 1771

            #6
            Originally posted by Alexei
            Are you thinking of import/export functionality for actions, or something different? I am not quite sure how action templates may work.
            Now by Configuration -> Hosts -> Templates is possible define in templates items, triggers and graphs and on add new host which uses some template all this tree groups of settings are added in one move.
            Simple .. it will be good have possibilities also define actions and screens on the same leve. If actions and screens will be elemets of defined templates I expect importing and exporting will be only extension of cureent 1.3.x functionality.

            BTW current templates and graps. For now it is one anoing thing in define grapsh it is not possible use something like {HOSNAME} macro in graph name so on using graphs from template in graphs list all graphs names added from template have the same name. So all this graphs are indistingushable in graphs list avalaible in Monitoring -> Graphs -> Select graph list.
            IMO best will be solve this in the same way as in case simple graphs by add this graphs tith title <hostname>: <graph title> as same as all this graphs are listed in Configure -> Screen -> Edit -> Change -> Graph name.
            For example adding "Unix_t: net trafic" graph will add to graphs list "<hostname>: net trafic" graphs.
            http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
            https://kloczek.wordpress.com/
            zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
            My zabbix templates https://github.com/kloczek/zabbix-templates

            Comment

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

              #7
              I am not sure it is a good idea to allow definition of actions on per host level. This would lead to a massive number of actions for a fairy large setup.
              Last edited by Alexei; 10-05-2007, 15:04.
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • kloczek
                Senior Member
                • Jun 2006
                • 1771

                #8
                Originally posted by Alexei
                I am not sure it is a good idea to allow definition of actions on per host level. This would lead to a massive number of actions for a fairy large setup.
                Under zabbix there is no need use templates so if you don't want use actions from templates .. use defined actions per host but if you have for example many the same hosts connected to load balancer you will want to propagate not only items, triggers and grapphs but also actions and screens.
                http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
                https://kloczek.wordpress.com/
                zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
                My zabbix templates https://github.com/kloczek/zabbix-templates

                Comment

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

                  #9
                  Originally posted by kloczek
                  use defined actions per host but if you have for example many the same hosts connected to load balancer you will want to propagate not only items, triggers and grapphs but also actions and screens.
                  In this case, create a single action for a group of hosts ("Load balancers") and the action will automatically work for all members of the group. No need for templates.
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

                  • kloczek
                    Senior Member
                    • Jun 2006
                    • 1771

                    #10
                    Originally posted by Alexei
                    In this case, create a single action for a group of hosts ("Load balancers") and the action will automatically work for all members of the group. No need for templates.
                    OK. How can I (for example) define in best simpler way action for group of host for try to restart httpd on any other service when on some host behind load balancer will finish work (sigsegv) ?
                    http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
                    https://kloczek.wordpress.com/
                    zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
                    My zabbix templates https://github.com/kloczek/zabbix-templates

                    Comment

                    Working...