Hi I''ve patched net-mrtg http://www.net-snmp.org/ with http://x-ray.prokon.cz/data/snmp/ sucefully Also I''ve copied QOS.TXT to /usr/local/share/snmp/mibs when I make a normal use of snmp, with mrtg in order to monitor all traffic on eth0 and eth1, it works OK. But, how must I do in order to get monitor for a specific class ? If I make a snmpwalk (like README suggest), I get a error: # snmpwalk -c public 127.0.0.1 enterprises.18756 snmpwalk: No securityName specified I''m lost...!!! Bests andres _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Saturday 19 June 2004 13:07, ThE LinuX_KiD wrote:> Hi ><snip>> But, how must I do in order to get monitor for a > specific class ? > > > If I make a snmpwalk (like README suggest), I get > a error: > > # snmpwalk -c public 127.0.0.1 enterprises.18756 > snmpwalk: No securityName specifiedI used: snmpwalk -m GNU-LINUX-KERNEL-QOS -v 1 -c public localhost qos jasonb@rebecca:~$ ls .snmp/mibs/ QOS.txt> > I''m lost...!!! > > Bests > andres-- 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Saturday 19 June 2004 19:07, ThE LinuX_KiD wrote:> Hi > > I''ve patched net-mrtg http://www.net-snmp.org/ > with http://x-ray.prokon.cz/data/snmp/ > sucefully > > Also I''ve copied QOS.TXT to /usr/local/share/snmp/mibs > > when I make a normal use of snmp, with mrtg in order > to monitor all traffic on eth0 and eth1, it works > OK. > > But, how must I do in order to get monitor for a > specific class ?If you are famliliar with perl, you can take a look at my scripts at docum.org. I have to say they are not working, but maybe it can help.> If I make a snmpwalk (like README suggest), I get > a error: > > # snmpwalk -c public 127.0.0.1 enterprises.18756 > snmpwalk: No securityName specifiedTry snmpwalk -v 2c -c public 127.0.0.1 enterprises.18756 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/
Thank you Stef !! -> Try -> snmpwalk -v 2c -c public 127.0.0.1 enterprises.18756 -> -> Stef IT HAS WORKED !! Now, I hope to manage that. bests andres. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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/
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 saythey 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/
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/
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.plThe 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/