Hi,
rrdtool_lastupdate() isn't used for anything, it'd return the timestamp of the last update sent to the rrd.
You don't want to use descriptions as indexes, because devices frequently have multiple entries with the same descriptions. you need to use the same format that we use, so what you are currently generating is correct.
adam. On 23/05/2017 20:39:35, yan flou yani.flou@hotmail.com wrote: hi all,
i have a question, can you please tell me what function rrdtool_lastupdate in (rrdtool.inc.php) makes, because i ty to integrate a new backend "opentsdb" for observium for the moment i retrive the data and the metric by rrdtool_update and i send him in to opentsdb but i need also the tags because the index aren't clear for example this is what i have for mempools
put net.mempool 1495461482 404979712.000000 hostname=localhost ifIndex=used-host-resources-mib-6 put net.mempool 1495461482 7845933056.000000 hostname=localhost ifIndex=free-host-resources-mib-6 put net.mempool 1495461482 2097152.000000 hostname=localhost ifIndex=used-host-resources-mib-10 put net.mempool 1495461482 1071636480.000000 hostname=localhost ifIndex=free-host-resources-mib-10 put net.mempool 1495461542 8063819776.000000 hostname=localhost ifIndex=used-host-resources-mib-3 put net.mempool 1495461542 1260826624.000000 hostname=localhost ifIndex=free-host-resources-mib-3 but me i wante to have this put net.mempool 1495468562 8075042816.000000 hostname=localhost ifIndex=used-Virtual-memory put net.mempool 1495468562 1249603584.000000 hostname=localhost ifIndex=free-Virtual-memory put net.mempool 1495468562 410640384.000000 hostname=localhost ifIndex=used-Memory-buffers put net.mempool 1495468562 7840272384.000000 hostname=localhost ifIndex=free-Memory-buffers put net.mempool 1495468562 2097152.000000 hostname=localhost ifIndex=used-Swap-space put net.mempool 1495468562 1071636480.000000 hostname=localhost ifIndex=free-Swap-space
can you help me please.
yan flou