can not get data!
geekwolf opened this issue · 1 comments
I have ten servers,but one of them can‘t get data!
- Running data query [23].
- Found type = '3' [SNMP Query].
- Found data query XML file at '/data/monitorcodes/cacti/resource/snmp_queries/iostat.xml'
- XML file parsed ok.
- <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
- Executing SNMP walk for list of indexes @ '.1.3.6.1.3.1' Index Count: 0
- No SNMP data returned
the client is the same:
snmpwalk -v1 -c public 192.168.1.61 .1.3.6.1.3.1.2 can't get data
I've had exactly the same problem with 3/4 RHEL6 machines (our Ubuntu-based servers were fine).
The results from an snmpwalk came back instantly on machine #1, but took 6 seconds on machines 2-4, resulting in cacti believing it wasn't getting any data. Even though snmpd is configured pretty much identically on all four...
How I've worked around the issue is to set in cacti for those devices:
snmp version = 1 (as v2 refused to give me iostat results, but works for the system-related graphs)
snmp timeout = 10000 (milliseconds) - longer than it takes to get a manual snmpwalk
max oids per request = 100