View probes CI sending queue size to be send to dashboard
I am looking for a method to access the probe CI sending queue sizes in a format that can be delivered to a dashboard.
I can view these queue sizes via the uCMDB GUI or the probe JMX (GwTaskResultDistributer)
Does anyone know how this can be read from a file/DB table or using API?
first it is best to check if the DataFlow Management API can server your needs. THe documentation is available here:
If you need to get the queue size of the Probe I think the API call will not be available. However UCMDB is using the Java JMX console. There are numerous tools in Internet which can take the information from a certain MBean, which you've already found. In OMi (OpsBridge package) there is even jmx query tool coming out of the box.
In order to make such a tool able to connect to the JMX, you will need uncomment the following lines in the wrapper.conf in bin/ folder:
#Uncomment the following lines to enable monitoring and management using JMX technology.
That sounds like a possible method however I dont think I can use it as our probes are in a secure environmant and we have almost no direct access to them.
I was hopefull that a method might exist on the app server that queries the probe remotely for the CI queue but it looks like thats not possible.
I will have a think if there is a way to query the JMX mbean and send the result back.