I am experiencing the following behavior and I do not know what is causing it.
I have an indexed SNMP query to gather the available disk space on a host. The query is working for some hosts and not for others.
I have tried this on two cacti versions 0.8.7d and 0.8.7e + all patches
I am running Windows + Apache
I go to Devices->Click a device->Create graphs for this host and choose my graph template.
For the devices that it is not working, when I create the graph the datasource is created but the RRD is not created. In the Data query where it is showing all the indexed values instead of greying it out it lets me choose the same value again.
For the devices that its working i get the expected behavior. I click on the checkbox and the datasource+rrd are created. Then the option is greyed out.
I run the rrdtool command manually and it is creating the RRD file however it is not updated when the poller runs. The logs do not even show any of the OIDs that are problematic.
I am running
RRDtool : 1.2.30
NET-SNMP : 5.4.2.1
This is the datasource information when i go to datasources:
Code: Select all
c:/cacti/rrdtool.exe create \
C:/Apache2/htdocs/cacti/rra/vps_master_russia_mbfreespace_1991.rrd \
--step 300 \
DS:percentFreeSpace:GAUGE:600:0:100 \
DS:mbFreeSpace:GAUGE:600:0:4294967295 \
RRA:AVERAGE:0.5:1:105120 \
RRA:AVERAGE:0.5:120:4380 \
RRA:AVERAGE:0.5:30:17520 \
RRA:AVERAGE:0.5:1440:1825 \
RRA:MIN:0.5:1:105120 \
RRA:MIN:0.5:30:17520 \
RRA:MIN:0.5:120:4380 \
RRA:MIN:0.5:1440:1825 \
RRA:MAX:0.5:1:105120 \
RRA:MAX:0.5:30:17520 \
RRA:MAX:0.5:120:4380 \
RRA:MAX:0.5:1440:1825 \
RRA:LAST:0.5:1:105120 \
RRA:LAST:0.5:30:17520 \
RRA:LAST:0.5:120:4380 \
RRA:LAST:0.5:1440:1825 \
The following are the OIDs from verbose query, could the size be causing any problems?
Devices that work:
Code: Select all
+ Running data query [40].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.2.44.1.1'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.67.58' value: 'C:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.68.58' value: 'D:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.69.58' value: 'E:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.70.58' value: 'F:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.6.95.84.111.116.97.108' value: '_Total'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.67.58' results: '2.67.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.68.58' results: '2.68.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.69.58' results: '2.69.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.70.58' results: '2.70.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.6.95.84.111.116.97.108' results: '6.95.84.111.116.97.108'
+ Located input field 'diskInstance' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.9600.1.2.44.1.1'
+ Found item [diskInstance='C:'] index: 2.67.58 [from value]
+ Found item [diskInstance='D:'] index: 2.68.58 [from value]
+ Found item [diskInstance='E:'] index: 2.69.58 [from value]
+ Found item [diskInstance='F:'] index: 2.70.58 [from value]
+ Found item [diskInstance='_Total'] index: 6.95.84.111.116.97.108 [from value]
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
Code: Select all
Running data query [40].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9600.1.2.44.1.1'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.67.58' value: 'C:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.69.58' value: 'E:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.70.58' value: 'F:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.76.58' value: 'L:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.81.58' value: 'Q:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.83.58' value: 'S:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.88.58' value: 'X:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.90.58' value: 'Z:'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.6.95.84.111.116.97.108' value: '_Total'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.49' value: 'E:RAW_DATA'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.50' value: 'E:RAW_DATA'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.51' value: 'E:RAW_DATA'
+ Index found at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.52' value: 'E:RAW_DATA'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.67.58' results: '2.67.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.69.58' results: '2.69.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.70.58' results: '2.70.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.76.58' results: '2.76.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.81.58' results: '2.81.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.83.58' results: '2.83.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.88.58' results: '2.88.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.2.90.58' results: '2.90.58'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.6.95.84.111.116.97.108' results: '6.95.84.111.116.97.108'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.49' results: '12.69.58.92.82.65.87.95.68.65.84.65.49'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.50' results: '12.69.58.92.82.65.87.95.68.65.84.65.50'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.51' results: '12.69.58.92.82.65.87.95.68.65.84.65.51'
+ index_parse at OID: 'iso.3.6.1.4.1.9600.1.2.44.1.1.12.69.58.92.82.65.87.95.68.65.84.65.52' results: '12.69.58.92.82.65.87.95.68.65.84.65.52'
+ Located input field 'diskInstance' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.9600.1.2.44.1.1'
+ Found item [diskInstance='C:'] index: 2.67.58 [from value]
+ Found item [diskInstance='E:'] index: 2.69.58 [from value]
+ Found item [diskInstance='F:'] index: 2.70.58 [from value]
+ Found item [diskInstance='L:'] index: 2.76.58 [from value]
+ Found item [diskInstance='Q:'] index: 2.81.58 [from value]
+ Found item [diskInstance='S:'] index: 2.83.58 [from value]
+ Found item [diskInstance='X:'] index: 2.88.58 [from value]
+ Found item [diskInstance='Z:'] index: 2.90.58 [from value]
+ Found item [diskInstance='_Total'] index: 6.95.84.111.116.97.108 [from value]
+ Found item [diskInstance='E:RAW_DATA'] index: 12.69.58.92.82.65.87.95.68.65.84.65.49 [from value]
+ Found item [diskInstance='E:RAW_DATA'] index: 12.69.58.92.82.65.87.95.68.65.84.65.50 [from value]
+ Found item [diskInstance='E:RAW_DATA'] index: 12.69.58.92.82.65.87.95.68.65.84.65.51 [from value]
+ Found item [diskInstance='E:RAW_DATA'] index: 12.69.58.92.82.65.87.95.68.65.84.65.52 [from value]
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'
+ Found data query XML file at 'C:/Apache2/htdocs/cacti/resource/snmp_queries/snmp_informant_advanced_disk_space.xml'