Performance graph with Counter value

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Performance graph with Counter value

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Performance graph with Counter value

Post 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.
Former Nagios employee
Locked