[SOLVED] Graphing int's on Netgear GS748TPS/GS724TPS switch

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

Moderators: Developers, Moderators

Post Reply
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

[SOLVED] Graphing int's on Netgear GS748TPS/GS724TPS switch

Post by adri4ng »

Hello,

I've just deployed two new Netgear GS748TPS and I'm running into problems getting the SNMP Interface polling to work.

The switches are stacked using their stacking capability so I should be able to poll all the data from the primary switch. When I run a verbose query this is what I get:

Code: Select all

+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count: 318
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
+ No SNMP data returned
Though if I do a walk I get all the information I should need:

Code: Select all

IF-MIB::ifNumber.0 = INTEGER: 318
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
....

IF-MIB::ifIndex.300 = INTEGER: 300
IF-MIB::ifIndex.1000 = INTEGER: 1000
IF-MIB::ifIndex.1001 = INTEGER: 1001
IF-MIB::ifIndex.1002 = INTEGER: 1002
IF-MIB::ifIndex.1003 = INTEGER: 1003
IF-MIB::ifIndex.1004 = INTEGER: 1004
IF-MIB::ifIndex.1005 = INTEGER: 1005
IF-MIB::ifIndex.1006 = INTEGER: 1006
IF-MIB::ifIndex.1007 = INTEGER: 1007
IF-MIB::ifIndex.9000 = INTEGER: 9000
IF-MIB::ifIndex.100000 = INTEGER: 100000
IF-MIB::ifIndex.100001 = INTEGER: 100001
IF-MIB::ifIndex.100221 = INTEGER: 100221
IF-MIB::ifIndex.101345 = INTEGER: 101345
IF-MIB::ifIndex.101565 = INTEGER: 101565
IF-MIB::ifIndex.101566 = INTEGER: 101566
IF-MIB::ifIndex.102881 = INTEGER: 102881
IF-MIB::ifIndex.102951 = INTEGER: 102951
IF-MIB::ifIndex.300000 = INTEGER: 300000
IF-MIB::ifDescr.1 = STRING: Ethernet Interface
IF-MIB::ifDescr.2 = STRING: Ethernet Interface
IF-MIB::ifDescr.3 = STRING: Ethernet Interface
....
IF-MIB::ifDescr.1006 = STRING: Ethernet Interface
IF-MIB::ifDescr.1007 = STRING: Ethernet Interface
IF-MIB::ifDescr.9000 = STRING: Internal Interface
IF-MIB::ifDescr.100000 = STRING: vlan
IF-MIB::ifDescr.100001 = STRING: vlan
IF-MIB::ifDescr.100221 = STRING: vlan
IF-MIB::ifDescr.101345 = STRING: vlan
IF-MIB::ifDescr.101565 = STRING: vlan
IF-MIB::ifDescr.101566 = STRING: vlan
IF-MIB::ifDescr.102881 = STRING: vlan
IF-MIB::ifDescr.102951 = STRING: vlan
IF-MIB::ifDescr.300000 = STRING: vlan
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
.....
IF-MIB::ifInOctets.5 = Counter32: 1406333
IF-MIB::ifInOctets.6 = Counter32: 6445195
IF-MIB::ifInOctets.7 = Counter32: 1450
IF-MIB::ifInOctets.8 = Counter32: 3163818
IF-MIB::ifInOctets.9 = Counter32: 12775623
IF-MIB::ifInOctets.10 = Counter32: 0
IF-MIB::ifInOctets.11 = Counter32: 0
IF-MIB::ifInOctets.12 = Counter32: 110258385
IF-MIB::ifInOctets.13 = Counter32: 271837150
IF-MIB::ifInOctets.14 = Counter32: 0
IF-MIB::ifInOctets.15 = Counter32: 0
IF-MIB::ifInOctets.16 = Counter32: 12200910
IF-MIB::ifInOctets.17 = Counter32: 0
IF-MIB::ifInOctets.18 = Counter32: 0

....

IF-MIB::ifOutOctets.27 = Counter32: 2267982456
IF-MIB::ifOutOctets.28 = Counter32: 0
IF-MIB::ifOutOctets.29 = Counter32: 0
IF-MIB::ifOutOctets.30 = Counter32: 2077951391
IF-MIB::ifOutOctets.31 = Counter32: 0
IF-MIB::ifOutOctets.32 = Counter32: 0
IF-MIB::ifOutOctets.33 = Counter32: 0
IF-MIB::ifOutOctets.34 = Counter32: 256
IF-MIB::ifOutOctets.35 = Counter32: 2079051661
IF-MIB::ifOutOctets.36 = Counter32: 0

