We have an older version of Zenoss installed on a server, version 2.0.0. In that version we could use a REST call to get the graph urls of a host in Zenoss as described on http://www.zenoss.com/community/docs/howtos/how-to-call-a-method-using-rest/ . It looks like this doesn't work anymore in 2.1.1. I get a HTTP 404 error.

The urls used are the following, which returns a python dict with the urls and titles in 2.0 but not 2.1.1.
http://username:[EMAIL 
PROTECTED]:8080/zport/dmd/Devices/Server/Linux/devices/host1.domain.com/getDefaultGraphs

Another question. Is there a REST call to output ALL the graphs of a specified host? getDefaultGraphs only outputs performance graphs. I would like it to include the OS/Filesystem/Networking too. Is this possible someway?

This method was renamed to getDefaultGraphDefs in 2.1 due to the change in graph definitions required for the graph and multi-graph reports. You could take a look at the graph reports if you're trying to get all graphs for a device including the components.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to