snmptrapd.conf: Error: bad security level (noauthnopriv, authnopriv, authpriv)

2009-06-23 Thread PoWah Wong
I want to setup the snmptrapd on 5.4.1 & FC6 linux. I send a test trap with netsnmp 4.5.2.1 on FC6 linux as follows: snmptrap -e 0x0102030405 -v 3 -u admin -l authPriv -a MD5 -A 12345678 -x DES -X 87654321 172.20.11.72 42 coldStart.0 The wireshark program running on 172.20.11.72 capture this tr

Re: configure linux to receive snmp traps

2009-06-23 Thread Vincent Bernat
OoO Lors de la soirée naissante du mardi 23 juin 2009, vers 18:27, Param Srinivas disait : > Here's my question . I would like linux (redhat 5) to receive snmp traps from > other windows server and also vmware environment. > So in the installed net-snmp pakage. Then started the service "snmpd and

Re: netsnmp.client.Varbind (novice python question)

2009-06-23 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du mardi 23 juin 2009, vers 14:03, Dmitry Melekhov disait : > import netsnmp > oid = netsnmp.VarList(netsnmp.Varbind('.1.3.6.1.2.1.2.2.1.2')) > result = netsnmp.snmpwalk(oid, > Version = 2, > DestHost="192.168.22.253", > Community="public") > prin

configure linux to receive snmp traps

2009-06-23 Thread Param Srinivas
Hello SNMP experts, I am new to this mailing list. I am looking for some help with snmp here. Here's my question . I would like linux (redhat 5) to receive snmp traps from other windows server and also vmware environment. So in the installed net-snmp pakage. Then started the service "snmpd and s

Weird behavior when setting trap destination with same username as the agent username

2009-06-23 Thread Dave Stav
Hello List, I have noticed an interesting phenomenon when configuring trap destinations and I wanted to ask if this is a bug in net-snmp or is it some behavior I simply do not understand. I am running a net-snmp version 5.4.2 on an embedded linux system with kernel 2.6.26-2-686. My /etc/snmp/

Re: snmpwalk not working on ipv6-host(but snmpd is started and its showing its pid)

2009-06-23 Thread Dave Shield
Sorry for the delay in responding to this message. But if you had retained the mailing list in the Cc: field, it's possibly that someone else might have been able to help you. By sending your reply to me alone, you are cutting yourself off from all other assistance. 2009/6/8 ravi singh : > thanks

Problem with snmpwalk

2009-06-23 Thread manu.asm
Hi All, I have ported net-snmp-5.2.1 to uClinux running on Blackfin platform. And I have added 2 custom MIBs and built the agent. Whenever I do an snmpwalk from another machine (running) to the new MIB, the agent responds properly most of the times. But once in 10 runs (approximately), I get t

Re: How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-06-23 Thread Dave Shield
2009/6/23 Krishna Mohan : > On my host I’m using legacy snmp (internally developed by our team) which > lacks IPv6 functionality.  In order to circumvent this, I’d like to use > net-snmp agent which supports IPv6 and adding new MIBs at ease.  Could you > please let me know how to run my legacy snmp

How to run my legacy snmp "agent" as sub-agent of net-snmp agent

2009-06-23 Thread Krishna Mohan
Hi,   On my host I’m using legacy snmp (internally developed by our team) which lacks IPv6 functionality.  In order to circumvent this, I’d like to use net-snmp agent which supports IPv6 and adding new MIBs at ease.  Could you please let me know how to run my legacy snmp as sub-agent of net-snm

netsnmp.client.Varbind (novice python question)

2009-06-23 Thread Dmitry Melekhov
Hello! I wrote following easy script: import netsnmp oid = netsnmp.VarList(netsnmp.Varbind('.1.3.6.1.2.1.2.2.1.2')) result = netsnmp.snmpwalk(oid, Version = 2, DestHost="192.168.22.253", Community="public") print result print oid[0] I get for print oid[0] I can't find documentation

Re: SNMP mibs: trap definitions

2009-06-23 Thread Dave Shield
2009/6/23 Jansen, Mario : > It does not look as an varbind. I included an screenshot of our snmp > application CA spectrum. It shows the trap 1.3.6.1.4.1.8072.3.2.3.6.1. If you look at the first varbind, this shows: .1.3.6.1.6.3.1.1.4.1.0 (snmpTrapOID.0) with a value of .1.3.6.1.2.1.88.2.

RE: SNMP mibs: trap definitions

2009-06-23 Thread Jansen, Mario
It does not look as an varbind. I included an screenshot of our snmp application CA spectrum. It shows the trap 1.3.6.1.4.1.8072.3.2.3.6.1. Besides that it also including some varbindings. I had already imported the net-snmp-agent-mib already but it contains a very basic trap definition: nsNotifyS

Re: Capture a petition MODE_GETNEXT

2009-06-23 Thread Dave Shield
2009/6/23 Roberto Gonzalo : >  How can I capture a petition MODE_GETNEXT in switch (reqinfo->mode) {}. > Whe i send a request GETNEXT from my Mib Explorer, the request allways enter > into MODE_GET in my source code What helper is used to implement this MIB? What does the code used to register thi

Re: SNMP mibs: trap definitions

2009-06-23 Thread Dave Shield
2009/6/23 Jansen, Mario : > Does anyone know or there is an mib with trapdefinition for net-snmp. The Net-SNMP notifications are defined in the NET-SNMP-AGENT-MIB > However it can not resolve the traps I receive 1.3.6.1.4.1.8072.3.2.3.6.1 That is not the OID of a trap or notification - it's mor

Capture a petition MODE_GETNEXT

2009-06-23 Thread Roberto Gonzalo
Hi, All. How can I capture a petition MODE_GETNEXT in switch (reqinfo->mode) {}. Whe i send a request GETNEXT from my Mib Explorer, the request allways enter into MODE_GET in my source code and I don´t know what parameter change in this petition. Sorry, my english is very poor. Roberto Gonza