![]() |
![]() |
Subject: | Retrieve Custom Properties using Json API |
Author: | [Not Specified] |
Posted: | 2014-06-16 11:57 |
Subject: | Here's an example using curl. |
Author: | Chet Luther |
Posted: | 2014-06-23 09:35 |
Here's an example using curl. The call you want is getZenProperty.
curl http://example.zenoss.com:8080/zport/device_router \
-u myusername:mypassword \
-H 'Content-Type: application/json' \
--data-binary '{"action":"DeviceRouter","method":"getZenProperty","data":[{"zProperty":"cMyCustomProperty","uid":"/zport/dmd/Devices/Server/Linux/devices/my-device-id"}],"tid":1}'
Subject: | What if one uses the Java API |
Author: | [Not Specified] |
Posted: | 2015-02-12 10:47 |
What if one uses the Java API
Subject: | That's interesting (about |
Author: | [Not Specified] |
Posted: | 2015-02-12 11:13 |
That's interesting (about getZenProperty with a specific prop name). Why aren't the cProperties included in the output of getZenProperties
Subject: | IMO, custom properties should |
Author: | [Not Specified] |
Posted: | 2015-02-18 08:41 |
IMO, custom properties should be included in the "getDevices" output from the Java API perspective.
From what I can see here, I'd need to first get all devices and them call them 1 by 1 to get the property I want...
< |
Previous Retrieve Custom Properties using Json API |
Next Monitoring of Zenoss (performance/health/status) |
> |