Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
03/12/2005 02:52:58 PM - POLLER: Poller[0] Parsed MULTI output field 'contacts:5' [map contacts->contacts]
03/12/2005 02:52:58 PM - POLLER: Poller[0] Parsed MULTI output field '6xx:0' [map 6xx->6xx]
03/12/2005 02:52:58 PM - POLLER: Poller[0] Parsed MULTI output field '5xx:3' [map 5xx->5xx]
03/12/2005 02:52:58 PM - POLLER: Poller[0] Parsed MULTI output field '4xx:228' [map 4xx->4xx]
03/12/2005 02:52:58 PM - POLLER: Poller[0] Parsed MULTI output field '3xx:0' [map 3xx->3xx]
03/12/2005 02:52:58 PM - POLLER: Poller[0] Parsed MULTI output field '2xx:66' [map 2xx->2xx]
03/12/2005 02:52:58 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/localhost/htdocs/cacti/rra/torgw2_2xx_108.rrd --template contacts:6xx:5xx:4xx:3xx:2xx 1110657164:5:0:3:228:0:66
Notice how there's 6 fields in the template but 7 values are being passed, I assume this is the root of my problem but have no idea where that 7th (well 1st really) value is coming from. It's obviously a timestamp but should it be in the datafields without a template item for it?
Nevermind about that timestamp field, I checked the output for other updates that had multi output and they had it as well. The problem is that the timestemp is obviously being used for the key contacts.
Anyone seen this before, did I miss something in the data template or input method?
It appears that cacti is properly finding the data values and updating the rra file. I would check that you're using the right type of data source type (counter, gauge, etc). You could also dump your rra file (rrdtool dump filename.rra > filename.xml) and verify the fields in the rra are being updated with the values.
Ok, so i've done a bunch more fiddling and the contacts field is now updating and displaying properly. The weird thing is the other values never update and I'm still kind of stumped as to why.
After running a dump of the rrd file each of the data sources have values, for instance:
<ds>
<name> 2xx </name>
<type> COUNTER </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.0000000000e+08 </max>
<!-- PDP Status -->
<last_ds> 70 </last_ds> <--- this is the correct value
<value> 0.0000000000e+00 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
But if you go down the dump further none of the rows have any values for anything except the contacts input field (which is a gauge, the rest are counters).