I'm hoping this is really simple and I'm just overlooking a macro or something that does it. I'm looking for a way to send the data stored for the Duration column for the Problem dashboard when a host has been in a problem triggered state (in this situation, we're doing simple ping checks for up/down status for hosts) through to Grafana with the plugin by Alexander Zobnin.
The information that gets sent through to Grafana is populated via the Unavailable by ICMP Ping trigger and macros. The options available in the Grafana plugin seem to be geared around the trigger itself, so I was hoping there was a way to perhaps stick the duration value in the Description section with a macro, or whatever else might carry that information over (like {HOST.NAME}, etc.). The fields it can pull are host name, technical name, host groups, tags, status, severity, and description.
Basically, when the host problem has cleared and it is in a good green state, we want to keep a dashboard/panel pulled up that shows the recent history and if it could show how long they were in a down state from the duration, that would be super helpful. It may not be possible and we may just have to link a dashboard from Zabbix itself. In the picture I uploaded, it gives a timestamp of when it was resolved, but not how long it was in the state.
The information that gets sent through to Grafana is populated via the Unavailable by ICMP Ping trigger and macros. The options available in the Grafana plugin seem to be geared around the trigger itself, so I was hoping there was a way to perhaps stick the duration value in the Description section with a macro, or whatever else might carry that information over (like {HOST.NAME}, etc.). The fields it can pull are host name, technical name, host groups, tags, status, severity, and description.
Basically, when the host problem has cleared and it is in a good green state, we want to keep a dashboard/panel pulled up that shows the recent history and if it could show how long they were in a down state from the duration, that would be super helpful. It may not be possible and we may just have to link a dashboard from Zabbix itself. In the picture I uploaded, it gives a timestamp of when it was resolved, but not how long it was in the state.
Comment