TECHZEN Zenoss User Community ARCHIVE  

where is zendmd.ZenEventManager.getEventList() in zenoss 5?

Subject: where is zendmd.ZenEventManager.getEventList() in zenoss 5?
Author: [Not Specified]
Posted: 2015-05-16 17:44

DMD = ZenScriptBase(connect=True).dmd

Events = DMD.ZenEventManager.getEventList()

used to get list of all events, as I found in

https://zindilis.com/docs/zenoss/zendmd-get-events.html

but this method is no longer available in zenoss 5. does anyone know an equivalent way

i just want to list on cli all the current events with severity > warning, for instance, with a script.

thanks!



Subject: Use Zenoss JSON API http:/
Author: Jan Garaj
Posted: 2015-05-16 17:53

Use Zenoss JSON API http://wiki.zenoss.org/Working_with_the_JSON_API instead of zendmd in Zenoss 5.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



< Previous
Allow Anonymous Access to Graphs
  Next
zenoss 5 how to monitor subprocesses
>