Re: Working a whole device with Net::SNMP with Perl

Thomas Bonham <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Wes Hardaker wrote:
>>>>>> On Tue, 10 Jun 2008 10:16:20 -0700, Thomas Bonham <[email protected]> said:
>>>>>>             
>
> TB> Error: Unknow user name at test.pl line 7.
>
> That indicates it's defaulting to SNMPv3 (which is the standard default)
> and the remote agent doesn't have a user matching what you sent.
>
> Use Version => 2c or Version => 1 instead if you want SNMPv2c or SNMPv1.
>   
Okay now everything is working.

The only other big thing that I need to figure out how to do is tell it 
to just work one little part of something.  As a example just have it 
work "system" I can't seem to figure that out. Right now I'm working on 
one function that will walk "ipAdEntAddr" to get all of the ip address 
on the system then from there I will pull then index's of them to I can 
then go look it up with the device index.

Thanks for all of the help.

Thomas

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.