Modify

Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#220 closed defect (fixed)

rrdcollect bug (wasn't fixed)

Reported by: David <weese@…> Owned by: olli
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: 2.0
Keywords: rrdcollect Cc:

Description

The rrdcollect bug was not fixed.

As described in ticket #198, getting stats from /proc/net/dev fails, when too many packets are received on the interfaces. Then there is no white space between "eth1:" and the following number in /proc/net/dev and the search pattern in /etc/rrdcollect.conf doesn't match. When you remove the space in /etc/rrdcollect.conf between " eth1:" and the following "%d", rrdcollect works only after receiving 10000000 packets on the interfaces.

The bug is in rrdcollect. If it would scan lines like scanf does and skip white spaces before converting numbers the "rrdcollect bug" could be fixed. I have done that today and sent a patch to sourceforge.org.

Btw, The leading (Florian called bogus) spaces in /etc/rrdcollect.conf are important to skip the leading spaces in /proc/net/dev, etc.!

1.Please revert the last changes of rrdcollect.conf

2.Remove only the spaces between "eth1:" and the following "%d". Repeat that for the other interfaces below "file:///proc/dev/net" respectively.

When steps 1-2 and the rrdcollect patch on sourceforge will be applied this bug will be fixed. So we'll wait...

So far,
Greets
Dave

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by olli

  • Milestone set to 2.0
  • Owner changed from developers to olli
  • Version set to 2.0

comment:2 Changed 12 years ago by olli

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

Fixed in revision [3033].

Thanks for reporting.

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

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.