Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I'm working on setting up Cacti on my Gentoo server, mainly to monitor my bandwidth usage on my server. The problem is, I have four IP addresses, all of which are active (obviously). Here's what my ifconfig looks like:
However, when setting up smnp and adding the data query for "Interface Statistics", it only pulls the last IP address, 64.34.175.172, as well as localhost as options to setup and graph. After alot of trial and error and reading alot, I got lo and eth0 to graph, but I really need to get all four IP's graphed, as I need total bandwidth statistics, not just 1/4th. Any help would be greatly appriciated. Thanks!
IP aliases are not supported since kernel 2.2. (See man page of ifconfig). You'll have to use e.g.ipchains or the like. This was alrfeady discussed lots of times. So you may find more resources when searching the forums
Reinhard
koog wrote:I've the same problem on my gentoo box. I'm just wondering why ? why cacti doesn't support multiple ips on a single interface ????
This is not a Cacti issue.
This is an issue that SNMP IF-MIB is defined for the Physical Interface. A single Physical interface can have multiple IP addresses.
As suggested before, you have to use IP Chains to monitor IP based traffic.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]