I am trying to get traffic data out of telewell fw, I have been able to make device for it, and snmp query gives me:
"+ 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: 7
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 7
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.1' value: '1'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.2' value: '2'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.3' value: '3'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.4' value: '4'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.5' value: '5'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.6' value: '6'
+ Index found at OID: 'iso.3.6.1.2.1.2.2.1.1.7' value: '7'
+ 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]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Found item [ifOperStatus='Down'] index: 3 [from value]
+ Found item [ifOperStatus='Down'] index: 4 [from value]
+ Found item [ifOperStatus='Down'] index: 5 [from value]
+ Found item [ifOperStatus='Up'] index: 6 [from value]
+ Found item [ifOperStatus='Up'] index: 7 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='lo'] index: 1 [from value]
+ Found item [ifDescr='ipsec0'] index: 2 [from value]
+ Found item [ifDescr='ipsec1'] index: 3 [from value]
+ Found item [ifDescr='ipsec2'] index: 4 [from value]
+ Found item [ifDescr='ipsec3'] index: 5 [from value]
+ Found item [ifDescr='br0'] index: 6 [from value]
+ Found item [ifDescr='eth1'] index: 7 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='24'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [from value]
+ Found item [ifType='131'] index: 3 [from value]
+ Found item [ifType='131'] index: 4 [from value]
+ Found item [ifType='131'] index: 5 [from value]
+ Found item [ifType='6'] index: 6 [from value]
+ Found item [ifType='6'] index: 7 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='10000000'] index: 2 [from value]
+ Found item [ifSpeed='0'] index: 3 [from value]
+ Found item [ifSpeed='0'] index: 4 [from value]
+ Found item [ifSpeed='0'] index: 5 [from value]
+ Found item [ifSpeed='10000000'] index: 6 [from value]
+ Found item [ifSpeed='10000000'] index: 7 [from value]
+ Located input field 'ifHighSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.15'
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr='00:04:ED:44:07:D3'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr=''] index: 4 [from value]
+ Found item [ifHwAddr=''] index: 5 [from value]
+ Found item [ifHwAddr='00:04:ED:44:07:D2'] index: 6 [from value]
+ Found item [ifHwAddr='00:04:ED:44:07:D3'] index: 7 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='84.248.23.254'] index: 2 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found item [ifIP='192.168.1.254'] index: 6 [from regexp oid parse]"
But i get just no data out from it, nothing on graphs.
What input field should be used?
Thank you very much!
Vi Thanh.
Cacti SNMP and old telewell Firewall
Moderators: Developers, Moderators
Re: Cacti SNMP and old telewell Firewall
When I was trying to get data from old SNMP enabled devices, finding OID description was always very helpful.
Re: Cacti SNMP and old telewell Firewall
Please checkout the latest develop or 1.2.5 once it's released. There were significant re-index changes made in the code to address some corner cases, this one look like one of them. Should work better in 1.2.5.
Before history, there was a paradise, now dust.
Who is online
Users browsing this forum: No registered users and 0 guests