On 14 Sep 2009, at 13:58, Andrew Hall wrote:

On 2009-09-10 11:50, Ton Voon wrote:

The Runtime database holds information from the master Nagios'
perspective. Opsview uses "set_to_stale" as part of the freshness
checking that is best practise when setting up distributed monitoring.

Wouldn't it be better to query the Opsview database, as that holds all
the configuration information that you want. Admittedly, there's not
an easy query....

I have taken a look at the schema of the Opsview database and cannot
see any way to join tables - even for something as simple as "what
service checks are associated with a host".

Am I missing something ?

That's why I said "not an easy query...."

There's logic that is done at the Opsview level to do things like:
  * squash the host templates for each host to remove duplicates
  * deduce the service check exceptions if they are set
* work out values of frequency / check intervals from the host, if blank at the service

We could add a web service to get this information, but that would be a sponsored piece of work.

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to