![]() |
![]() |
Subject: | Query db for server status |
Author: | Eamon |
Posted: | 2019-01-23 08:36 |
Subject: | RE: Query db for server status |
Author: | Ryan Matte |
Posted: | 2019-02-21 11:28 |
You're not going to be able to do what you're asking because Zenoss stores it's data in a database called zodb, and then we use something called relstorage to store that zodb inside of MySQL (to improve performance). It stores that data as binary blobs and you'll never be able to make sense of it by issuing direct MySQL queries. You'll either need to write a zendmd script to pull out the data that you're wanting (there are tons of examples of doing this online) or make use of the official Zenoss API to fetch that data.
http://wiki.zenoss.org/Category:Tips (see the ZenDMD Tips)
http://wiki.zenoss.org/Working_with_the_JSON_API
< |
Previous Unable to add a Hub or Collector |
Next Controlling ping cycle in Zenoss 5 / 6 |
> |