Multiple Interface Graphs for venet?
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Sun Jun 18, 2006 11:25 am
Multiple Interface Graphs for venet?
Hi, I have cacti all setup but for some reason I can't seem to create traffic graphs for all of my interfaces. I have the following interfaces:
venet0
venet0:1
venet0:2
But cacti for some reason doesn't have graph options for all of them. It looks like this:
Which is wierd because when I look at the verbose SNMP query down near the bottom I see:
+ Found item [ifIP='my.ip.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='my.ip.2'] index: 3 [from regexp oid parse]
+ Found item [ifIP='my.ip.3'] index: 3 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
Where my.ip.x are the IPs, each correspond to a different interface.
venet0
venet0:1
venet0:2
But cacti for some reason doesn't have graph options for all of them. It looks like this:
Which is wierd because when I look at the verbose SNMP query down near the bottom I see:
+ Found item [ifIP='my.ip.1'] index: 3 [from regexp oid parse]
+ Found item [ifIP='my.ip.2'] index: 3 [from regexp oid parse]
+ Found item [ifIP='my.ip.3'] index: 3 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
Where my.ip.x are the IPs, each correspond to a different interface.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Those are logical interfaces, the snmp ifoctets is onliy physical interfaces, hense why you only see one.
[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]
[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]
-
- Posts: 8
- Joined: Sun Jun 18, 2006 11:25 am
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You can't. At least there's no knows SNMP OID that repfresents the numbers you are interested in.SynVisions wrote:I figured as much, but how can I generate graphs of each logical interface?rony wrote:Those are logical interfaces, the snmp ifoctets is onliy physical interfaces, hense why you only see one.
But if you know a way to get the wanted info via some script or the like, then cacti will able to store and graph those values as cacti is able to integrate almost every script that returns some numbers ...
Reinhard
-
- Posts: 8
- Joined: Sun Jun 18, 2006 11:25 am
Well, it is probably important to note that each interface has 1 IP, and each has a unique IP, so a graph for each IP would be equivalent. There must be an easy known way to achieve that?lvm wrote:You can't. At least there's no knows SNMP OID that repfresents the numbers you are interested in.SynVisions wrote:I figured as much, but how can I generate graphs of each logical interface?rony wrote:Those are logical interfaces, the snmp ifoctets is onliy physical interfaces, hense why you only see one.
But if you know a way to get the wanted info via some script or the like, then cacti will able to store and graph those values as cacti is able to integrate almost every script that returns some numbers ...
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Still nogo. See (from man ifconfig)
ReinhardNOTES
Since kernel release 2.2 there are no explicit interface statistics for alias interfaces anymore. The statistics
printed for the original address are shared with all alias addresses on the same device. If you want per-address
statistics you should add explicit accounting rules for the address using the ipchains(8) command.
-
- Posts: 8
- Joined: Sun Jun 18, 2006 11:25 am
For what its worth, I found this guide here on how to do it: http://www.roth.lu/cacti-snmp-tut.htm
Finally got it working, took a lot of tinkering though and I don't think it's very accurate.
Finally got it working, took a lot of tinkering though and I don't think it's very accurate.
Re:
Hi SynVisions,SynVisions wrote:For what its worth, I found this guide here on how to do it: http://www.roth.lu/cacti-snmp-tut.htm
Finally got it working, took a lot of tinkering though and I don't think it's very accurate.
I am trying to do the same setup as you and used the same URL, however i have not been successful in setting up the graphing of these interfaces. Would you be able to let me know how you went about it and if there were issues on the URL above, would you mind telling me what they were?
Thanks.
Who is online
Users browsing this forum: No registered users and 2 guests