Cisco 6500 : problem for creating interface graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Cisco 6500 : problem for creating interface graph

Post by French_Poul »

Hello,

I just want to graph some interface of a cisco 6500, but when I want to create a new graph, I can't create a graph for the interface... as you can see in the picture attached (picture 2)...

In the picture 1 attached, we can see the SNMP information, and the data query debug information.

Another thing : SNMP gives me an IP address that isn't the IP address of the 6500 :

Code: Select all

+ Found item [ifIP='x.x.x.x'] index: 1 [from regexp oid parse]
How can I do ? There is an other data query (interfaces statistics) specially for cisco 6500 ?

Thanks in advance for your help!
Attachments
pb cisco 6500.JPG
pb cisco 6500.JPG (93.16 KiB) Viewed 3314 times
pb cisco 6500 2.JPG
pb cisco 6500 2.JPG (108.56 KiB) Viewed 3314 times
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Normally when these items are grey, it means the graphs are already created.

I use für my Cisco 6500 the following template, which just works fine: http://forums.cacti.net/about4844.html
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

It is not for the graph templates (this work! :D ) ; but see the data query on the picture 2.
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Did you try to manually snmpwalk your cisco 6500?

Maybe something with your SNMP settings in the device settings are wrong.

Edit: If SNMPwalk works with the same settings and you have controlled your snmpsettings inside the device settings, have a look here: http://bugs.cacti.net/view.php?id=1361
Matches your Cacti version 0.8.7b
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

Did you try to manually snmpwalk your cisco 6500?
No, I try, but I don't have the password to connect me...
But, this switch is already graphed on a "old" cacti (I have installed a new Cacti) ; and it works perfectly... and yet, I have the same parameters... except the version of RRDTool that is 1.0.x on the old cacti, and 1.2.x on the new (but I use the 1.3.1!). The errors can come from that ? :cry:
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Sirup wrote:Did you try to manually snmpwalk your cisco 6500?

Maybe something with your SNMP settings in the device settings are wrong.

Edit: If SNMPwalk works with the same settings and you have controlled your snmpsettings inside the device settings, have a look here: http://bugs.cacti.net/view.php?id=1361
Matches your Cacti version 0.8.7b
Did you read my edits too?
French_Poul wrote: No, I try, but I don't have the password to connect me...
But, this switch is already graphed on a "old" cacti (I have installed a new Cacti) ; and it works perfectly... and yet, I have the same parameters... except the version of RRDTool that is 1.0.x on the old cacti, and 1.2.x on the new (but I use the 1.3.1!). The errors can come from that ?
Well, you do not have the SNMP settings? How did you set your snmp settings inside cacti, when you do not know them? When you set up a new cacti, you must have entered the snmp settings somewhere?

RRDTool, I think, has nothing to do with that, because it's not used for retrieving data.

I think it's kind of hard to troubleshoot your problems, when you do not know your snmp settings.

My suggestion is:
a) verify your snmp settings inside cacti
b) snmp walk your 6500 from outside cacti
c) check the bug report (whats the version of your new cacti? Also 0.8.7.b?)
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

No, I haven't seen your edit...
Edit: If SNMPwalk works with the same settings and you have controlled your snmpsettings inside the device settings, have a look here: http://bugs.cacti.net/view.php?id=1361
Matches your Cacti version 0.8.7b
But, it seems that it's the same problem. I will see what I must do peacefully, because it seems a little complicate to understand for me (because it's in english).
Well, you do not have the SNMP settings?
I have the SNMP settings you can see on the picture attached.
How did you set your snmp settings inside cacti, when you do not know them?
If I understand good your question : simply when I go under console > settings > general > snmp.
When you set up a new cacti, you must have entered the snmp settings somewhere?
If it's the snmp.conf you want it's :

Code: Select all

#CONFIGURATION SNMP
dlmod cmaX /usr/lib/libcmaX.so
rwcommunity SiM2SnmPxx 127.0.0.1
rwcommunity SiM2SnmPxx X.X.X.X
rwcommunity SiM2SnmPxx X.X.X.X
rwcommunity SiM2SnmPxx X.X.X.X
trapcommunity SiM2SnmPxx
trapsink 172.22.51.12 SiM2SnmPxx
trapsink 172.22.190.10 SiM2SnmPxx
syscontact  xx@xx
syslocation xx/xx
# ---------------------- END --------------------
Else, it's that I don't understand your question... :(

My suggestion is:
a) verify your snmp settings inside cacti
b) snmp walk your 6500 from outside cacti
c) check the bug report (whats the version of your new cacti? Also 0.8.7.b?)
I will see your first link, and if it doesn't work, I will do that! :cry:
Attachments
snmp settings.JPG
snmp settings.JPG (50.95 KiB) Viewed 3274 times
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

I think you are using Cacti on a *nix-System?
Goto your *nix-Console and type:

Code: Select all

snmpwalk -v <snmp version you are using> -c <communitystring> <name of your 6500> system
Also try one of these:

Code: Select all

snmpwalk -v <snmp version you are using> -c <communitystring> <name of your 6500> .1.3.6.1.2.1.2.2.1.1
snmpwalk -v <snmp version you are using> -c <communitystring> <name of your 6500> .1.3.6.1.2.1.2.2.1.8
snmpwalk -v <snmp version you are using> -c <communitystring> <name of your 6500> .1.3.6.1.2.1.2.2.1.6
Does this work? What is the output on your console? If this doesn't work, something is wrong with your snmp settings or the snmp settings on your 6500 (but you said it works from a different cacti).
If it works then I think it's
a) wrong settings inside cacti (your screenshot) Also check the settings in console / management / device / <your6500> Are you really using snmpv2? or is it maybe v1?
b) bug report issue
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

I obtain :

Code: Select all

me@server:~$ snmpwalk -v2c -c com X.X.X.X system
SNMPv2-MIB::system = No more variables left in this MIB View (It is past the end of the MIB tree)
me@server:~$ snmpwalk -v2c -c com X.X.X.X .1.3.6.1.2.1.2.2.1.1
IF-MIB::ifIndex = No more variables left in this MIB View (It is past the end of the MIB tree)
me@server:~$ snmpwalk -v2c -c ecom X.X.X.X .1.3.6.1.2.1.2.2.1.8
IF-MIB::ifOperStatus = No more variables left in this MIB View (It is past the end of the MIB tree)
me@server:~$ snmpwalk -v2c -c com X.X.X.X .1.3.6.1.2.1.2.2.1.6
IF-MIB::ifPhysAddress = No more variables left in this MIB View (It is past the end of the MIB tree)
If I use an other version of snmp :

Code: Select all

me@server:~$ snmpwalk -v1 -c com X.X.X.X system
End of MIB
me@server:~$ snmpwalk -v1 -c com X.X.X.X .1.3.6.1.2.1.2.2.1.1
End of MIB
me@server:~$ snmpwalk -v1 -c com X.X.X.X .1.3.6.1.2.1.2.2.1.8
End of MIB
me@server:~$ snmpwalk -v1 -c com X.X.X.X .1.3.6.1.2.1.2.2.1.6
End of MIB
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

If you are 100% sure your SNMP communitystring, version and IP is correct - And also there is no additonal configuration on your 6500 (like need any kind of awkward permission to retrive MIBs) - I am quite sure it is an SNMP issue and not a cacti issue.

Otherwise I cannot help you anymore on that, maybe somebody more experienced can.
Last edited by Sirup on Thu Apr 22, 2010 4:54 am, edited 1 time in total.
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

If you are 100% sure your SNMP communitystring, version and IP is correct
For that I'm sure, because it's doesn't work with other cisco 6500...!
And also there is no additonal configuration on your 6500 (like need any kind of awkward permission to retrive MIBs)
I will see with network responsible...
I am quite sure it is an SNMP issue and not a cacti issue.
I will see... :cry:
Cannot help you on that, maybe somebody more experienced can help you.
I hope!

In any case, thanks for your help!! :wink:
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

French_Poul wrote:For that I'm sure, because it's doesn't work with other cisco 6500...!
So this snmp settings doesn't work with other 6500, how should the work with the specific one?

Last hint I can give you is to update your cacti - because bug report says 0.8.7b has some troubles similar to your issue.
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

So this snmp settings doesn't work with other 6500,
Hum...! :cry:
how should the work with the specific one?
I don't really understand the question... :(

The "old" cacti have all the cisco 6500, and all work. It is a 0.8.7.b version like the "new" cacti...!
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

I see we have some problems with communication. :)

Ok..
Are the SNMP settings in your old Cacti installation, where everything works fine, are the same SNMP settings as in your new Cacti Installation, where not everything works fine? Are these settings completely identical? (Also check inside the device, not only the default settings within Console/Configuration/settings)

The bug report, which I posted you, says version 0.8.7b - the version you run - has got a problem similar to yours. So an unliky solution (because snmpwalk doesn't work either) to your problem could be to upgrade your new cacti installation to e.g. 0.8.7e.
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
French_Poul
Cacti User
Posts: 105
Joined: Thu Apr 08, 2010 4:17 am
Location: France

Post by French_Poul »

Oooooooohhhhhhh....!! Sorry, sorry, sorry... :oops:

I'm really stupid... This switchs have a different community than the others switch...

I regret sincerely Sirup that you spend time for that... :oops:
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests