-
Notifications
You must be signed in to change notification settings - Fork 680
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
varnish5_backend produces errors when updating metrics, Invalid DS Format
#1179
Comments
according to upstream documentation the field https://varnish-cache.org/docs/trunk/reference/varnish-counters.html#vbe-backend-counters so the varnish5_ plugin should parse the value and massage it into something that rrd/munin can digest... like maybe % successful probes. ... but it doesn't explain what the bits mean 😦 if I extrapolate from the ncurses output when calling ah but if I convert the huge number in binary form, I get exactly the same amount of 1's than the number of "H" signs that varnish displays on the "Happy" line when checking for backend status with |
with a probe mask that looks like this:
I get a "happy" value of 18446744073709551555 which looks like this in binary:
so it's exactly what I thought: it's a binary value for each probe, with the least significant bit representing the most recent probe and the most significant bit representing the oldest probe. This gives a good overview to start modifying the plugin so that it actually works. |
I'm having trouble implementing this though.. the plugin is coded in a super convoluted way, and from what I understand there isn't a good place for transforming data except maybe in the |
Stale issue message |
@kjetilho Since you worked on the To TL;DR this issue, when I use the Do you know where in the plugin we could implement that value modification in order to fix the |
Maybe we could simply discard this bit field value? |
Hi, I've started using the varnish5_ plugin to graph backend status with the "backend" aspect (e.g. linking the plugin to
varnish5_backend
) and I'm seeing errors like this inmunin_update.log
:And of course the graphs are not showing since the rrd files are missing.
when I run the plugin, I'm obtaining humongously big values like this, which probably explain why munin doesn't like the values:
those values are directly output by varnishstat:
The text was updated successfully, but these errors were encountered: