Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regexp matching on item tag doesn't work when interface description contains a comma "," #1940

Open
hairy-frogfish opened this issue Jan 2, 2025 · 0 comments

Comments

@hairy-frogfish
Copy link

Hi,
I'm using grafana 11.4, zabbix plugin v 4.6 and zabbix version 6.0 with mysql DB.

I'm aiming to make a graph in grafana that contains all interfaces that have a description containing 'somestring'.

In grafanas edit-panel, selecting a specific interface does works correctly.
Selecting with a regexp match on interface name (e.g /port-channel/) works (all port channels are displayed as individual graph items... great!)

Selecting on interface description (e.g. /somestring/) works in principle, but breaks for interface descriptions containing a literal comma (",")

That means, only interfaces are selected, where items.name looks like
Interface Ethernet1/1(bla somestring blubb)
are matched, while
Interface Ethernet1/2(bla somestring blubb, bla)
is not matched (although the description is shown correctly in the drop down list for the item tag).

Unfortunately it's beyond my magic, to debug the reason for this behaviour.

Best regards
S.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant