i have write a snmp-query xml file,it have two output filelds in it.
CallAttempts: the times of device to send calls to other devices
CallSucess: the times of device send calls successfullly to other devices.
i want to make a new graph line,with value=CallAttempts/CallSucess.
but do not know how to do it. please share your idea,thanks.
How to create a graph line,operate between 2 output fields
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please assure the correct function of your XML. Create a Data Query, a Data Template and a Graph Template for it. Associate the Graph Template to the Data Query and generate a Graph using this new Data Query.
If you get everything up and running, the last thing is to create a CDEF=a,b,/
But you must be sure, the DEFs (aka Data Sources) are denoted as a or b, respectively. To do so, please select the Graph you're working on and click the wrench next to the graph. It displays the full "rrdtool graph" statement. Search for sth likea and b denote the variables to be used in the CDEF...
Reinhard
If you get everything up and running, the last thing is to create a CDEF=a,b,/
But you must be sure, the DEFs (aka Data Sources) are denoted as a or b, respectively. To do so, please select the Graph you're working on and click the wrench next to the graph. It displays the full "rrdtool graph" statement. Search for sth like
Code: Select all
DEF:a="/var/www/html/workspace/branch/rra/gandalf_traffic_in_88.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/workspace/branch/rra/gandalf_traffic_in_88.rrd":traffic_out:AVERAGE \
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests