New plugin added in plugins/newznab #113

Closed
wants to merge 3 commits into
from

Projects

None yet

5 participants

@jastrup
Contributor
jastrup commented May 14, 2012

This is a plugin to generate graphs for the newznab usenet indexer. Currently supports generating graphs for users, user downloads/api requests, and releases in total and by category.

@kenyon

Why not use the clean_fieldname provided in munin? http://munin-monitoring.org/wiki/notes_on_datasource_names

@steveschnepp
Member

Merged in 14bfe7f.
clean_fieldname fixed in 19673b2.

@Halfwalker

clean_fieldname() does NOT work for the category graph. Names are all numeric, so it translates them all to a single underscore.

Simple fix - replace clean_fieldname($ds->{name} with clean_fieldname($ds->{label} in 3 places.

@simonszu

Well, it would be great if you could specify which 3 places.
I am not really into perl or plugin programming, but i'd like to have a working category graph for my munin. And there are more than 3 places where clean_fieldname($ds->{name} is.

@kenyon
Member
kenyon commented Mar 8, 2013

I made the suggested change in commit 5fbf46a. See how it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment