This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:api:reference:proxy:get [2020/01/10 12:16] iivs Added missing fields in output example (ZBX-17154) |
manual:api:reference:proxy:get [2020/02/03 11:26] (current) iivs fixed order of fields in example ZBX-17154 |
||
---|---|---|---|
Line 68: | Line 68: | ||
"result": [ | "result": [ | ||
{ | { | ||
- | "proxy_hostid": "0", | ||
"host": "Active proxy", | "host": "Active proxy", | ||
"status": "5", | "status": "5", | ||
- | "disable_until": "0", | + | "lastaccess": "0", |
- | "error": "", | + | "proxyid": "30091", |
- | "available": "0", | + | |
- | "errors_from": "0", | + | |
- | "lastaccess": "0", | + | |
- | "ipmi_authtype": "0", | + | |
- | "ipmi_privilege": "2", | + | |
- | "ipmi_username": "", | + | |
- | "ipmi_password": "", | + | |
- | "ipmi_disable_until": "0", | + | |
- | "ipmi_available": "0", | + | |
- | "snmp_disable_until": "0", | + | |
- | "snmp_available": "0", | + | |
- | "maintenanceid": "0", | + | |
- | "maintenance_status": "0", | + | |
- | "maintenance_type": "0", | + | |
- | "maintenance_from": "0", | + | |
- | "ipmi_errors_from": "0", | + | |
- | "snmp_errors_from": "0", | + | |
- | "ipmi_error": "", | + | |
- | "snmp_error": "", | + | |
- | "jmx_disable_until": "0", | + | |
- | "jmx_available": "0", | + | |
- | "jmx_errors_from": "0", | + | |
- | "jmx_error": "", | + | |
- | "name": "", | + | |
- | "flags": "0", | + | |
- | "templateid": "0", | + | |
- | "description": "", | + | |
- | "proxyid": "30091", | + | |
"interface": [] | "interface": [] | ||
}, | }, | ||
{ | { | ||
- | "proxy_hostid": "0", | ||
"host": "Passive proxy", | "host": "Passive proxy", | ||
"status": "6", | "status": "6", | ||
- | "disable_until": "0", | ||
- | "error": "", | ||
- | "available": "0", | ||
- | "errors_from": "0", | ||
- | "lastaccess": "0", | ||
- | "ipmi_authtype": "0", | ||
- | "ipmi_privilege": "2", | ||
- | "ipmi_username": "", | ||
- | "ipmi_password": "", | ||
- | "ipmi_disable_until": "0", | ||
- | "ipmi_available": "0", | ||
- | "snmp_disable_until": "0", | ||
- | "snmp_available": "0", | ||
- | "maintenanceid": "0", | ||
- | "maintenance_status": "0", | ||
- | "maintenance_type": "0", | ||
- | "maintenance_from": "0", | ||
- | "ipmi_errors_from": "0", | ||
- | "snmp_errors_from": "0", | ||
- | "ipmi_error": "", | ||
- | "snmp_error": "", | ||
- | "jmx_disable_until": "0", | ||
- | "jmx_available": "0", | ||
- | "jmx_errors_from": "0", | ||
- | "jmx_error": "", | ||
- | "name": "", | ||
- | "flags": "0", | ||
- | "templateid": "0", | ||
- | "description": "", | ||
"proxyid": "30092", | "proxyid": "30092", | ||
+ | "lastaccess": "0", | ||
"interface": { | "interface": { | ||
"interfaceid": "30109", | "interfaceid": "30109", | ||
"hostid": "30092", | "hostid": "30092", | ||
- | "main": "1", | ||
- | "type": "0", | ||
"useip": "1", | "useip": "1", | ||
"ip": "127.0.0.1", | "ip": "127.0.0.1", |