I've created a data query to get the Disk Inodes from a server trough snmp.
I've created the Data query XML file, the data template and graph template.
When adding the data query to the host i get all the nice data out of it:
Code: Select all
+ Running data query [11].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/opt/cacti/resource/snmp_queries/host_diskinodes.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.4.1.2021.9.1.1' Index Count: 13
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.1' value: '1'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.2' value: '2'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.3' value: '3'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.4' value: '4'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.5' value: '5'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.6' value: '6'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.7' value: '7'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.8' value: '8'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.9' value: '9'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.10' value: '10'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.11' value: '11'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.12' value: '12'
+ Index found at OID: '1.3.6.1.4.1.2021.9.1.1.13' value: '13'
+ Located input field 'hrDiskInodeIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2021.9.1.1'
+ Found item [hrDiskInodeIndex='1'] index: 1 [from value]
+ Found item [hrDiskInodeIndex='2'] index: 2 [from value]
+ Found item [hrDiskInodeIndex='3'] index: 3 [from value]
+ Found item [hrDiskInodeIndex='4'] index: 4 [from value]
+ Found item [hrDiskInodeIndex='5'] index: 5 [from value]
+ Found item [hrDiskInodeIndex='6'] index: 6 [from value]
+ Found item [hrDiskInodeIndex='7'] index: 7 [from value]
+ Found item [hrDiskInodeIndex='8'] index: 8 [from value]
+ Found item [hrDiskInodeIndex='9'] index: 9 [from value]
+ Found item [hrDiskInodeIndex='10'] index: 10 [from value]
+ Found item [hrDiskInodeIndex='11'] index: 11 [from value]
+ Found item [hrDiskInodeIndex='12'] index: 12 [from value]
+ Found item [hrDiskInodeIndex='13'] index: 13 [from value]
+ Located input field 'hrDiskInodeDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2021.9.1.2'
+ Found item [hrDiskInodeDescr='/'] index: 1 [from value]
+ Found item [hrDiskInodeDescr='/lib/init/rw'] index: 2 [from value]
+ Found item [hrDiskInodeDescr='/proc'] index: 3 [from value]
+ Found item [hrDiskInodeDescr='/sys'] index: 4 [from value]
+ Found item [hrDiskInodeDescr='/dev'] index: 5 [from value]
+ Found item [hrDiskInodeDescr='/dev/shm'] index: 6 [from value]
+ Found item [hrDiskInodeDescr='/dev/pts'] index: 7 [from value]
+ Found item [hrDiskInodeDescr='/opt'] index: 8 [from value]
+ Found item [hrDiskInodeDescr='/tmp'] index: 9 [from value]
+ Found item [hrDiskInodeDescr='/usr'] index: 10 [from value]
+ Found item [hrDiskInodeDescr='/var'] index: 11 [from value]
+ Found item [hrDiskInodeDescr='/opt/cacti'] index: 12 [from value]
+ Found item [hrDiskInodeDescr='/var/lib/mysql'] index: 13 [from value]
When going to "Create graphs for this host" I can create all the graphs and they will get the correct naming.
But... the graphs are not being shown ( even after a while waiting )
So been checking it out further, and it seems that the RRD files aren't being created.
After doing some debugging with Spine even on verbose level 10 it seems that the Data sources are not being processed at all.
Already been looking trough http://docs.cacti.net/manual:087:4_help ... #debugging but still no luck in finding out what's going on
I hope someone can help me.