[NTLUG:Discuss] snmp
MadHat
madhat at unspecific.com
Mon Mar 19 16:03:40 CST 2001
At 03:49 PM 3/19/2001 -0600, you wrote:
>Well, I want to do general SNMP monitoring and control. I've got MRTG
>running, but I would like to get total bytes of traffic, not just bytes
>per second. Perhaps I haven't discovered everything MRTG is capable of -
>I suspect it can tap just about every metric the IP stack maintains.
the counters wrap...
What most SNMP devices do is reset the counters at boot, then they wrap
after their buffers are full, some have 16, some have 32 and the newest
devices support 64 bit counters. What MRTG does is poll this number, keep
track of it every 5 minutes for 24 hours then starts weeding out numbers
based on its ruleset, whcih is normally every 30 min for 1 week, then....
So it does have the total throughput, but it displays the difference
between the most recent polling and the one previous to determine
throughput for that time period.
If you just want the raw numbers, you can look at the log files of MRTG, or
you can use snmpget, or any one of the snmp* CLI tools to query right then
to how much data has been sent or received since reboot or counter roll.
trying doing an 'snmpwalk ip community' and see what all can be monitored,
though not all of it will change, some of it is static info.
>Carl
>
> > MRTG is great for monitoring bandwidth usage and can be tweaked to monitor
> > other MIBs. MRTG can be bad for keeping detailed data for long periods, if
> > you need to do that.
> >
> > check out
> >
> > http://silver.he.net/~rrg/snmp_free_tools.htm
> >
> >
> > What all are you hoping to monitor and are you wanting snapshot (what is it
> > doing right this second) or long term (here is the trend over the past 30
> > days or 24 hours or... at 5 minute intervals)?
> >
> >
> > >Carl
> > >
> > >GladeNet Communications
> > >
> > >On Mon, 19 Mar 2001, MadHat wrote:
> > >
> > > > At 10:08 PM 3/18/2001 -0600, you wrote:
> > > > >Howdy - does anyone have any recommendations for SNMP? I want to
> monitor
> > > > >Cisco and other Linux systems from my Linux box.
> > >
> > > > What are you asking? SNMP to install on Linux so you can monitor
> or what
> > > > tools to monitor (historic or snapshot-on-demand)?
> > > >
> > > > http://www.snmpworld.com/
> > > >
> > > >
> > > > --
> > > > MadHat at unspecific.com
> > > >
> > > > _______________________________________________
> > > > http://ntlug.org/mailman/listinfo/discuss
> > > >
> > >
> > >_______________________________________________
> > >http://ntlug.org/mailman/listinfo/discuss
> >
> > --
> > MadHat at unspecific.com
> >
> > _______________________________________________
> > http://ntlug.org/mailman/listinfo/discuss
> >
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss
--
MadHat at unspecific.com
More information about the Discuss
mailing list