Page 1 of 1

graph template - plot negative

Posted: Tue Dec 03, 2013 2:24 am
by zaji_nms
Dear Expert,

i need to plot a data source value to negative side on a performance graph template what changes is required to be done ??? i have enclosed attached graph where i can not see the Q traffic and drop pkt due to different unit

Regards,
Yusuf

Re: graph template - plot negative

Posted: Tue Dec 03, 2013 11:42 am
by abrist
Can you show us a full output of the check including all 3 performance data metrics?

Re: graph template - plot negative

Posted: Wed Dec 04, 2013 12:37 am
by zaji_nms
Performance Data: queued_bw=0.02Mb/s;285.00;342.00; transmitted_bw=0.02Mb/s;285.00;342.00; drop_pkt=356;20;40;

Re: graph template - plot negative

Posted: Wed Dec 04, 2013 11:02 am
by sreinhardt
Unless it is expected at some point that you will actually hit the warning and critical numbers, I would highly suggest altering those before looking to change the pnp template. This will make it so that your graph actually has some movement to it, whereas now it would only show a straight line just above 0, similar to what you see now. You might try a warning\critical of 5\10 or 15\30 and see how that works for you. I can fairly safely say that you don't appear to ever go near the current warning and critical values, so this may also provide a little bit more reasonable alerting if something is off.

Re: graph template - plot negative

Posted: Wed Dec 04, 2013 11:37 pm
by zaji_nms
i only want to plot following value which is drop_pkt=356 negative in graph template , so my ds_1 and ds_2 values will come up and ds_3 will come down

Re: graph template - plot negative

Posted: Thu Dec 05, 2013 7:21 am
by zaji_nms
solved ...using below command in graph_template
$def[1] .= "CDEF:drop=var3,-1,* " ;