Sorry for the lengthy output, there should be 96 physical ports to graph. I've trimmed it down to just some excerpts.

Does anyone have experience with these switches? I'm thinking maybe I just need to change the OID in the query and make a custom xml file for querying the Netgear switches since the regular SNMP query works correctly on everything else I've tried. I'm a little green when it comes to MIBs and OIDs though so I'm hoping i'm not the first person to want to graph switches like these.
Last edited by adri4ng on Tue Sep 18, 2012 6:31 am, edited 1 time in total.
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by classen »

I'm polling a GS724Tv3 and three older GS724Tv1/2 with no problems. The older switches with older firmware aren't qute as friendly as the newer switch which provides ifAlias, but they all work:

Here is a snippit from a verbose query:

Code: Select all

Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/path/to/cacti-0.8.8a/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count: 29
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 29
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.1' value: '1'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.2' value: '2'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.3' value: '3'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.4' value: '4'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.5' value: '5'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.6' value: '6'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.7' value: '7'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.8' value: '8'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.9' value: '9'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.10' value: '10'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.11' value: '11'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.12' value: '12'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.13' value: '13'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.14' value: '14'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.15' value: '15'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.16' value: '16'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.17' value: '17'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.18' value: '18'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.19' value: '19'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.20' value: '20'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.21' value: '21'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.22' value: '22'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.23' value: '23'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.24' value: '24'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.51' value: '51'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.52' value: '52'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.53' value: '53'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.54' value: '54'
+ Index found at OID: '1.3.6.1.2.1.2.2.1.1.55' value: '55'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='7'] index: 7 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Found item [ifIndex='10'] index: 10 [from value]
+ Found item [ifIndex='11'] index: 11 [from value]
+ Found item [ifIndex='12'] index: 12 [from value]
+ Found item [ifIndex='13'] index: 13 [from value]
+ Found item [ifIndex='14'] index: 14 [from value]
+ Found item [ifIndex='15'] index: 15 [from value]
+ Found item [ifIndex='16'] index: 16 [from value]
+ Found item [ifIndex='17'] index: 17 [from value]
+ Found item [ifIndex='18'] index: 18 [from value]
+ Found item [ifIndex='19'] index: 19 [from value]
+ Found item [ifIndex='20'] index: 20 [from value]
+ Found item [ifIndex='21'] index: 21 [from value]
+ Found item [ifIndex='22'] index: 22 [from value]
+ Found item [ifIndex='23'] index: 23 [from value]
+ Found item [ifIndex='24'] index: 24 [from value]
et
etc
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by adri4ng »

Bizarre. I'm running the current firmware (5.2.0.5) and Cacti 0.8.8a.
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by classen »

Not sure if it matter but your ifIndex goes to 300000, and mine only goes to 24.

Do you have an unstacked switch you could try to see if somehow stacking two switches messes up the snmp query?
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by adri4ng »

I do not, and I can't unstack these as they're now in production.
Soup
Cacti User
Posts: 66
Joined: Tue Aug 07, 2012 10:02 am

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by Soup »

What happens when you run a query @ .1.3.6.1.2.1.2.2.1.1 against the device?
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by adri4ng »

I get INTEGER values returned for what looks like all the 'interfaces' including the LAGs and vlans:

Code: Select all

