Zabbix Documentation 1.8

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


api:application

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

api:application [2016/11/29 12:58]
api:application [2014/09/26 11:22] (current)
sasha Links adapted because of a move operation
Line 1: Line 1:
 +===== Application =====
 +==== Methods ====
  
 +Class containing methods for operations with Applications.
 +^Methods^Description^
 +|[[api:​application:​get|get()]] |Get application details |
 +|[[api:​application:​exists|exists()]] |Check if application exists |
 +|[[api:​application:​create|create()]] |Create applications |
 +|[[api:​application:​update|update()]] |Update application details |
 +|[[api:​application:​delete|delete()]] |Delete applications |
 +==== Object details ====
 +
 +The table contains complete list of Application attributes.
 +
 +^Parameter^Type^Description^Details^
 +|applicationid|//​int//​|Application ID  | |
 +|hostid|//​int//​|Host ID | |
 +|name|//​string//​|Application description | |
 +|templateid|//​int//​|Parent application ID | |
 +==== Common tasks ====
 +The table contains list of common application-related tasks and possible implementation using Zabbix API
 +^Task^HOWTO^
 +|Add an application | Use method **application.create** |
 +|Add a bunch of new applications | Use method **application.create** with array of Application objects |
 +|Rename an application | Use method **application.update**,​ set **"​name":​1"<​new name>"​** |
 +|Delete an application | Use method **application.delete** |
 +|Retrieve application details by Application IDs | Use method **application.get** with parameter **applicationids** |
 +|Retrieve applications details by Application name | Use method **application.get** with parameter **filter**, specify **"​name":​ ["<​your application1>",​ "<​your application2>"​]** |