|
|
| Author |
Message |
netman124 Beginner
Joined: 14 Jan 2005 Posts: 9 Location: Los Angeles
|
Posted: Thu Jan 27, 2005 9:36 pm Post subject: Trimming the data in the graphs |
|
|
I am trying to "trim" the data displayed on the graphs to make graphs more readable.
Can't find a place where NetMRG stores collected data and absolutely have no idea how to "trim" it.
I did not find any SNMP data in MySQL...
Please help!
Your help is highly appreciated.
Alex. |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Fri Jan 28, 2005 2:57 am Post subject: |
|
|
You need to find the monitor numbers for the data items for the spikes. You can do this by going through device tree and looking at the links for the monitors. Take the monitor number, and find the mon_xxxx.rrd file that NetMRG had created (in /var/lib/netmrg/rrd often), where xxxx is the monitor number. You can then use the rrdedit.sh script that is included with NetMRG to modify the RRD file. You should look for rows in the file corresponding to the time of the spike, and modify them to be a more "normal" value.
Best wishes, and let us know if we can be of further help. |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Fri Jan 28, 2005 12:59 pm Post subject: |
|
|
There is also a "killspike" script that can remove values over some number (like your spike in that graph). Just google for it, and you'll also probably want to use the '2' version of it.
-Doug |
|
| Back to top |
|
 |
netman124 Beginner
Joined: 14 Jan 2005 Posts: 9 Location: Los Angeles
|
Posted: Fri Jan 28, 2005 4:17 pm Post subject: |
|
|
Guys,
Thank you VERY MUCH!
I will try both ways today
Alex. |
|
| Back to top |
|
 |
marcioq Beginner
Joined: 28 Sep 2004 Posts: 8 Location: Brazil
|
Posted: Tue Apr 19, 2005 7:01 pm Post subject: Triiming |
|
|
Ihave a similir problem when one of my routers reset and i started to wonder if like in MRTG/RRD, when a value is greater then a MAx number specified for the variable (like a 256Kbps line sudenly reading a trafic of 1Mbits/s), the pooler or the rrd (i donīt know with) descarted the reading as an erronous value.
Itīs possible to do something in that line whith NetMRG , so that we dont have to Trim the graphīs ? Like, setting a speed maximum per interface ?
Thankīs |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Tue Apr 19, 2005 8:59 pm Post subject: |
|
|
Right now you can set the max value for a monitor and it will ignore values that end up over that value.
We're hoping to have a feature in an upcoming version that can use dynamic variables for the min and max, so you could enter your %ifSpeed% for the max and it would compute it every time.
-Doug |
|
| Back to top |
|
 |
|