Mapping rule with Last state level : [-1]


I’m using Grafana v7.5.7 (91de51771c) with Zabbix 5.4.0 as the data source. I’m configuring a Flowchart 0.9.0 (FlowCharting plugin for Grafana | Grafana Labs) panel.

I’ve made a network map panel to monitor our switches and servers, the elements of the panel become green when the host status is up and red when it is down.

I’ve created queries of ICMP ping for all monitored hosts (54 queries) and I’ve created individual Mapping rules to change the color of the panel elements according to the queries result. It worked at first but frequently (on the Mapping panel) all the rules show these values:

  • Last state level : [-1]
  • Raw value: []
  • Formatted value: []
  • Execution time: [0.00 ms]

At this time all the elements of the panel become white (not green even red).

Any help in solving (or improving my configuration) is very helpful.