Dashboard variable is not listing all host groups

  • What Grafana version and what operating system are you using?
    grafana 11.3.1 on Oracle linux 9.4

  • What are you trying to achieve?
    list all host groups from a regexp.

  • How are you trying to achieve it?
    using regexp at variable “group” query , and all host groups have permission to read (zabbix plugin datasource).

  • What happened?
    the result should be 6 host groups and it is listing 5 host groups.

  • What did you expect to happen?
    query result 6 host groups

  • Can you copy/paste the configuration(s) that you are having problems with?
    regexp: /prod/w/.*/
    result : frontend , report, boletos, backend, agv, integration
    (“integration” is missing)

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    no errors

  • Did you follow any online instructions? If so, what is the URL?
    Variable syntax | Grafana documentation

Funny thing is group “prod/w/integration” is a valid entry of a Group item of any panel (table, time series, etc), so it is not related with permission.

What do the working values look like pre regex

Hi, host groups are :
prod/w/frontend
prod/w/report
prod/w/boletos
prod/w/backend
prod/w/agv
prod/w/integration

(and last one is not listed…)

Kindly notice regexp is a small detail , the main point is “why a valid host group is not listed in a variable ?”

regards,

Hi,
I figure out that I need to explicitly create a host group.
Previously it was created implicitly (when a non existent host group is typed at an host entry).
So, I removed and created again, now variable is working.
regards.

1 Like