The easiest way: Name you Performance Counters like the original.
As example in=68572.531985;;;0;1250000000 inucast=112.580824;;;; innucast=0.009921;;;; indisc=0;;;; inerr=0;0.01;0.1;; out=78067.2681;;;0;1250000000 outucast=82.266278;;;; outnucast=0;;;; outdisc=0;;;; outerr=0;0.01;0.1;; outqlen=0;;;;
Other Way: Create a metrics File and define the Graph.
Why illogical, you need to define for your check a translation of the performance data. The system needs to know that your performance data graph should be drawn the same way as the interface graph.
Nothing else does this one line.
It’s a bit of a special case. You use a helper function which outputs performance data where the names differ from that of the metric definitions. The metric translation is used to translate the names in the performance data (like e.g. outerr) to the correct metric names (if_out_err in this case).
Usually the names in the performance data and metric definitons are identical. In that case no translation is needed. But for historical reasons it’s different here.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.