Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403961 - net-analyzer/munin: patch for if_err_.in results in invalid labels
Summary: net-analyzer/munin: patch for if_err_.in results in invalid labels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-02-15 21:43 UTC by Tom Hendrikx
Modified: 2012-05-07 23:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hendrikx 2012-02-15 21:43:11 UTC
The munin-1.4.6-if_-hardened.patch file in the portage tree generates output that does not match the config section of the same plugin. This results in empty graphs and error in the munin-update.log on the data collector:

2012/02/15 22:20:08 [WARNING] Service if_err_eth0 on julie.network.lan/10.0.0.1:4949 returned no data for label trans
2012/02/15 22:20:08 [WARNING] Service if_err_eth0 on julie.network.lan/10.0.0.1:4949 returned no data for label rcvd

To fix this, update the patch in line 201/202 to produce lines for labels 'trans' and 'rcvd' in stead of 'up' and 'down'.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-08 02:58:41 UTC
Diego, please fix since it is your patch. :)
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-03-08 03:15:14 UTC
uhm.. that's strange, but I'll work on it tomorrow, I'm almost ready to leave the office now :(
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-04-09 23:15:19 UTC
You're right Tom, thanks! Fixed now in -r5.
Comment 4 Brian De Wolf 2012-05-07 18:52:33 UTC
I see that the new patch is in files/ and the ChangeLog and this bug reference a -r5 ebuild but there isn't one in the repo.  Did you forget to commit it?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-07 23:43:46 UTC
It was in -r5 which got removed when 1.4.7 was introduced into the tree, it seems.