# snmpwalk -v 2c -c xxxxxxx x.x.x.x .1.3.6.1.2.1.2.2.1.1
iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
iso.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3
iso.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4
iso.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5
iso.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6
iso.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7
iso.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8
iso.3.6.1.2.1.2.2.1.1.9 = INTEGER: 9
iso.3.6.1.2.1.2.2.1.1.10 = INTEGER: 10
iso.3.6.1.2.1.2.2.1.1.11 = INTEGER: 11
iso.3.6.1.2.1.2.2.1.1.12 = INTEGER: 12
iso.3.6.1.2.1.2.2.1.1.13 = INTEGER: 13
iso.3.6.1.2.1.2.2.1.1.14 = INTEGER: 14
iso.3.6.1.2.1.2.2.1.1.15 = INTEGER: 15
iso.3.6.1.2.1.2.2.1.1.16 = INTEGER: 16
iso.3.6.1.2.1.2.2.1.1.17 = INTEGER: 17
iso.3.6.1.2.1.2.2.1.1.18 = INTEGER: 18
iso.3.6.1.2.1.2.2.1.1.19 = INTEGER: 19
iso.3.6.1.2.1.2.2.1.1.20 = INTEGER: 20
iso.3.6.1.2.1.2.2.1.1.21 = INTEGER: 21
iso.3.6.1.2.1.2.2.1.1.22 = INTEGER: 22
iso.3.6.1.2.1.2.2.1.1.23 = INTEGER: 23
iso.3.6.1.2.1.2.2.1.1.24 = INTEGER: 24
iso.3.6.1.2.1.2.2.1.1.25 = INTEGER: 25
iso.3.6.1.2.1.2.2.1.1.26 = INTEGER: 26
iso.3.6.1.2.1.2.2.1.1.27 = INTEGER: 27
iso.3.6.1.2.1.2.2.1.1.28 = INTEGER: 28
iso.3.6.1.2.1.2.2.1.1.29 = INTEGER: 29
iso.3.6.1.2.1.2.2.1.1.30 = INTEGER: 30
iso.3.6.1.2.1.2.2.1.1.31 = INTEGER: 31
iso.3.6.1.2.1.2.2.1.1.32 = INTEGER: 32
iso.3.6.1.2.1.2.2.1.1.33 = INTEGER: 33
iso.3.6.1.2.1.2.2.1.1.34 = INTEGER: 34
iso.3.6.1.2.1.2.2.1.1.35 = INTEGER: 35
iso.3.6.1.2.1.2.2.1.1.36 = INTEGER: 36
iso.3.6.1.2.1.2.2.1.1.37 = INTEGER: 37
iso.3.6.1.2.1.2.2.1.1.38 = INTEGER: 38
iso.3.6.1.2.1.2.2.1.1.39 = INTEGER: 39
iso.3.6.1.2.1.2.2.1.1.40 = INTEGER: 40
iso.3.6.1.2.1.2.2.1.1.41 = INTEGER: 41
iso.3.6.1.2.1.2.2.1.1.42 = INTEGER: 42
iso.3.6.1.2.1.2.2.1.1.43 = INTEGER: 43
iso.3.6.1.2.1.2.2.1.1.44 = INTEGER: 44
iso.3.6.1.2.1.2.2.1.1.45 = INTEGER: 45
iso.3.6.1.2.1.2.2.1.1.46 = INTEGER: 46
iso.3.6.1.2.1.2.2.1.1.47 = INTEGER: 47
iso.3.6.1.2.1.2.2.1.1.48 = INTEGER: 48
iso.3.6.1.2.1.2.2.1.1.49 = INTEGER: 49
iso.3.6.1.2.1.2.2.1.1.50 = INTEGER: 50
iso.3.6.1.2.1.2.2.1.1.51 = INTEGER: 51
iso.3.6.1.2.1.2.2.1.1.52 = INTEGER: 52
iso.3.6.1.2.1.2.2.1.1.53 = INTEGER: 53
iso.3.6.1.2.1.2.2.1.1.54 = INTEGER: 54
iso.3.6.1.2.1.2.2.1.1.55 = INTEGER: 55
iso.3.6.1.2.1.2.2.1.1.56 = INTEGER: 56
iso.3.6.1.2.1.2.2.1.1.57 = INTEGER: 57
iso.3.6.1.2.1.2.2.1.1.58 = INTEGER: 58
iso.3.6.1.2.1.2.2.1.1.59 = INTEGER: 59
iso.3.6.1.2.1.2.2.1.1.60 = INTEGER: 60
iso.3.6.1.2.1.2.2.1.1.61 = INTEGER: 61
iso.3.6.1.2.1.2.2.1.1.62 = INTEGER: 62
iso.3.6.1.2.1.2.2.1.1.63 = INTEGER: 63
iso.3.6.1.2.1.2.2.1.1.64 = INTEGER: 64
iso.3.6.1.2.1.2.2.1.1.65 = INTEGER: 65
iso.3.6.1.2.1.2.2.1.1.66 = INTEGER: 66
iso.3.6.1.2.1.2.2.1.1.67 = INTEGER: 67
iso.3.6.1.2.1.2.2.1.1.68 = INTEGER: 68
iso.3.6.1.2.1.2.2.1.1.69 = INTEGER: 69
iso.3.6.1.2.1.2.2.1.1.70 = INTEGER: 70
iso.3.6.1.2.1.2.2.1.1.71 = INTEGER: 71
iso.3.6.1.2.1.2.2.1.1.72 = INTEGER: 72
iso.3.6.1.2.1.2.2.1.1.73 = INTEGER: 73
iso.3.6.1.2.1.2.2.1.1.74 = INTEGER: 74
iso.3.6.1.2.1.2.2.1.1.75 = INTEGER: 75
iso.3.6.1.2.1.2.2.1.1.76 = INTEGER: 76
iso.3.6.1.2.1.2.2.1.1.77 = INTEGER: 77
iso.3.6.1.2.1.2.2.1.1.78 = INTEGER: 78
iso.3.6.1.2.1.2.2.1.1.79 = INTEGER: 79
iso.3.6.1.2.1.2.2.1.1.80 = INTEGER: 80
iso.3.6.1.2.1.2.2.1.1.81 = INTEGER: 81
iso.3.6.1.2.1.2.2.1.1.82 = INTEGER: 82
iso.3.6.1.2.1.2.2.1.1.83 = INTEGER: 83
iso.3.6.1.2.1.2.2.1.1.84 = INTEGER: 84
iso.3.6.1.2.1.2.2.1.1.85 = INTEGER: 85
iso.3.6.1.2.1.2.2.1.1.86 = INTEGER: 86
iso.3.6.1.2.1.2.2.1.1.87 = INTEGER: 87
iso.3.6.1.2.1.2.2.1.1.88 = INTEGER: 88
iso.3.6.1.2.1.2.2.1.1.89 = INTEGER: 89
iso.3.6.1.2.1.2.2.1.1.90 = INTEGER: 90
iso.3.6.1.2.1.2.2.1.1.91 = INTEGER: 91
iso.3.6.1.2.1.2.2.1.1.92 = INTEGER: 92
iso.3.6.1.2.1.2.2.1.1.93 = INTEGER: 93
iso.3.6.1.2.1.2.2.1.1.94 = INTEGER: 94
iso.3.6.1.2.1.2.2.1.1.95 = INTEGER: 95
iso.3.6.1.2.1.2.2.1.1.96 = INTEGER: 96
iso.3.6.1.2.1.2.2.1.1.97 = INTEGER: 97
iso.3.6.1.2.1.2.2.1.1.98 = INTEGER: 98
iso.3.6.1.2.1.2.2.1.1.99 = INTEGER: 99
iso.3.6.1.2.1.2.2.1.1.100 = INTEGER: 100
iso.3.6.1.2.1.2.2.1.1.101 = INTEGER: 101
iso.3.6.1.2.1.2.2.1.1.102 = INTEGER: 102
iso.3.6.1.2.1.2.2.1.1.103 = INTEGER: 103
iso.3.6.1.2.1.2.2.1.1.104 = INTEGER: 104
iso.3.6.1.2.1.2.2.1.1.105 = INTEGER: 105
iso.3.6.1.2.1.2.2.1.1.106 = INTEGER: 106
iso.3.6.1.2.1.2.2.1.1.107 = INTEGER: 107
iso.3.6.1.2.1.2.2.1.1.108 = INTEGER: 108
iso.3.6.1.2.1.2.2.1.1.109 = INTEGER: 109
iso.3.6.1.2.1.2.2.1.1.110 = INTEGER: 110
iso.3.6.1.2.1.2.2.1.1.111 = INTEGER: 111
iso.3.6.1.2.1.2.2.1.1.112 = INTEGER: 112
iso.3.6.1.2.1.2.2.1.1.113 = INTEGER: 113
iso.3.6.1.2.1.2.2.1.1.114 = INTEGER: 114
iso.3.6.1.2.1.2.2.1.1.115 = INTEGER: 115
iso.3.6.1.2.1.2.2.1.1.116 = INTEGER: 116
iso.3.6.1.2.1.2.2.1.1.117 = INTEGER: 117
iso.3.6.1.2.1.2.2.1.1.118 = INTEGER: 118
iso.3.6.1.2.1.2.2.1.1.119 = INTEGER: 119
iso.3.6.1.2.1.2.2.1.1.120 = INTEGER: 120
iso.3.6.1.2.1.2.2.1.1.121 = INTEGER: 121
iso.3.6.1.2.1.2.2.1.1.122 = INTEGER: 122
iso.3.6.1.2.1.2.2.1.1.123 = INTEGER: 123
iso.3.6.1.2.1.2.2.1.1.124 = INTEGER: 124
iso.3.6.1.2.1.2.2.1.1.125 = INTEGER: 125
iso.3.6.1.2.1.2.2.1.1.126 = INTEGER: 126
iso.3.6.1.2.1.2.2.1.1.127 = INTEGER: 127
iso.3.6.1.2.1.2.2.1.1.128 = INTEGER: 128
iso.3.6.1.2.1.2.2.1.1.129 = INTEGER: 129
iso.3.6.1.2.1.2.2.1.1.130 = INTEGER: 130
iso.3.6.1.2.1.2.2.1.1.131 = INTEGER: 131
iso.3.6.1.2.1.2.2.1.1.132 = INTEGER: 132
iso.3.6.1.2.1.2.2.1.1.133 = INTEGER: 133
iso.3.6.1.2.1.2.2.1.1.134 = INTEGER: 134
iso.3.6.1.2.1.2.2.1.1.135 = INTEGER: 135
iso.3.6.1.2.1.2.2.1.1.136 = INTEGER: 136
iso.3.6.1.2.1.2.2.1.1.137 = INTEGER: 137
iso.3.6.1.2.1.2.2.1.1.138 = INTEGER: 138
iso.3.6.1.2.1.2.2.1.1.139 = INTEGER: 139
iso.3.6.1.2.1.2.2.1.1.140 = INTEGER: 140
iso.3.6.1.2.1.2.2.1.1.141 = INTEGER: 141
iso.3.6.1.2.1.2.2.1.1.142 = INTEGER: 142
iso.3.6.1.2.1.2.2.1.1.143 = INTEGER: 143
iso.3.6.1.2.1.2.2.1.1.144 = INTEGER: 144
iso.3.6.1.2.1.2.2.1.1.145 = INTEGER: 145
iso.3.6.1.2.1.2.2.1.1.146 = INTEGER: 146
iso.3.6.1.2.1.2.2.1.1.147 = INTEGER: 147
iso.3.6.1.2.1.2.2.1.1.148 = INTEGER: 148
iso.3.6.1.2.1.2.2.1.1.149 = INTEGER: 149
iso.3.6.1.2.1.2.2.1.1.150 = INTEGER: 150
iso.3.6.1.2.1.2.2.1.1.151 = INTEGER: 151
iso.3.6.1.2.1.2.2.1.1.152 = INTEGER: 152
iso.3.6.1.2.1.2.2.1.1.153 = INTEGER: 153
iso.3.6.1.2.1.2.2.1.1.154 = INTEGER: 154
iso.3.6.1.2.1.2.2.1.1.155 = INTEGER: 155
iso.3.6.1.2.1.2.2.1.1.156 = INTEGER: 156
iso.3.6.1.2.1.2.2.1.1.157 = INTEGER: 157
iso.3.6.1.2.1.2.2.1.1.158 = INTEGER: 158
iso.3.6.1.2.1.2.2.1.1.159 = INTEGER: 159
iso.3.6.1.2.1.2.2.1.1.160 = INTEGER: 160
iso.3.6.1.2.1.2.2.1.1.161 = INTEGER: 161
iso.3.6.1.2.1.2.2.1.1.162 = INTEGER: 162
iso.3.6.1.2.1.2.2.1.1.163 = INTEGER: 163
iso.3.6.1.2.1.2.2.1.1.164 = INTEGER: 164
iso.3.6.1.2.1.2.2.1.1.165 = INTEGER: 165
iso.3.6.1.2.1.2.2.1.1.166 = INTEGER: 166
iso.3.6.1.2.1.2.2.1.1.167 = INTEGER: 167
iso.3.6.1.2.1.2.2.1.1.168 = INTEGER: 168
iso.3.6.1.2.1.2.2.1.1.169 = INTEGER: 169
iso.3.6.1.2.1.2.2.1.1.170 = INTEGER: 170
iso.3.6.1.2.1.2.2.1.1.171 = INTEGER: 171
iso.3.6.1.2.1.2.2.1.1.172 = INTEGER: 172
iso.3.6.1.2.1.2.2.1.1.173 = INTEGER: 173
iso.3.6.1.2.1.2.2.1.1.174 = INTEGER: 174
iso.3.6.1.2.1.2.2.1.1.175 = INTEGER: 175
iso.3.6.1.2.1.2.2.1.1.176 = INTEGER: 176
iso.3.6.1.2.1.2.2.1.1.177 = INTEGER: 177
iso.3.6.1.2.1.2.2.1.1.178 = INTEGER: 178
iso.3.6.1.2.1.2.2.1.1.179 = INTEGER: 179
iso.3.6.1.2.1.2.2.1.1.180 = INTEGER: 180
iso.3.6.1.2.1.2.2.1.1.181 = INTEGER: 181
iso.3.6.1.2.1.2.2.1.1.182 = INTEGER: 182
iso.3.6.1.2.1.2.2.1.1.183 = INTEGER: 183
iso.3.6.1.2.1.2.2.1.1.184 = INTEGER: 184
iso.3.6.1.2.1.2.2.1.1.185 = INTEGER: 185
iso.3.6.1.2.1.2.2.1.1.186 = INTEGER: 186
iso.3.6.1.2.1.2.2.1.1.187 = INTEGER: 187
iso.3.6.1.2.1.2.2.1.1.188 = INTEGER: 188
iso.3.6.1.2.1.2.2.1.1.189 = INTEGER: 189
iso.3.6.1.2.1.2.2.1.1.190 = INTEGER: 190
iso.3.6.1.2.1.2.2.1.1.191 = INTEGER: 191
iso.3.6.1.2.1.2.2.1.1.192 = INTEGER: 192
iso.3.6.1.2.1.2.2.1.1.193 = INTEGER: 193
iso.3.6.1.2.1.2.2.1.1.194 = INTEGER: 194
iso.3.6.1.2.1.2.2.1.1.195 = INTEGER: 195
iso.3.6.1.2.1.2.2.1.1.196 = INTEGER: 196
iso.3.6.1.2.1.2.2.1.1.197 = INTEGER: 197
iso.3.6.1.2.1.2.2.1.1.198 = INTEGER: 198
iso.3.6.1.2.1.2.2.1.1.199 = INTEGER: 199
iso.3.6.1.2.1.2.2.1.1.200 = INTEGER: 200
iso.3.6.1.2.1.2.2.1.1.201 = INTEGER: 201
iso.3.6.1.2.1.2.2.1.1.202 = INTEGER: 202
iso.3.6.1.2.1.2.2.1.1.203 = INTEGER: 203
iso.3.6.1.2.1.2.2.1.1.204 = INTEGER: 204
iso.3.6.1.2.1.2.2.1.1.205 = INTEGER: 205
iso.3.6.1.2.1.2.2.1.1.206 = INTEGER: 206
iso.3.6.1.2.1.2.2.1.1.207 = INTEGER: 207
iso.3.6.1.2.1.2.2.1.1.208 = INTEGER: 208
iso.3.6.1.2.1.2.2.1.1.209 = INTEGER: 209
iso.3.6.1.2.1.2.2.1.1.210 = INTEGER: 210
iso.3.6.1.2.1.2.2.1.1.211 = INTEGER: 211
iso.3.6.1.2.1.2.2.1.1.212 = INTEGER: 212
iso.3.6.1.2.1.2.2.1.1.213 = INTEGER: 213
iso.3.6.1.2.1.2.2.1.1.214 = INTEGER: 214
iso.3.6.1.2.1.2.2.1.1.215 = INTEGER: 215
iso.3.6.1.2.1.2.2.1.1.216 = INTEGER: 216
iso.3.6.1.2.1.2.2.1.1.217 = INTEGER: 217
iso.3.6.1.2.1.2.2.1.1.218 = INTEGER: 218
iso.3.6.1.2.1.2.2.1.1.219 = INTEGER: 219
iso.3.6.1.2.1.2.2.1.1.220 = INTEGER: 220
iso.3.6.1.2.1.2.2.1.1.221 = INTEGER: 221
iso.3.6.1.2.1.2.2.1.1.222 = INTEGER: 222
iso.3.6.1.2.1.2.2.1.1.223 = INTEGER: 223
iso.3.6.1.2.1.2.2.1.1.224 = INTEGER: 224
iso.3.6.1.2.1.2.2.1.1.225 = INTEGER: 225
iso.3.6.1.2.1.2.2.1.1.226 = INTEGER: 226
iso.3.6.1.2.1.2.2.1.1.227 = INTEGER: 227
iso.3.6.1.2.1.2.2.1.1.228 = INTEGER: 228
iso.3.6.1.2.1.2.2.1.1.229 = INTEGER: 229
iso.3.6.1.2.1.2.2.1.1.230 = INTEGER: 230
iso.3.6.1.2.1.2.2.1.1.231 = INTEGER: 231
iso.3.6.1.2.1.2.2.1.1.232 = INTEGER: 232
iso.3.6.1.2.1.2.2.1.1.233 = INTEGER: 233
iso.3.6.1.2.1.2.2.1.1.234 = INTEGER: 234
iso.3.6.1.2.1.2.2.1.1.235 = INTEGER: 235
iso.3.6.1.2.1.2.2.1.1.236 = INTEGER: 236
iso.3.6.1.2.1.2.2.1.1.237 = INTEGER: 237
iso.3.6.1.2.1.2.2.1.1.238 = INTEGER: 238
iso.3.6.1.2.1.2.2.1.1.239 = INTEGER: 239
iso.3.6.1.2.1.2.2.1.1.240 = INTEGER: 240
iso.3.6.1.2.1.2.2.1.1.241 = INTEGER: 241
iso.3.6.1.2.1.2.2.1.1.242 = INTEGER: 242
iso.3.6.1.2.1.2.2.1.1.243 = INTEGER: 243
iso.3.6.1.2.1.2.2.1.1.244 = INTEGER: 244
iso.3.6.1.2.1.2.2.1.1.245 = INTEGER: 245
iso.3.6.1.2.1.2.2.1.1.246 = INTEGER: 246
iso.3.6.1.2.1.2.2.1.1.247 = INTEGER: 247
iso.3.6.1.2.1.2.2.1.1.248 = INTEGER: 248
iso.3.6.1.2.1.2.2.1.1.249 = INTEGER: 249
iso.3.6.1.2.1.2.2.1.1.250 = INTEGER: 250
iso.3.6.1.2.1.2.2.1.1.251 = INTEGER: 251
iso.3.6.1.2.1.2.2.1.1.252 = INTEGER: 252
iso.3.6.1.2.1.2.2.1.1.253 = INTEGER: 253
iso.3.6.1.2.1.2.2.1.1.254 = INTEGER: 254
iso.3.6.1.2.1.2.2.1.1.255 = INTEGER: 255
iso.3.6.1.2.1.2.2.1.1.256 = INTEGER: 256
iso.3.6.1.2.1.2.2.1.1.257 = INTEGER: 257
iso.3.6.1.2.1.2.2.1.1.258 = INTEGER: 258
iso.3.6.1.2.1.2.2.1.1.259 = INTEGER: 259
iso.3.6.1.2.1.2.2.1.1.260 = INTEGER: 260
iso.3.6.1.2.1.2.2.1.1.261 = INTEGER: 261
iso.3.6.1.2.1.2.2.1.1.262 = INTEGER: 262
iso.3.6.1.2.1.2.2.1.1.263 = INTEGER: 263
iso.3.6.1.2.1.2.2.1.1.264 = INTEGER: 264
iso.3.6.1.2.1.2.2.1.1.265 = INTEGER: 265
iso.3.6.1.2.1.2.2.1.1.266 = INTEGER: 266
iso.3.6.1.2.1.2.2.1.1.267 = INTEGER: 267
iso.3.6.1.2.1.2.2.1.1.268 = INTEGER: 268
iso.3.6.1.2.1.2.2.1.1.269 = INTEGER: 269
iso.3.6.1.2.1.2.2.1.1.270 = INTEGER: 270
iso.3.6.1.2.1.2.2.1.1.271 = INTEGER: 271
iso.3.6.1.2.1.2.2.1.1.272 = INTEGER: 272
iso.3.6.1.2.1.2.2.1.1.273 = INTEGER: 273
iso.3.6.1.2.1.2.2.1.1.274 = INTEGER: 274
iso.3.6.1.2.1.2.2.1.1.275 = INTEGER: 275
iso.3.6.1.2.1.2.2.1.1.276 = INTEGER: 276
iso.3.6.1.2.1.2.2.1.1.277 = INTEGER: 277
iso.3.6.1.2.1.2.2.1.1.278 = INTEGER: 278
iso.3.6.1.2.1.2.2.1.1.279 = INTEGER: 279
iso.3.6.1.2.1.2.2.1.1.280 = INTEGER: 280
iso.3.6.1.2.1.2.2.1.1.281 = INTEGER: 281
iso.3.6.1.2.1.2.2.1.1.282 = INTEGER: 282
iso.3.6.1.2.1.2.2.1.1.283 = INTEGER: 283
iso.3.6.1.2.1.2.2.1.1.284 = INTEGER: 284
iso.3.6.1.2.1.2.2.1.1.285 = INTEGER: 285
iso.3.6.1.2.1.2.2.1.1.286 = INTEGER: 286
iso.3.6.1.2.1.2.2.1.1.287 = INTEGER: 287
iso.3.6.1.2.1.2.2.1.1.288 = INTEGER: 288
iso.3.6.1.2.1.2.2.1.1.289 = INTEGER: 289
iso.3.6.1.2.1.2.2.1.1.290 = INTEGER: 290
iso.3.6.1.2.1.2.2.1.1.291 = INTEGER: 291
iso.3.6.1.2.1.2.2.1.1.292 = INTEGER: 292
iso.3.6.1.2.1.2.2.1.1.293 = INTEGER: 293
iso.3.6.1.2.1.2.2.1.1.294 = INTEGER: 294
iso.3.6.1.2.1.2.2.1.1.295 = INTEGER: 295
iso.3.6.1.2.1.2.2.1.1.296 = INTEGER: 296
iso.3.6.1.2.1.2.2.1.1.297 = INTEGER: 297
iso.3.6.1.2.1.2.2.1.1.298 = INTEGER: 298
iso.3.6.1.2.1.2.2.1.1.299 = INTEGER: 299
iso.3.6.1.2.1.2.2.1.1.300 = INTEGER: 300
iso.3.6.1.2.1.2.2.1.1.1000 = INTEGER: 1000
iso.3.6.1.2.1.2.2.1.1.1001 = INTEGER: 1001
iso.3.6.1.2.1.2.2.1.1.1002 = INTEGER: 1002
iso.3.6.1.2.1.2.2.1.1.1003 = INTEGER: 1003
iso.3.6.1.2.1.2.2.1.1.1004 = INTEGER: 1004
iso.3.6.1.2.1.2.2.1.1.1005 = INTEGER: 1005
iso.3.6.1.2.1.2.2.1.1.1006 = INTEGER: 1006
iso.3.6.1.2.1.2.2.1.1.1007 = INTEGER: 1007
iso.3.6.1.2.1.2.2.1.1.9000 = INTEGER: 9000
iso.3.6.1.2.1.2.2.1.1.100000 = INTEGER: 100000
iso.3.6.1.2.1.2.2.1.1.100001 = INTEGER: 100001
iso.3.6.1.2.1.2.2.1.1.100221 = INTEGER: 100221
iso.3.6.1.2.1.2.2.1.1.101345 = INTEGER: 101345
iso.3.6.1.2.1.2.2.1.1.101565 = INTEGER: 101565
iso.3.6.1.2.1.2.2.1.1.101566 = INTEGER: 101566
iso.3.6.1.2.1.2.2.1.1.102881 = INTEGER: 102881
iso.3.6.1.2.1.2.2.1.1.102951 = INTEGER: 102951
iso.3.6.1.2.1.2.2.1.1.300000 = INTEGER: 300000
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by classen »

I also get integers for 24 ports and 4 vlans.

Code: Select all

$ snmpwalk -v 2c -c xxxxx 192.168.xxx.xxx .1.3.6.1.2.1.2.2.1.1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifIndex.12 = INTEGER: 12
IF-MIB::ifIndex.13 = INTEGER: 13
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.15 = INTEGER: 15
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.17 = INTEGER: 17
IF-MIB::ifIndex.18 = INTEGER: 18
IF-MIB::ifIndex.19 = INTEGER: 19
IF-MIB::ifIndex.20 = INTEGER: 20
IF-MIB::ifIndex.21 = INTEGER: 21
IF-MIB::ifIndex.22 = INTEGER: 22
IF-MIB::ifIndex.23 = INTEGER: 23
IF-MIB::ifIndex.24 = INTEGER: 24
IF-MIB::ifIndex.51 = INTEGER: 51
IF-MIB::ifIndex.52 = INTEGER: 52
IF-MIB::ifIndex.53 = INTEGER: 53
IF-MIB::ifIndex.54 = INTEGER: 54
IF-MIB::ifIndex.55 = INTEGER: 55
BTW, does your community name happen to have any "weird" characters in it?
Soup
Cacti User
Posts: 66
Joined: Tue Aug 07, 2012 10:02 am

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by Soup »

Strange that you're getting values from the snmpwalk, but getting:

Code: Select all

+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
in the verbose query...
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by adri4ng »

It is strange. The community string is about as normal as it gets.

It might be worth mentioning that I have an old modular switch with more than 96 ports which gave me no grief setting up in Cacti... So I don't really think it's an issue of just getting too many results back.


The query also takes ~6 seconds to return in my browser.
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by adri4ng »

RESOLVED!!!

I thought it was strange that it would take ~6 seconds to return '0' results, turns out i just had to increase the SNMP timeout value for this host to 8000ms and then it would wait long enough for the SNMP query to complete successfully.

The root issue is that because these are stackable switches, the OIDs already exist for ports that aren't present. Currently I have switchports g1/1-48 and g2/1-48. There's also OIDs for g3/1-48, g4/1-48 etc etc.

You can also graph the stack interfaces (10gbps FDX link between switches) which is pretty cool too, and you can graph the individual ports in a LAG (port channel) as well as the aggregate.

I hope this thread helps someone else in my position.
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: Graphing interfaces on Netgear GS748TPS/GS724TPS switche

Post by classen »

Excellent.
remember to edit the title of the thread and add [SOLVED] to the beginning.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests