Re: Fix broken smux with password support

2009-01-27 Thread Thomas Anders
Krzysztof Oledzki wrote: > Attached patch fixes this. Thanks for the patch. Could you please submit it to http://www.net-snmp.org/patches so it won't get lost? Same for your other patch. Cheers, +Thomas -- This SF.net

Fix src/dst madness for UDP (fwd)

2009-01-27 Thread Krzysztof Oledzki
Ping? -- Forwarded message -- Date: Wed, 8 Oct 2008 20:54:31 +0200 (CEST) To: [email protected] Hello, $ grep snmp /etc/hosts.allow snmpd: 192.168.129.26 127.0.0.1 Before: Connection from UDP: [195.177.211.64]->[192.168.129.26]:-19218 REFUSED With the atta

Fix broken smux with password support

2009-01-27 Thread Krzysztof Oledzki
Hello, Currently it is required to add a dummy ".number" to make smux with password working. It is because there are two bugs: - smux_parse_peer_auth() calls read_objid() with "OID PASSWORD" string, not with "OID" alone. When read_objid parses such OID - eg. "1.2.3.4.5 abc", it is able to pa

Re: MIBs needed to run SNMP agent

2009-01-27 Thread Dave Shield
2009/1/27 Angela Lazaro : > Does anyone know if all the MIBs that came with the net-snmp package are > needed in order to run the agent without errors? No - the agent doesn't actually need the MIB files at all. See http://www.net-snmp.org/wiki/index.php/FAQ:MIBs_09 for more info Dave

MIBs needed to run SNMP agent

2009-01-27 Thread Angela Lazaro
Hi all, Does anyone know if all the MIBs that came with the net-snmp package are needed in order to run the agent without errors? I'm using net-snmp 5.3.2 and I'm trying to realised if all the MIBs that came are needed and why. Does anyone already tried to do that? If so, what was the result?

Re: SNMP trap message include the GMT offset in the timestamp?

2009-01-27 Thread Dave Shield
2009/1/23 Dey, Rajnish : > Does SNMP v2 trap message include the GMT offset in the timestamp? The timestamp in an SNMPv2 trap is the sysUptime value - i.e. the number of centi-seconds that the agent (or notification generator) has been running. The PDU does not contain a "wall-clock" style timesta

Re: registering custom interface in ifTable

2009-01-27 Thread Dave Shield
2009/1/18 Łukasz Zwierko : > My equipment has some custom hardware (ISDN network interfaces) which do > not appear in linux as interfaces (such as eth or ppp etc) but are > managed by a simple char device driver. Anyway, I'd like to register > these interfaces in ifTable, and preferably I'd like to

Re: About the snmp 5.4.2

2009-01-27 Thread Dave Shield
2009/1/7 : > How to configure snmptrapd.conf to make the FormatString work for > the traphandle? > > I wrote the content: > Format1UDP:[%a] > in the snmptrapd.conf file. > > But it doesn't work. That works for formatting SNMPv1 traps. For SNMPv2 traps (i.e. SNMPv2c or SNM

Re: SNMP Trap Configuration in Fedora core 10

2009-01-27 Thread Dave Shield
2009/1/27 Asad Kazmi : > I want to recieve incoming traps on linux and log them in mysql , just > need help how to configure snmptrapd.conf , i configured the dslam to > send traps but dont know how to config snmptrap configuration file in > fedora. i am new to snmp. I suggest you look at SNMP Tra

Re: Use of multiple MIB instances

2009-01-27 Thread Dave Shield
2009/1/22 Zé Flash : > Ok... from what you explained, when I register a new instance of a MIB I > have to specify the context in which I want it to be accessible. But, how > can I announce this "new" context to the management system? How can I say > that there is a new sensor? That's up to the per

Re: com2SecList

2009-01-27 Thread Dave Shield
2009/1/12 Dana Burns : > com2SecList suffers from being transport-domain specific. > I believe it should be moved to snmplib/snmp_transport.c and > made tdomain-neutral. I agree. Most other transport-related configuration uses a standard prefix-based syntax for specifying transport-specific addres

Re: send_linkUpDownNotifications() bug ?

2009-01-27 Thread Dave Shield
2009/1/27 lanas : > What seems to happen is that the %W format option of snmptrapd will > always return 'Cold Start'. In the example above it is clearly a > linkUp trap: > > SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp > > But &W is neverthless 'Cold Start'. The formatting codes '%w' and '%W'

Re: SNMP Trap Configuration in Fedora core 10

2009-01-27 Thread Asad Kazmi
I want to recieve incoming traps on linux and log them in mysql , just need help how to configure snmptrapd.conf , i configured the dslam to send traps but dont know how to config snmptrap configuration file in fedora. i am new to snmp. asad On Tue, 2009-01-27 at 11:15 +, Dave Shield wrote: >

Re: SNMP Trap Configuration in Fedora core 10

2009-01-27 Thread Dave Shield
2009/1/27 Asad Kazmi : > can some one help me to configure snmp trap in fedora, my file is empty > with no configuration and i need some hints to configure it. What do you want to do? Dave -- This SF.net email is sponsor