Availabilty query for Grafana

Hi!

Is there someone who know’s how OpenNMS does the availability query?
How it looks like.

Screenshot from 2022-01-26 15-36-42

opennms 28.1.1

@ping

https://docs.opennms.com/horizon/29/development/rest/rtc.html

1 Like

Great! Thanx

I have a few Surveillance Categories that i want to measure the availability in Grafana.
Can i get it through opennms to grafana with the API?

It works fine with the example: curl -u demo:demo http://demo.opennms.org/opennms/rest/availability/categories/Web+Servers

But Web+Servers isn’t present in the surveillance category. It’s defined in categories.xml.
I guess i need to make a group for those categoires in that file.

Example:
I have four surveillance categories. I want all of them to show up as %availability in Grafana.

routers-customerX
1. router 1
2. router 2
switches-customerX
1. switch 1
2. switch 2
servers-customerX
1. server 1
2. server 2
wifi-customerX
1. accesspoint 1
2. accesspoint 2

Something like this: