Localhost eth0 interface 64-bit/total bandwidth problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Devroush
Posts: 27
Joined: Sun Jan 22, 2006 7:35 am

Localhost eth0 interface 64-bit/total bandwidth problem

Post by Devroush »

Ok, strangle title but the problem itself is very weird :).

I set up a fresh Ubuntu 10.10 install with Cacti. All goes well but there's a problem: I can't create a graph for the eth0 interface on localhost in/out bytes with total bandwidth (64-bit counters).

After some investigation I find that it doesn't make an .rrd file to store the data in. Now the strange part is that it works just fine in the following cases:
- graph with total bandwidth and 32-bit counters
- graph without total bandwidth and 64-bit counters
- graph with total and 64-bit for loopback interface
- graph with total and 64-bit for eth0 interface of another host

snmpwalk gives result:
root@ubuntu:/var/lib/cacti/rra# snmpwalk -v2c -c public localhost .1.3.6.1.2.1.31.1.1.1.6.2
iso.3.6.1.2.1.31.1.1.1.6.2 = Counter64: 404609233

There are entries in the poller cache as well:
Image

And all seems to go well according to the logs:
Image

At this point I'm out of ideas. I was hoping some of you would have some more suggestions on what is causing this problem.

installed Cacti package is 0.8.7g-1.

Thanks!
Devroush
Posts: 27
Joined: Sun Jan 22, 2006 7:35 am

Re: Localhost eth0 interface 64-bit/total bandwidth problem

Post by Devroush »

Found out what the problem was:
the data source it creates always has Maximum Value for the fields traffic_in and traffic_out set to 0 for some reason. Changing it to 10000000 fixed the problem. I tried multiple times but every time I create a new one, the data source has this problem. Very strange :).
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests