RE: [LARTC] monitoring classes

2004-05-25 Thread ThE LinuX_KiD

Hi,

- There is a patch for snmp so you can get tc stats with snmp.  I 
- created some 
- scrpits to graph this information with rrd.  See docum.org.

I've patched net-snmpd with patch that I see on docum.org:

http://x-ray.prokon.cz/data/snmp/


# ./configure --with-perl-modules --with-mib-modules=qos
# make
# make install

but when I try to exectue proces.pl it send me:

ERROR: Message size exceeded buffer maxMsgSize


How ever, when I try to test QoS with snmpget, like
in README file indicates:

# snmpget -c macwww localhost enterprises.18756
snmpget: No securityName specified

# snmpget -c macwww localhost -u root enterprises.18756
snmpget: Unknown user name


Is a snmp patch problem related or proces.pl related ?

Thank you !!!
Andres




___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] monitoring classes

2004-05-24 Thread Andreas Klauer
Am Monday 24 May 2004 15:39 schrieb John B Dunning/NS/WSC:
 I've been searching high and low for any inkling of how people are
 monitoring classes for long term usage data.

For now, I'm just playing around with a patched tc, a shell script, and 
the RRDTool to create graphs. The rates shown by tc-statistics however 
don't seem to add up properly. Parent classes sometimes have higher rates 
than all their children together.

 or perhaps even an snmp module that 
 would present them as interfaces to be polled

I don't use snmp myself, but I think Jason Boxman (in #lartc on oftc.net) 
does some kind of monitoring that way. Maybe you could try asking him. ;-)

Andreas
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] monitoring classes

2004-05-24 Thread Jason Boxman
On Monday 24 May 2004 10:24, Andreas Klauer wrote:
snip
  or perhaps even an snmp module that
  would present them as interfaces to be polled

 I don't use snmp myself, but I think Jason Boxman (in #lartc on oftc.net)
 does some kind of monitoring that way. Maybe you could try asking him. ;-)

Heh.

Mentioned back in December on this list, I have been playing with an Net-SNMP 
extension[1].  Not being much of an RRDTool person, I setup a Perl script 
that uses Net::SNMP that is callable by Munin[2] to update an RRDTool 
database every five minutes.  (Is that too little resolution?)

[1] http://x-ray.prokon.cz/data/snmp/
[2] http://www.linpro.no/projects/munin/


I have been tracking qosBps as a GAUGE value, since deleting the root qdisc 
and recreating it results in qosBytes being erased.  Does anyone have a 
preferred way of obtaining the rate information?  I imagine it should be 
converted to bits?  Any other hints for producing useful graphs with RRDTool 
for traffic shaping statistics?

(Mine are rather bland... Bulk is full 95% of the time and there are only four 
classes, all sampled as GAUGE at a five minute resolution...)

 Andreas

-- 

Jason Boxman
Perl Programmer / *NIX Systems Administrator
Shimberg Center for Affordable Housing | University of Florida
http://edseek.com/ - Linux and FOSS stuff

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] monitoring classes

2004-05-24 Thread Stef Coene
On Monday 24 May 2004 19:01, Jason Boxman wrote:
 On Monday 24 May 2004 10:24, Andreas Klauer wrote:
 snip

   or perhaps even an snmp module that
   would present them as interfaces to be polled
 
  I don't use snmp myself, but I think Jason Boxman (in #lartc on oftc.net)
  does some kind of monitoring that way. Maybe you could try asking him.
  ;-)

 Heh.

 Mentioned back in December on this list, I have been playing with an
 Net-SNMP extension[1].  Not being much of an RRDTool person, I setup a Perl
 script that uses Net::SNMP that is callable by Munin[2] to update an
 RRDTool database every five minutes.  (Is that too little resolution?)

 [1] http://x-ray.prokon.cz/data/snmp/
 [2] http://www.linpro.no/projects/munin/


 I have been tracking qosBps as a GAUGE value, since deleting the root qdisc
 and recreating it results in qosBytes being erased.  Does anyone have a
 preferred way of obtaining the rate information?  
Trust rrd, just update the counters and rrd calculates the rate.  You loose 
some values if you reset the tc stats, but will not happen that much.

 I imagine it should be 
 converted to bits?  Any other hints for producing useful graphs with
 RRDTool for traffic shaping statistics?
You can stack the rates of the child classes so the sum is the parent rate.  
You can also stack the rates of the child classes in % so the sum is 100.  I 
can help you with this because I did it this before.

Stef

-- 
[EMAIL PROTECTED]
Using Linux as bandwidth manager
  http://www.docum.org/
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/