Performance graph with Counter value
Posted: Mon Nov 21, 2016 7:32 am
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
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