-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Varnish template improvements & v7 changes #348
Comments
linceaerian
changed the title
Varnish template doc improvement
Varnish template improvements
Mar 26, 2024
linceaerian
changed the title
Varnish template improvements
Varnish template improvements & v7 changes
Mar 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Maintainer(s),
I would suggest adding in the doc of the varnish template:
Varnish group / access
Please note that in order for the template to work, access must be given to your zabbix user to access varnishd.
Ex:
Userparameter in place of system.run
In case people does not want to activate system.run, which can lead to vuln
If you prefer use UserParameter, you can:
UserParameter=varnish.stat,varnishstat -j
in you Zabbix configurationVarnish JSON changes
Also I found that the JSON for some version of varnish is different, so maybe use a macro for the "get status" post processing to use in case the data use the new version.
Ex of data for varnish > 7.0
I updated mine by adding "$.counters" in the post processing for get status.
Cache hit rate
The cache hit rate item should be updated to avoid division by 0 when no traffic, either in updating the JS (clean) or a catch in the post processing for failure (less clean).
Ex:
Same problem for "Cache hit rate 5m" => divide by zero.
Main sesssion drop
The stat MAIN.sess_drop has been renamed MAIN.sess_dropped.
Thanks for the template, have a good day :)
The text was updated successfully, but these errors were encountered: