Hello Friends.
I have a newly installed CACTI on windows that was working OK with the Default computer and a test Sonicwall on my own LAN. I tried to monitor the SNMP - Interfaces for another SonicWALL outside of my network but I'm having some weird results.
I can get the Basic info (uptime, contact, name) OK, but when I try to get the SNMP - Interfaces info, I get this:
Total: 0.000000, Delta: 0.000000, Found data query XML file at 'C:/Apache24/htdocs/cacti/resource/snmp_queries/interface.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [4].
Total: 0.000000, Delta: 0.000000, Found Type = '3' [SNMP Query].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.000000, Delta: 0.000000, Auto Bulk Walk Size Selected.
Total: 2.450000, Delta: 2.450000, Tested Bulk Walk Size 1 with a response of 2.4510.
Total: 3.480000, Delta: 1.030000, Tested Bulk Walk Size 5 with a response of 1.0303.
Total: 4.520000, Delta: 1.030000, Tested Bulk Walk Size 10 with a response of 1.0315.
Total: 4.520000, Delta: 0.000000, Bulk Walk Size selected was 5.
Total: 5.550000, Delta: 1.030000, Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count:
Total: 5.550000, Delta: 0.000000, Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
Total: 5.550000, Delta: 0.000000, No SNMP data returned
I was thinking that maybe some firewall or nat or something in the middle was causing the issue, but if I run snmpget from the same computer to the same device I get:
snmpget -v 2c -c hidden X.X.X.75 .1.3.6.1.2.1.2.1.0
IF-MIB::ifNumber.0 = INTEGER: 9
The same command ran against the SonicWall that is running fine show:
C:\Users\rafael>snmpget -v 2c -c hidden X.X.X.1 .1.3.6.1.2.1.2.1.0
IF-MIB::ifNumber.0 = INTEGER: 15
So why .75 SonicWall is failing to gather data from the interface but is answering just fine on the SnmpGet, I checked community name on Cacti and is OK, what else can I check?
This is the debug response from the .1 firewall (the one OK) for SNMP - Interfaces
Total: 0.000000, Delta: 0.000000, Found data query XML file at 'C:/Apache24/htdocs/cacti/resource/snmp_queries/interface.xml'
Total: 0.000000, Delta: 0.000000, Running Data Query [4].
Total: 0.000000, Delta: 0.000000, Found Type = '3' [SNMP Query].
Total: 0.000000, Delta: 0.000000, XML file parsed ok.
Total: 0.000000, Delta: 0.000000, Auto Bulk Walk Size Selected.
Total: 0.070000, Delta: 0.060000, Tested Bulk Walk Size 1 with a response of 0.0638.
Total: 0.150000, Delta: 0.090000, Tested Bulk Walk Size 5 with a response of 0.0875.
Total: 0.150000, Delta: 0.000000, Bulk Walk Size selected was 1.
Total: 0.160000, Delta: 0.000000, Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count: 15
Total: 0.160000, Delta: 0.000000, Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 15
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.1' value: '1'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.2' value: '2'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.3' value: '3'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.4' value: '4'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.5' value: '5'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.6' value: '6'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.7' value: '7'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.8' value: '8'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.9' value: '9'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.10' value: '10'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.11' value: '11'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.12' value: '12'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.268438021' value: '268438021'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.268438533' value: '268438533'
Total: 0.160000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.268439041' value: '268439041'
snmpget OK but CACTI NO (No SNMP data returned)
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Tue Jun 21, 2022 3:45 pm
-
- Posts: 2
- Joined: Tue Jun 21, 2022 3:45 pm
[Solved] snmpget OK but CACTI NO (No SNMP data returned)
When I was posting this question I notice the time difference for both debug logs were important, so I started to test many options for threads and SNMP timeout and I found this was the issue, I'm going to left the post in case it help someone else.
Who is online
Users browsing this forum: No registered users and 7 guests