Fw: Cacti version 0.8.8e - Skipping the first parameter and results the value 'U' in rrd file

Arun Sheshadri Badri <[email protected]> Thu, 24 May 2018 11:24:10 +0000
Newsgroups gmane.network.cacti.user
Message-ID <DB5PR0401MB1926045800EADA25098963F7866A0@DB5PR0401MB1926.eurprd04.prod.outlook.com>
Hello,


In Cacti 0.8.8e , I noticed that, if the value or output of my script is


a:1 b:2


and I configure Data input method and datasource to it.


But when I checked the rrd file with rrdtool info test.rrd|grep .last_ds


it results in

ds[a].last_ds = "U"

ds[b].last_ds = "2"


Workaround:

The only way to fix it as workaround is by adding a dummy name:value pair  to output my script like -

1:1 a:1 b:2


It looks like the datasource rrd file only updates from the second key:value pair.


Could you please help me to understand if this is a bug in Cacti 0.8.8e or is there something I'm doing wrong. With the above workaround, I can get it working but would wanted to know the cause of the issue.


Thanks,
Arun Badri

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot