[SRU] Munin core plugin "if_" doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Lucas Kanashiro | ||
Yakkety |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The network interface traffic metric plugin reports invalid values for network speed interface (negative values).
This is the upstream fix for this issue:
https:/
[Test Case]
Install munin and call the plugin checking for the network interface config:
$ multipass launch -n munin-test daily:16.04
$ multipass shell munin-test
$ sudo apt update && sudo apt upgrade -y
$ sudo apt install munin -y
$ sudo munin-run if_ens4 config | tail -n 3
up.max -1000000
up.info Traffic of the ens4 interface. Maximum speed is -1 Mb/s.
down.max -1000000
[Regression Potential]
The risk of a regression is quite small, it is one-line change and it now checks if the value is greater than 0 instead of checking for the size of the returned string. However, if a regression is going to happen it will be in the network interface traffic metric plugin, more specifically regarding the interface speed metric.
[Original description]
The munin core plugin for network interface traffic metric, "if_", registers invalid values on the master side because the configuration phase does not report valid network speed interface. Reports negative range (up.max is negative, while up.min is 0), and thus registers as NaN by the master, even though the node itself sends valid numbers:
# munin-run if_ens3 config
.
.
.
up.min 0
up.max -1000000
up.info Traffic of the ens3 interface. Maximum speed is -1 Mb/s.
down.max -1000000
# munin-run if_ens3
down.value 107758093
up.value 77710387
See also: https:/
The bug has been fixed upstream:
https:/
Related branches
- Sergio Durigan Junior (community): Approve
- Canonical Server MOTU reviewers: Pending requested
-
Diff: 55 lines (+33/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/0005-Do-not-report-speed-below-0-for-network-devices.patch (+25/-0)
debian/patches/series (+1/-0)
Changed in munin (Ubuntu Yakkety): | |
status: | New → Won't Fix |
Changed in munin (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in munin (Ubuntu Xenial): | |
assignee: | nobody → Lucas Kanashiro (lucaskanashiro) |
status: | Triaged → In Progress |
description: | updated |
summary: |
- Munin core plugin "if_" doesn't work + [SRU] Munin core plugin "if_" doesn't work |
Ubuntu 16.04, server.
# apt-cache policy munin-plugins-core 2ubuntu0. 16.04.3 2ubuntu0. 16.04.3 2ubuntu0. 16.04.3 500 security. ubuntu. com/ubuntu xenial- security/ universe amd64 Packages archive. ubuntu. com/ubuntu xenial- updates/ universe amd64 Packages dpkg/status archive. ubuntu. com/ubuntu xenial/universe amd64 Packages
munin-plugins-core:
Installed: 2.0.25-
Candidate: 2.0.25-
Version table:
*** 2.0.25-
500 http://
500 http://
100 /var/lib/
2.0.25-2 500
500 http://