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

Strange graphing in fast interfaces

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


Joined: 18 Jun 2004
Posts: 53
Location: Lisbon, Portugal

PostPosted: Fri Aug 06, 2004 1:51 pm    Post subject: Strange graphing in fast interfaces Reply with quote

I'm having very strange graphing in fast interfaces, specifically 100+ mbit interfaces.
MRTG is able to gather/graph correctly as can be seen in the following 2 graphs for the same interface:
NetMRG:

MRTG:


Looking at the 2 monitors for this interface:
Interfaces - Bytes Out
Value 2.29 G
Rate of Change 2.67 M
Time Stamp 2004-08-06 14:45:01

Interfaces - Bytes In
Value 2.24 G
Rate of Change -51447.39
Time Stamp 2004-08-06 14:45:01

My idea is that there is a rollover in the counter and so the count will be messed up Rolling Eyes

I can provide more info if requested.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Aug 06, 2004 5:12 pm    Post subject: Reply with quote

Are you using 64-bit counters? NetMRG doesn't do that out-of-the-box, but it isn't hard to make the modifications on your installation. We may have posted about that here before, but if not, reply and we'll walk through it.

Another possibility is the maximum values configured for the monitors, but you've probably already checked those.
Back to top
A7V
Contributor


Joined: 18 Jun 2004
Posts: 53
Location: Lisbon, Portugal

PostPosted: Sat Aug 07, 2004 12:20 am    Post subject: Reply with quote

Before seeing your reply I was already testing 64bit counters and that resolved my problem Very Happy
I created 2 new SNMP tests:

Interfaces - Bytes in 64bit ifHCInOctets.%ifIndex%
Interfaces - Bytes out 64bit ifHCOutOctets.%ifIndex%

Now I'm able to see 360mbits graphed ok Twisted Evil
Back to top
hosierd
Beginner


Joined: 27 Jul 2004
Posts: 5
Location: Rockville, Maryland

PostPosted: Wed Aug 18, 2004 5:42 pm    Post subject: Configuring NetMRG to use 64-bit counters Reply with quote

Could you walk me through this? I tried following the example given in another post called 64-bit counters but now I'm not showing any data in my graphs.

balleman wrote:
Are you using 64-bit counters? NetMRG doesn't do that out-of-the-box, but it isn't hard to make the modifications on your installation. We may have posted about that here before, but if not, reply and we'll walk through it.

Another possibility is the maximum values configured for the monitors, but you've probably already checked those.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Aug 18, 2004 5:51 pm    Post subject: Reply with quote

Before we walk thru it, could you check to see if you have NetMRG configured to use SNMPv2 for the device? ("Edit" the device to check).
Back to top
hosierd
Beginner


Joined: 27 Jul 2004
Posts: 5
Location: Rockville, Maryland

PostPosted: Wed Aug 18, 2004 6:10 pm    Post subject: Strange Graphing in Fast Interfaces Reply with quote

The devices I'm monitoring are 3rd generation Enterasys smart switche E6/E7 switches. They only support snmp v1

balleman wrote:
Before we walk thru it, could you check to see if you have NetMRG configured to use SNMPv2 for the device? ("Edit" the device to check).
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Aug 18, 2004 6:28 pm    Post subject: Reply with quote

My understanding is that the Counter64 data type is only supported in SNMP v2 and v3. Since a 64 bit counter probably won't be available, another alternative is running the gatherer process more frequently. You don't need to alter the configuration file, just change the */5 to a */2 or * in your crontab. Hopefully this will clear up your problems.

Good luck, and let us know how it works out.
Back to top
hosierd
Beginner


Joined: 27 Jul 2004
Posts: 5
Location: Rockville, Maryland

PostPosted: Wed Aug 18, 2004 6:43 pm    Post subject: Reply with quote

Since I wanted to poll every minute, to better capture and reflect bursty traffic, my cron entry has always been:

* * * * * /usr/local/bin/netmrg_cron.sh


balleman wrote:
My understanding is that the Counter64 data type is only supported in SNMP v2 and v3. Since a 64 bit counter probably won't be available, another alternative is running the gatherer process more frequently. You don't need to alter the configuration file, just change the */5 to a */2 or * in your crontab. Hopefully this will clear up your problems.

Good luck, and let us know how it works out.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Aug 18, 2004 6:45 pm    Post subject: Reply with quote

Oh. I'm not sure what to suggest then. Are other pollers like MRTG able to successfully graph your interfaces? Feel free to post a graph that demonstrates your problems as well.
Back to top
hosierd
Beginner


Joined: 27 Jul 2004
Posts: 5
Location: Rockville, Maryland

PostPosted: Tue Jan 11, 2005 11:49 pm    Post subject: Problems monitoring/graphing 100 Mbps & 1000 Mbps interf Reply with quote

After a rather lengthy review I now have questions/concerns about the data & graphs being generated for my 100 & 1000 mbps interfaces. I run MRTG v 2.100001, RRD Tool v1.0.48, and 14all.cgi v1.1p25 on the same box as NetMRG ( v0.17).

As a test I've had MRTG and NETMRG monitor the same interfaces. Both are configured to poll every minute.

For the same interface the current and average #s for the interface in question are close but not the same but the max numbers are very different.

MRTG 5 Daily Graph (5 Minute Average)

Graph indicates bits / sec over time (24 hour day - military time)

Maximal In 32.672 M (32.67%) Maximal Out: 98.683 M ( 98.68%)
Average In: 5.349 M ( 5.35%) Average Out: 94.490 M (94.49%)
Current In: 6.371 N ( 6.37%) Current Out: 94.224 M (94.22 %)


NETMRG Daily

Graph indicates bits / sec over time (24 hour day - military time)

Inbound Current: 7.83 M Average: 6.11 M Maximum: 36.53 M
Outbound Current: 66.29 M Average: 60.22 M Maximum: 79.94 M

During the period that theses values were recorded/reported a backup job was launched that crossed the interface in question. The job lasted several hours and consisted of two separate/concurrent 5 MegaByte per second streams.

Obviously the MRTG out is the NETMRG in. That said there is a big difference between 98.683 M & 79.94 M etc.

MRTG runs ever 60 seconds (the time stamps on the output confirms this is working as expected. As previously stated the following is set for NetMRG:

* * * * * /usr/local/bin/netmrg_cron.sh. Checking out the log files in /usr/local/var/log/netmrg/ also shows that NETMRG is polling every 60 seconds.

Any ideas on why the two return such different values when monitioring the same interface over the same time period?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Jan 12, 2005 12:10 am    Post subject: Reply with quote

The short answer: I don't know. NetMRG itself does not do any processing to the numbers returning from the SNMP GETs (other than determining if they are valid numbers, etc). Any problems with the stats on the graphs are a product of RRDTOOL, which should be the same, since you are using RRDTOOL with your MRTG install as well. Maybe your switch hardware reports inconsistent values? Sounds doubtful. You can run the gatherer in verbose mode, and do the math on the counter values that it is reporting, to check that NetMRG/RRDTOOL are reporting correctly based on what they are receiving from the switch. I'm not sure what to tell you, beyond that. Sorry :(.
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Wed Jan 12, 2005 12:43 am    Post subject: Reply with quote

Have you modified the netmrg.xml file's interval value to be '60' [seconds]?
This affects the way the .rrd files are created, and how the averages and maximums will be stored and calculated. If it's still set at 300 (the default), you'll have to delete and recreate the RRDs (or manually tune them yourself; we might be able to help you with that if you're interested).

-Doug
Back to top
hosierd
Beginner


Joined: 27 Jul 2004
Posts: 5
Location: Rockville, Maryland

PostPosted: Wed Jan 12, 2005 3:17 pm    Post subject: Strange graphing in fast interfaces - Continued Reply with quote

I've confirmed that the polling interval value in the netmrg.xml file is (and was) set to 60. I made that change before ever monitoring anything with NetMRG (thanks to a helpful post in the forums).
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