mikaku / Monitorix

Monitorix is a free, open source, lightweight system monitoring tool.
https://www.monitorix.org
GNU General Public License v2.0
1.12k stars 167 forks source link

Adding additional network interfaces gives odd results #17

Closed mjhilt closed 11 years ago

mjhilt commented 11 years ago

Using monitorix 3.1.0 ubuntu 12.04

When using any interface device other than eth0, my network usage graphs indicate that I get petabyte/s transfer speeds. I checked, and I'm not downloading the internet every few seconds, so some averaging must be off. Here is one example config and /proc/net/dev output. I'd be happy to dig up more info if needed.

========= Config File Snip =====================

list = bond0, eth0, eth1 bond0 = Bonding Interface, 0, 10000000 eth0 = FastEthernet LAN, 0, 10000000 eth1 = FastEthernet LAN, 0, 10000000 gateway = bond0
mikaku commented 11 years ago

I'm using network interface device names other than eth0 and I've never experienced something like this. Can you, please, check in /var/log/monitorix to see if there are some error messages that could help us a bit?

Thanks.

mjhilt commented 11 years ago

There were plenty of error messages, but the only ones involving the "net" component that I saw were ERROR: while updating /var/lib/monitorix/net.rrd: could not lock RRD

This problem is occurring on several machines, and most of them have very long uptimes. Rebooting one of the machines seems to have fixed the issue for now, so I'll try that and let you know if/when it comes back.

mikaku commented 11 years ago

There were plenty of error messages, but the only ones involving the "net" component that I saw were ERROR: while updating /var/lib/monitorix/net.rrd: could not lock RRD

Looks like you have more than one instance of Monitorix running in your system. Please, check it and let me know.

mjhilt commented 11 years ago

You are correct. Killing the extra processes fixed the problem.

mikaku commented 11 years ago

OK, thanks.