Ad Widget

Collapse

curious about host.create in API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmz
    Member
    • Jan 2016
    • 69

    #1

    curious about host.create in API

    When I search in documentation I just found about host.create and when I testing it was created host with Zabbix Agent interface. This is sample code I just tested
    Code:
    "interfaces":[{
                "type":1,
                    "dns":"",
                    "main":1,
                    "ip": line['address'],
                    "port": 10050,
                    "useip": 1,
            }]
    How can I create SNMP interface with host.create.
  • nmz
    Member
    • Jan 2016
    • 69

    #2
    Sorry, My False

    Sorry about too fast post without reading careful in doc. I know it right now I can use
    Code:
    "type" : 2
    to get SNMP Interface.

    Comment

    Working...