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
graph template - plot negative
graph template - plot negative
You do not have the required permissions to view the files attached to this post.
Zajil NMS
Re: graph template - plot negative
Can you show us a full output of the check including all 3 performance data metrics?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: graph template - plot negative
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;
Zajil NMS
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: graph template - plot negative
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: graph template - plot negative
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
You do not have the required permissions to view the files attached to this post.
Zajil NMS
Re: graph template - plot negative
solved ...using below command in graph_template
$def[1] .= "CDEF:drop=var3,-1,* " ;
$def[1] .= "CDEF:drop=var3,-1,* " ;
Zajil NMS