lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Trimming the data in the graphs

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
netman124
Beginner


Joined: 14 Jan 2005
Posts: 9
Location: Los Angeles

PostPosted: Thu Jan 27, 2005 9:36 pm    Post subject: Trimming the data in the graphs Reply with quote

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

PostPosted: Fri Jan 28, 2005 2:57 am    Post subject: Reply with quote

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

PostPosted: Fri Jan 28, 2005 12:59 pm    Post subject: Reply with quote

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

PostPosted: Fri Jan 28, 2005 4:17 pm    Post subject: Reply with quote

Guys,
Thank you VERY MUCH!
I will try both ways today Smile

Alex.
Back to top
marcioq
Beginner


Joined: 28 Sep 2004
Posts: 8
Location: Brazil

PostPosted: Tue Apr 19, 2005 7:01 pm    Post subject: Triiming Reply with quote

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

PostPosted: Tue Apr 19, 2005 8:59 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group