I see that the API is mostly needed for management of ZABBIX configuration. It shouldn't be difficult to implement.
Ad Widget
Collapse
no foreign keys in database?
Collapse
X
-
-
I'd add the following: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)
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
-
@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
-
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
Comment