not sure if it can be a cacti version problem, or a script problem, or probably I am the problem . The issue is that i have and old version of cacti (0.8.6.j) running a .xml data query to collect Bind9 statistics. I installed a new cacti updated to the last version (0.8.7.e), and exported the data query used in the 0.8.6j version with its dependences (host template, graph template, etc...). Then, I added the same host in the new version that I was montoring perfectly with the last one. Every Graph template and data query in the new one works perfectly, but the data query for Bind9 statistics doesn't.
I tried to troubleshoot it issuing "verbose query" in the bind9 statistics data query, getting this result:
Code: Select all
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/aplicaciones/cacti-0.8.7e/resource/snmp_queries/bind9-stats-snmp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2021.55.1'
+ No SNMP data returned
+ Found data query XML file at '/aplicaciones/cacti-0.8.7e/resource/snmp_queries/bind9-stats-snmp.xml'
+ Found data query XML file at '/aplicaciones/cacti-0.8.7e/resource/snmp_queries/bind9-stats-snmp.xml'
+ Found data query XML file at '/aplicaciones/cacti-0.8.7e/resource/snmp_queries/bind9-stats-snmp.xml'
Code: Select all
lognet4:/aplicaciones/cacti/resource/snmp_queries # snmpbulkwalk -c <community> -v2c <host> .1.3.6.1.4.1.2021.55.1
UCD-SNMP-MIB::ucdavis.55.1.1 = INTEGER: 1
Same server to query, from different cacti servers. Same data query configured (exported from the old one and imported in the new one), and it doesn't work in the new one. Do I have to be careful with any specific issue when exporting the data template? Any idea of how can I continue the troubleshooting?
Thanks in advance.