Page 1 of 1

XI: method to poll values for "Monitoring Engine Event Queue

Posted: Tue Nov 09, 2021 3:56 pm
by inversecow
Ahoy folks,

We maintain several Nagios XI instances within our ENVs (some large deployments, some small).
Through this, we have developed a sort of common interface for the "Dashboard" view of XI, which includes "Monitoring Engine Event Queue: Scheduled Events Over Time".
In our dashboard view, this typically takes the form of a yellow graph of sorts (we affectionately refer to as the "banana road"), but realize it can be green or other colors also.

Is there a way to query this widget (or its data-source) via some CLI or API method(s)?
I ask, in the context of wanting to monitor this "queue" for performance reasons (so we may respond if required).

Please consider and advise?

Nagios XI 5.8.x release series (5.8.6 at current writing)
MariaDB 5.5.64 (mix of on-box && off-box depending on ENV)

Thank you,

- Rowan

Re: XI: method to poll values for "Monitoring Engine Event Q

Posted: Wed Nov 10, 2021 3:35 pm
by ssax
I'm investigating and will update shortly.

Re: XI: method to poll values for "Monitoring Engine Event Q

Posted: Thu Nov 11, 2021 7:04 pm
by ssax
I found this that can check the nagiostats output:

https://exchange.nagios.org/directory/P ... 29/details

It basically parses the output from this command:

Code: Select all

/usr/local/nagios/bin/nagiostats
There isn't an easy way to monitor the exact SQL query that the Monitoring Engine Event Queue is using in order to build that graph as they are just datapoints.