Page 1 of 1

Performance graph with Counter value

Posted: Mon Nov 21, 2016 7:32 am
by zaji_nms
Dear Expert

Currently we have our house made (custom script) to plot the Performance Graph and its going well, however these graphs are related to Temperature, Latency which are relevant to currently value (no relation with previous value). Now we want to plot Packet Drop, but this is Counter and we want Nagios/RRD will handle the time span and subtraction of Counter value from previous one to new one. How can be achieve? We will just send the Value with some additional parameter that its COUNTER and Nagios/RRD has to take care of No.of PacketsDrop/Time-Elapsed

No.of PacketsDrop = Current Value - Previous Value <<<<<<<<< (Nagios/RRD will handle) so we do not have to write and read the some /tmp file
Time-Elapsed = Current Time - Previous Time <<<<<<<<<< Nagios/RRD will handle so we do not have to write and read the any /tmp file

Regards

Re: Performance graph with Counter value

Posted: Mon Nov 21, 2016 11:35 am
by tmcdonald
I think this is something that will need to be handled in your custom script. What gets written to the RRD is determined mostly by the output of a plugin, so without changing that you would need to account for this in your script.