* [LARTC] proces.pl error [ QoS net-snmp ]
@ 2004-06-19 21:40 ThE LinuX_KiD
2004-06-21 5:49 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ThE LinuX_KiD @ 2004-06-19 21:40 UTC (permalink / raw)
To: lartc
Hi, again.
Hi,
I'm try to work with net-snmp and QoS patch,
and proces.pl from http://www.docum.org
do you know why next error ?
# ./proces.pl
ERROR: Message size exceeded buffer maxMsgSize.
# less proces.pl
[snip...]
$html_dir = "/var/www/customers/mrtg/qos" ;
$tcrrd = "/qos/cgi-bin/tcrrd2.pl" ; # I think this is OK.
$dir_rrd = "/var/www/customers/mrtg/qos/data" ;
$host = "127.0.0.1" ;
$community = "public" ;
$version = "2c" ;
$oid = ".1.3.6.1.4.1.18756" ;
$DEBUG = "yes" ;
[snip...]
Also, snmp qos seems to be work! (see below)
any ideas ?
best
andres
------
# snmpwalk -v 2c -c public 127.0.0.1 enterprises.18756
SNMPv2-SMI::enterprises.18756.1.1.1.0.0.0.0 = INTEGER: 0
SNMPv2-SMI::enterprises.18756.1.1.1.1.0.1.0 = INTEGER: 0
SNMPv2-SMI::enterprises.18756.1.1.1.1.0.1.1 = INTEGER: 0
SNMPv2-SMI::enterprises.18756.1.1.1.1.0.1.2 = INTEGER: 0
SNMPv2-SMI::enterprises.18756.1.1.1.1.0.1.3 = INTEGER: 0
SNMPv2-SMI::enterprises.18756.1.1.1.1.0.1.5 = INTEGER: 0
SNMPv2-SMI::enterprises.18756.1.1.1.1.0.1.6 = INTEGER: 0
[....]
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.0 = STRING: "1:0"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.1 = STRING: "1:1"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.2 = STRING: "1:2"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.3 = STRING: "1:3"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.5 = STRING: "1:5"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.6 = STRING: "1:6"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.1.7 = STRING: "1:7"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.32.0 = STRING: "20:0"
SNMPv2-SMI::enterprises.18756.1.1.5.1.0.48.0 = STRING: "30:0"
[...]
SNMPv2-SMI::enterprises.18756.1.1.6.2.0.1.2 = STRING: "20:0 (leaf)"
SNMPv2-SMI::enterprises.18756.1.1.6.2.0.1.3 = STRING: "30:0 (leaf)"
SNMPv2-SMI::enterprises.18756.1.1.6.2.0.1.5 = STRING: "40:0 (leaf)"
[...]
SNMPv2-SMI::enterprises.18756.1.1.8.1.0.1.1 = STRING: "ffff:ffff (root)"
SNMPv2-SMI::enterprises.18756.1.1.8.1.0.1.2 = STRING: "1:1"
SNMPv2-SMI::enterprises.18756.1.1.8.1.0.1.3 = STRING: "1:1"
SNMPv2-SMI::enterprises.18756.1.1.8.1.0.1.5 = STRING: "ffff:ffff (root)"
[...]
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.0 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.1 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.2 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.3 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.5 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.6 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.1.7 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.32.0 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.48.0 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.64.0 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.1.0.65.0 = STRING: "ppp0"
SNMPv2-SMI::enterprises.18756.1.1.9.2.0.1.0 = STRING: "eth0"
[...]
SNMPv2-SMI::enterprises.18756.1.1.35.1.0.1.0 = STRING: "parent:0:0
handle:1:0 bytes:32943017 packets:293316 dro
ps:26 overlimit:0 bps:0 pps:0 qlen:0 backlog:0"
SNMPv2-SMI::enterprises.18756.1.1.35.1.0.1.1 = STRING: "parent:ffff:ffff
(root) handle:1:1 bytes:32929680 packe
ts:292990 drops:0 overlimit:0 bps:1356 pps:19 qlen:0 backlog:0 htblends:0
htbborrows:0 htbgiants:0 htbtokens:82
89 htbctokens:8289"
SNMPv2-SMI::enterprises.18756.1.1.35.1.0.1.2 = STRING: "parent:1:1
handle:1:2 leaf:20:0 (leaf) bytes:32929680 p
ackets:292990 drops:0 overlimit:0 bps:1509 pps:20 qlen:0 backlog:0
htblends:292990 htbborrows:0 htbgiants:0 htb
tokens:8289 htbctokens:8289"
SNMPv2-SMI::enterprises.18756.1.1.35.1.0.1.3 = STRING: "parent:1:1
handle:1:3 leaf:30:0 (leaf) bytes:0 packets:
0 drops:0 overlimit:0 bps:0 pps:0 qlen:0 backlog:0 htblends:0 htbborrows:0
htbgiants:0 htbtokens:327999 htbctok
ens:327999"
SNMPv2-SMI::enterprises.18756.1.1.35.1.0.1.5 = STRING: "parent:ffff:ffff
(root) handle:1:5 leaf:40:0 (leaf) byt
es:0 packets:0 drops:0 overlimit:0 bps:0 pps:0 qlen:0 backlog:0 htblends:0
htbborrows:0 htbgiants:0 htbtokens:6
47999 htbctokens:647999"
[...]
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] proces.pl error [ QoS net-snmp ]
2004-06-19 21:40 [LARTC] proces.pl error [ QoS net-snmp ] ThE LinuX_KiD
@ 2004-06-21 5:49 ` Stef Coene
2004-06-22 14:08 ` ThE LinuX_KiD
2004-06-23 14:06 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2004-06-21 5:49 UTC (permalink / raw)
To: lartc
On Saturday 19 June 2004 23:40, ThE LinuX_KiD wrote:
> Hi, again.
>
>
> Hi,
>
> I'm try to work with net-snmp and QoS patch,
> and proces.pl from http://www.docum.org
>
> do you know why next error ?
>
> # ./proces.pl
> ERROR: Message size exceeded buffer maxMsgSize.
>
>
> # less proces.pl
>
> [snip...]
>
> $html_dir = "/var/www/customers/mrtg/qos" ;
> $tcrrd = "/qos/cgi-bin/tcrrd2.pl" ; # I think this is OK. I have to say
they are not working, but maybe it can help.
> $dir_rrd = "/var/www/customers/mrtg/qos/data" ;
> $host = "127.0.0.1" ;
> $community = "public" ;
> $version = "2c" ;
> $oid = ".1.3.6.1.4.1.18756" ;
> $DEBUG = "yes" ;
>
> [snip...]
>
>
> Also, snmp qos seems to be work! (see below)
>
> any ideas ?
Try to execute
export MIBS=ALL
before you exectute snmpwalk. This will pick up all the mibs files and
translate the numbers to text.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [LARTC] proces.pl error [ QoS net-snmp ]
2004-06-19 21:40 [LARTC] proces.pl error [ QoS net-snmp ] ThE LinuX_KiD
2004-06-21 5:49 ` Stef Coene
@ 2004-06-22 14:08 ` ThE LinuX_KiD
2004-06-23 14:06 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: ThE LinuX_KiD @ 2004-06-22 14:08 UTC (permalink / raw)
To: lartc
sorrt, but same error...
-> Try to execute
-> export MIBS=ALL
-> before you exectute snmpwalk. This will pick up all the mibs files and
-> translate the numbers to text.
this is my debug output from proces.pl
[...snip...]
debug: [728] Net::SNMP::PDU::_process_var_bind_list(): {
.1.3.6.1.4.1.18756.1.1.35.2.0.1.6 => parent:ffff:ffff (root) handle:1:6
leaf:41:0 (leaf) bytes:0 packets:0 drops:0 overlimit:0 bps:0 pps:0 qlen:0
backlog:0 htblends:0 htbborrows:0 htbgiants:0 htbtokens:50852
htbctokens:48174 }
debug: [1414] Net::SNMP::Message::_process_object_identifier(): adding
leading dot
error: [1814] Net::SNMP::Message::_buffer_get(): Message size exceeded
buffer maxMsgSize
error: [261] Net::SNMP::MessageProcessing::prepare_data_elements(): Message
size exceeded buffer maxMsgSize
error: [348] Net::SNMP::Dispatcher::_transport_response_received(): Message
size exceeded buffer maxMsgSize
debug: [463] Net::SNMP::Dispatcher::_event_delete(): deleted
[ARRAY(0x84f674c)], list is now empty
debug: [230] Net::SNMP::Dispatcher::_unlisten(): removing descriptor [3]
error: [2600] Net::SNMP::__ANON__(): Message size exceeded buffer maxMsgSize
error: [2209] Net::SNMP::__ANON__(): Message size exceeded buffer maxMsgSize
ERROR: Message size exceeded buffer maxMsgSize.
bests.
andres
->
-> On Saturday 19 June 2004 23:40, ThE LinuX_KiD wrote:
-> > Hi, again.
-> >
-> >
-> > Hi,
-> >
-> > I'm try to work with net-snmp and QoS patch,
-> > and proces.pl from http://www.docum.org
-> >
-> > do you know why next error ?
-> >
-> > # ./proces.pl
-> > ERROR: Message size exceeded buffer maxMsgSize.
-> >
-> >
-> > # less proces.pl
-> >
-> > [snip...]
-> >
-> > $html_dir = "/var/www/customers/mrtg/qos" ;
-> > $tcrrd = "/qos/cgi-bin/tcrrd2.pl" ; # I think this is OK. I
-> have to say
-> they are not working, but maybe it can help.
-> > $dir_rrd = "/var/www/customers/mrtg/qos/data" ;
-> > $host = "127.0.0.1" ;
-> > $community = "public" ;
-> > $version = "2c" ;
-> > $oid = ".1.3.6.1.4.1.18756" ;
-> > $DEBUG = "yes" ;
-> >
-> > [snip...]
-> >
-> >
-> > Also, snmp qos seems to be work! (see below)
-> >
-> > any ideas ?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] proces.pl error [ QoS net-snmp ]
2004-06-19 21:40 [LARTC] proces.pl error [ QoS net-snmp ] ThE LinuX_KiD
2004-06-21 5:49 ` Stef Coene
2004-06-22 14:08 ` ThE LinuX_KiD
@ 2004-06-23 14:06 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2004-06-23 14:06 UTC (permalink / raw)
To: lartc
On Tuesday 22 June 2004 16:08, ThE LinuX_KiD wrote:
> sorrt, but same error...
>
> -> Try to execute
> -> export MIBS=ALL
> -> before you exectute snmpwalk. This will pick up all the mibs files and
> -> translate the numbers to text.
>
> this is my debug output from proces.pl
The export MIBS is only for a better output, it is not for the error you have.
Like I said before, I know the scripts are not working. It's on my TODO list
to fix them.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-23 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-19 21:40 [LARTC] proces.pl error [ QoS net-snmp ] ThE LinuX_KiD
2004-06-21 5:49 ` Stef Coene
2004-06-22 14:08 ` ThE LinuX_KiD
2004-06-23 14:06 ` Stef Coene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox