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

Include macro filtering for hosts #1921

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ozarrouki
Copy link

Summary:

Support for Query Types: Added support for querying user macro names and user macro values.
Filtering Hosts: Implemented the ability to filter hosts in Zabbix using user macro names and values.
Regex Filtering: Enhanced filtering capabilities by adding support for regular expression (regex) filtering on user macro names and values.
These changes aim to improve the flexibility and precision of host filtering in Zabbix, making it easier to manage and visualize data in Grafana.

Changes:

Added query types for user macro names and values.
Implemented filtering logic for hosts based on user macros.
Added regex support for user macro filtering in Variable settings.

Screeshots:

image

image

image

image

@ozarrouki ozarrouki requested a review from a team as a code owner November 25, 2024 17:07
@CLAassistant
Copy link

CLAassistant commented Nov 25, 2024

CLA assistant check
All committers have signed the CLA.

@zoltanbedi
Copy link
Member

Can you please open an issue for this first where you describe the problem that you are trying to solve?

@ozarrouki
Copy link
Author

Hello

here is the linked issue to this request :
#1926

Makefile Outdated Show resolved Hide resolved
debug-backend.sh Outdated Show resolved Hide resolved
devenv/zas-agent/run_zas_agent.sh Outdated Show resolved Hide resolved
docs/make-docs Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
@zoltanbedi
Copy link
Member

Also you need to accept the CLA.

@ozarrouki ozarrouki force-pushed the include-macro-filtering-for-hosts branch from e196872 to 4fb5863 Compare December 10, 2024 14:41
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these files show as modifed when they were not i added a space to see the contents

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these files show as modifed when they were not i added a space to see the contents

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these files show as modifed when they were not i added a space to see the contents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants