Re: Passing arguments to an OID with the command line tool

2010-09-14 Thread Osimar Medeiros
Thanks a lot, Michael ! I will check this suggestion right away. Regards, []'s Osimar Medeiros TI -- VIRID Interatividade Digital www.virid.com.br Phone: +55 11 4084-5099 On Tue, Sep 14, 2010 at 11:58 AM, PEOPLES, MICHAEL P (ATTSI) wrote:

how should agents handle an 'out-of-range' index ?

2010-09-14 Thread Fulko Hew
I've been coding and testing my 'client agent' test suite, and while testing it against Net-SNMP (5.4.2.1) on Fedora 8 I've been able to lock up the client. The test I am performing is: 'Test that end of table handling properly goes to the next variable.' I do this by: 'Determine the last colum

RE: Passing arguments to an OID with the command line tool

2010-09-14 Thread PEOPLES, MICHAEL P (ATTSI)
Osimar, The crude way to handle this is to use the SNMP extensions to simply call a script that already has the required command line arguments in it. If the arguments don't vary too much, then all you would need to do is issue an snmpget to that particular OID and the script will execute. If

Hi, I meet some problem when using net-snmp, can you help me, thank you!

2010-09-14 Thread fu . changyou
Hi, I develop some componets on net-snmp, It works OK on AIX. when I test it on HP-Unix, a strange thing occured. no matter where I send a request to the snmpd, the snmpd print the sender's IP and port always 0.0.0.0:0. How can I solve it? thanks! Received SNMP packet(s) from UDP: [0.0.0.0

RE: Installing Perl SNMP support on Windows

2010-09-14 Thread Vinod Nanjaiah
Hello Vinod, Are you trying to build the Perl modules with MinGW ? As you can see on the Net-SNMP wiki (http://www.net-snmp.org/wiki/index.php/Build_System/Windows), that does not yet work. Bart. Hi Bart, I tried building perl modules from command prompt as suggested in the README. I didn't

Re: snmpTrapOID having extra ".0"

2010-09-14 Thread Abraham Varricatt
> Can someone have idea of what ".0" signify in snmpTrapOID It's a standard SNMP thing. As Dave mentioned, you need a sub-identifier of ".0" to access ALL scalar variables. Tables, on the other hand are another matter. Have a look here, http://oreilly.com/perl/excerpts/system-admin-with-perl/twe

Re: snmpTrapOID having extra ".0"

2010-09-14 Thread Dave Shield
On 14 September 2010 06:31, sanjaykumar wrote: > As snmpTrapOID is 1.3.6.1.6.3.1.1.4.1 but if look at the packet of snmptrap > snmpTrapOID is 1.3.6.1.6.3.1.1.4.1.0 > Can someone have idea of what ".0" signify in snmpTrapOID snmpTrapOID is a scalar object, so has an instance subidentifier of 0 Thi