Ad Widget

Collapse

no foreign keys in database?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #16
    I see that the API is mostly needed for management of ZABBIX configuration. It shouldn't be difficult to implement.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • r3dn3ck
      Member
      • Jul 2008
      • 43

      #17
      From my perspective that's purely the need. I don't know about anyone else but I can't imagine a whole lot more uses.

      Comment

      • teferi
        Member
        • Jul 2008
        • 93

        #18
        Originally posted by r3dn3ck
        add/change/remove hosts
        add/change/remove host profile data
        add/change/remove host group assignment
        add/change/remove host template assignment
        Enable/Disable monitoring on HOST(x)
        Enable/Disable monitoring on template members (all hosts in a template affected)
        Enable/Disable monitoring on group members (all hosts in a group affected)
        I'd add the following:
        add/change/remove items to host(without templates. It's usefull in some situations)
        add/change/remove graphs
        add/change/remove screens


        Well I think wouldn't lie if I say that most of these functions can be found in the php frontend. =))

        Comment

        • r3dn3ck
          Member
          • Jul 2008
          • 43

          #19
          If there's going to be an API built for any of it then might as well do the other basics.

          Comment

          • xs-
            Senior Member
            Zabbix Certified Specialist
            • Dec 2007
            • 393

            #20
            @alexei
            I've been looking at the zabbix code with a colleague to see how much time it would take and how complex it would be.
            Basically, all real functionality is already available via php functions in the webcode. The only real decision to be made is what kind of interface would the API have, cmdline / webbased (i.e. soap), XML or something else, etc, etc.
            We've been looking at the API (xml) spec used by mediawiki, perhaps this is a good example.

            Purposes for this API (imho) are purely administrative yes; you don't want this level of 'open' management available outside of your control.
            For example to hook Zabbix to a CMDB for automatic host/hostgroup/users/usergroup management. Another example would be to write a script to rotate phonenumers of standby services. The applications are endless ofcourse, but purely backend related.
            Last edited by xs-; 13-08-2008, 09:40.

            Comment

            • nelsonab
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Sep 2006
              • 1233

              #21
              Let's move the discussion here:

              RHCE, author of zbxapi
              Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
              Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

              Comment

              Working...