I had recently installed Cacti and I am trying to add new device to Cacti. Cacti able to pool device on SNMP however not discovering interface through verbose query.
In debug SNMP is discovering interfaces however getting error
"This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information."
Any help will be greatly appreciated.
Debug output is as follows: -
+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/www/htdocs/cacti/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: 8
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 8
+ 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.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'
+ 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='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]
+ 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='Up'] 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]
+ Found item [ifOperStatus='Up'] index: 8 [from value]
+ Found item [ifOperStatus='Up'] index: 9 [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='GigabitEthernet0/0'] index: 1 [from value]
+ Found item [ifDescr='GigabitEthernet0/1'] index: 2 [from value]
+ Found item [ifDescr='Null0'] index: 4 [from value]
+ Found item [ifDescr='Group-Async0'] index: 5 [from value]
+ Found item [ifDescr='GigabitEthernet0/1.791'] index: 6 [from value]
+ Found item [ifDescr='GigabitEthernet0/1.792'] index: 7 [from value]
+ Found item [ifDescr='GigabitEthernet0/1.793'] index: 8 [from value]
+ Found item [ifDescr='GigabitEthernet0/1.794'] index: 9 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='Gi0/0'] index: 1 [from value]
+ Found item [ifName='Gi0/1'] index: 2 [from value]
+ Found item [ifName='Nu0'] index: 4 [from value]
+ Found item [ifName='Gr0'] index: 5 [from value]
+ Found item [ifName='Gi0/1.791'] index: 6 [from value]
+ Found item [ifName='Gi0/1.792'] index: 7 [from value]
+ Found item [ifName='Gi0/1.793'] index: 8 [from value]
+ Found item [ifName='Gi0/1.794'] index: 9 [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias=''] index: 1 [from value]
+ Found item [ifAlias=''] index: 2 [from value]
+ Found item [ifAlias=''] index: 4 [from value]
+ Found item [ifAlias=''] index: 5 [from value]
+ Found item [ifAlias=''] index: 6 [from value]
+ Found item [ifAlias=''] index: 7 [from value]
+ Found item [ifAlias=''] index: 8 [from value]
+ Found item [ifAlias=''] index: 9 [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd'] index: 2 [from value]
+ Found item [ifType='other'] index: 4 [from value]
+ Found item [ifType='slip'] index: 5 [from value]
+ Found item [ifType='l2vlan'] index: 6 [from value]
+ Found item [ifType='l2vlan'] index: 7 [from value]
+ Found item [ifType='l2vlan'] index: 8 [from value]
+ Found item [ifType='l2vlan'] index: 9 [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='1000000000'] index: 1 [from value]
+ Found item [ifSpeed='100000000'] index: 2 [from value]
+ Found item [ifSpeed='4294967295'] index: 4 [from value]
+ Found item [ifSpeed='1000000'] index: 5 [from value]
+ Found item [ifSpeed='100000000'] index: 6 [from value]
+ Found item [ifSpeed='100000000'] index: 7 [from value]
+ Found item [ifSpeed='100000000'] index: 8 [from value]
+ Found item [ifSpeed='100000000'] index: 9 [from value]
+ Located input field 'ifHighSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.15'
+ Found item [ifHighSpeed='1000'] index: 1 [from value]
+ Found item [ifHighSpeed='100'] index: 2 [from value]
+ Found item [ifHighSpeed='10000'] index: 4 [from value]
+ Found item [ifHighSpeed='1'] index: 5 [from value]
+ Found item [ifHighSpeed='100'] index: 6 [from value]
+ Found item [ifHighSpeed='100'] index: 7 [from value]
+ Found item [ifHighSpeed='100'] index: 8 [from value]
+ Found item [ifHighSpeed='100'] index: 9 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:1A:2F:5C:90:10'] index: 1 [from value]
+ Found item [ifHwAddr='00:1A:2F:5C:90:11'] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 4 [from value]
+ Found item [ifHwAddr=''] index: 5 [from value]
+ Found item [ifHwAddr='00:1A:2F:5C:90:11'] index: 6 [from value]
+ Found item [ifHwAddr='00:1A:2F:5C:90:11'] index: 7 [from value]
+ Found item [ifHwAddr='00:1A:2F:5C:90:11'] index: 8 [from value]
+ Found item [ifHwAddr='00:1A:2F:5C:90:11'] index: 9 [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='10.200.8.65'] index: 6 [from regexp oid parse]
+ Found item [ifIP='10.200.8.69'] index: 7 [from regexp oid parse]
+ Found item [ifIP='10.200.8.94'] index: 1 [from regexp oid parse]
+ Found item [ifIP='10.200.8.113'] index: 9 [from regexp oid parse]
+ Found item [ifIP='192.168.213.10'] index: 8 [from regexp oid parse]
[solved] This data query returned 0 rows
Moderators: Developers, Moderators
-
- Posts: 40
- Joined: Sun Oct 21, 2012 10:42 pm
Re: This data query returned 0 rows, perhaps there was a pro
that output looks correct. Possibly try increasing the snmp timeout and/or decreasing the number of OIDs retrieved for that device.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 40
- Joined: Sun Oct 21, 2012 10:42 pm
Re: This data query returned 0 rows, perhaps there was a pro
Thanks for your comments.
I did tried that as well however with no luck . please help me if there is anything i just overlooked during configuration
I did tried that as well however with no luck . please help me if there is anything i just overlooked during configuration
Re: This data query returned 0 rows, perhaps there was a pro
screen shot of the error.
what's the snmp timeout and oid settings for that device?
what's the snmp timeout and oid settings for that device?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 40
- Joined: Sun Oct 21, 2012 10:42 pm
Re: This data query returned 0 rows, perhaps there was a pro
I missed SNMP patch during installation which I did yesterday and its working fine for me.
I Appreciate you to look into this issue.
Thanks a ton
I Appreciate you to look into this issue.
Thanks a ton
Who is online
Users browsing this forum: No registered users and 3 guests