-
Notifications
You must be signed in to change notification settings - Fork 460
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
Variables: option to only return enabled Zabbix hosts #362
Comments
Sorry, but I can't add this option because datasource hasn't control over template variable editor. May be I can add it as data source option, but it will affect all variables belonging to given datasource. |
I think even if it affects all variables in the datasource, it is a nice option to have. Thanks. |
Maybe it could be implemented in metrics, like "Show disabled items" one? |
But why do you need to hide disabled hosts? Because by default only enabled Items will be shown. |
Hi I think it still shows if at the template/host level the item is disabled , but the host itself is active I get server versions as a table in grafana, but for disabled servers, i would get an empty line in grafana. I also get an empty line for server with an unsupported items or one where the scripts bug parsing the version and return empty data. In that case i need to fix my script or whatever. But if i disabled the host in zabbix, this means i don't want/care about that data anymore and just want to keep the archived data for future reference. To me it would seems fair to allow for a filter at the datasource level , if this can not be done as a grafana metric option.(at worst we could create a datasource for all hosts and one for active only hosts) |
Because if there are many disabled hosts, filtering by hosts is really inconvenient, since you have to scroll down again and again. |
@urusha you could just start to type hostname and reduce the list of suggested hosts. |
@alexanderzobnin I could, but is it convenient? If I see 5 hosts with different names [a-z] instead of 100, I could easily mark them in a few secs without any typing... More over, if I get no data after choosing the particular host, I can not even determine if the host is enabled or not, or if the item is enabled or not (disabled / unsupported / has no values). |
Indeed, like other ones, when we have many servers and the old ones are only deactivated and not deleted on Zabbix, this is very annoying to scroll down on Grafana on dashbords that display metrics with repetitive panels based on hosts. Will it be supported in the future? |
ye this one is actually extremely important |
This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions! |
I'm submitting a ...
Hello,
Right now when you create a template variable and your query, for example, is simply
*.*
then it will return all hosts. Even the hosts that are indisabled
state are returned. I think an option to return onlyenabled
hosts would be nice to have.Thanks.
The text was updated successfully, but these errors were encountered: