grafana-zabbix icon indicating copy to clipboard operation
grafana-zabbix copied to clipboard

RegEXP in tags on problem panel.

Open serrrios opened this issue 2 years ago • 10 comments

Hello! Need support for regexp in tags in the problem panel to avoid unnecessary problems.

image

serrrios avatar Apr 07 '22 09:04 serrrios

Hi, I had a lot of headaches with the regex to exclude hostgroups, i think is the same for tags Can you try with?

/((?!NOALERT).)*/

Mi regex to exclude "build" and show 24x7 is:

/^((?!BUILD).)*24x7/

Hope this can help you.

gdeleon23 avatar Apr 11 '22 14:04 gdeleon23

Hi! Do you use problems view in Zabbix? Ho do you use tags there? It's tricky to implement regex filter for tags since it's not supported by Zabbix API. It supports like operator which can make filtering more flexible, so maybe I can add it at least.

alexanderzobnin avatar Apr 29 '22 13:04 alexanderzobnin

I am facing the same problem.

@alexanderzobnin In zabbix problems view to not show the tag "component:updates" we filter the tags like this: zabbix_problem_tags

Zabbix v6.0.6 Grafana v9.0.1 Zabbix plugin v4.2.9

I hope this helps

TheMonkeyBrain avatar Aug 17 '22 06:08 TheMonkeyBrain

Another solution could be the use of the dashboard settings variables with the regexfilter. But it doesn't look like i can get the tags through that.

TheMonkeyBrain avatar Aug 17 '22 08:08 TheMonkeyBrain

@alexanderzobnin Mr.Zobnin, our team needs this feature vey much

lomobot avatar Aug 31 '22 15:08 lomobot

Me too

mrgolangv avatar Aug 31 '22 15:08 mrgolangv

@alexanderzobnin It might be very usefull for my team too.

klavik avatar Aug 31 '22 15:08 klavik

@alexanderzobnin very necessary functionality!

timnorm avatar Aug 31 '22 15:08 timnorm

@alexanderzobnin yep, this feature could be awesome to have!

ttamiozzo avatar Sep 12 '23 12:09 ttamiozzo

Any news about this feature? T clould be good to exclude problems by filtering tags by regex

demanuPL avatar Mar 08 '24 12:03 demanuPL