Modify

Opened 6 years ago

Closed 3 years ago

#10343 closed defect (wontfix)

munin-node reports no traffic data (if_/if_err_)

Reported by: falstaff <stefan@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: muninlite Cc:

Description

Using Backfire (10.03.1-RC5, r27608) on a Netgear WDRN3700v2 the package muninlite seems not to report if_/if_err_ data when the interface name includes a hyphon (e.g. pppoe-wan). I just get NaN values on the graphs. I'm using a default munin server.

When I try to get the data manually, one can see that something is wrong:

telnet localhost 4949
# munin node at netgear
list
cpu if_eth0 if_eth1 if_eth0VLAN1 if_br_lan if_wlan0 if_wlan1 if_pppoe_wan if_err_eth0 if_err_eth1 if_err_eth0VLAN1 if_err_br_lan if_err_wlan0 if_err_wlan1 if_err_pppoe_wan load memory processes uptime interrupts irqstats
fetch if_pppoe_wan
down.value
up.value
.

It looks like the plugin renames the interfaces, but don't take account to the renamed device when fetching the data.

Attachments (2)

munin-data-manual.patch (781 bytes) - added by falstaff <stefan@…> 6 years ago.
Fix to patch /usr/sbin/munin-data directly
openwrt_muninlite_ifname.patch (1.3 KB) - added by lecoyote@… 6 years ago.
muninlite: allow hyphened if names, add pptp support

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by falstaff <stefan@…>

Fix to patch /usr/sbin/munin-data directly

comment:1 Changed 6 years ago by lecoyote@…

I have a different patch here. Instead of renaming the interface twice, I only use the de-hyphened name to create the function name. I have also added "pptp" in the list of potential interfaces.

Changed 6 years ago by lecoyote@…

muninlite: allow hyphened if names, add pptp support

comment:2 Changed 5 years ago by Romain Riviere <net+wrt@…>

The bug is still present in AA, and the patch still works.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:4 Changed 3 years ago by jogo

  • Resolution set to wontfix
  • Status changed from new to closed

Muninlite is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.
See https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md for details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.