Showing results for 
Show  only  | Search instead for 
Did you mean: 

List of processes with availability monitoring

DynaMight Pro
DynaMight Pro

Could someone please guide me to an API or some logical trick...........maybe Monaco has this.


I'm trying to get a list of all Process Groups/Process Instances, in my tenant, for which Availability Monitoring has been activated.


At the moment the only way i can think of getting to this is by going to each host then clicking each process and checking the configuration.  Needle in a haystack experience at the moment.






DynaMight Pro
DynaMight Pro

This Early Adopter API allows me to see the configuration of a Process (which is always done at the process group instance level)




Problem is I would have to iterate over every Process Group, of which there are 15680 (27891 Process Group Instances) in my tenant.


Trying to see the following for all processes which have Availability Monitoring.

Host | Process | Availability Monitoring Setting




For what I know, you have to go the API way. And Monaco should help there. One of the functionalities of Monaco is downloading the configuration, namely to a local repository. You should then be able to iterate through that data...

Antonio Sousa


Old post, but I recently needed something similar so I could display Process Groups with Availability alerting turned on in Grafana, so I came up with this:



Now, this will return (at least for us) a list of process groups that have availability alerting set to False, but only ones that I think had it enabled at some point in the past.  For example, for us, this returns 71 Process groups.  68 of them have availability alerting set to TRUE and 3 have it set to FALSE.  Luckily, in Grafana you can put a JSON Path filter on the results before displaying it, so I have the following filter to remove those 3 FALSE items and return the Process Groups' Entity IDs:

$.items[?(@.value.enabled == true)].scope


Our problem now is that we want a table that shows the current total availability percent for each Process Group, along with the number of processes currently running each group and the number of hosts in each group.  That way we could easily look at the table, see which Process Groups aren't at 100% availability, and see the number of processes running versus the number of hosts in each Process Group. 


The problem is that the builtin:pgi.availability metric doesn't have the Process Group Entity ID as a dimension, so when you query for a list of Process Group Instance Availability metrics from multiple Process Groups, using a query like this:



You can't map which PG Instance goes to which Process Group that you originally queried.  You can see the hosts those PGI's live on, but not the parent Process Group.  Kind of nuts that it doesn't return the parent Process Group in the metric results...

Featured Posts