SNMP Trap LF in DisplayString

2008-03-24 Thread Larry Low
snmptrapd will separate out variable bindings with LF when used. The problem is that DisplayString can have CR LF, CR, and CR NUL. Since CR anything else is invalid maybe separating out the variable bindings with CR CR would cause less problems when trying to parse? Thoughts? Larry Low

RE: SNMPv3 Help - Problems with user accounts. Trying to snmpwalk

2008-03-24 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel Stewart > Sent: Monday, March 24, 2008 12:23 PM > However I am trying to use snmpv3 - when i do "snmpwalk -c > public -v 3 192.168.3.1" It returns "snmpwalk: No > securityName specified". Which is correct. Th

SNMPv3 Help - Problems with user accounts. Trying to snmpwalk

2008-03-24 Thread Daniel Stewart
*First time user question* I currently have net-snmp-5.4.1-3.win32.exe installed and i am trying to send an SNMP version 3 packet to a firewall for test purposes - by using the snmpwalk command. snmpwalk version 1 walks work fine - (snmpwalk -c public -v 1 192.168.3.1) and it returns an array

RE: snmpd must be root?

2008-03-24 Thread Mike Ayers
Oh, I forgot to mention, because I failed to notice (DOH!): don't post to both -users and -coders. Based on your question, I think it's reasonable to assume that you'll not have any questions that belong on -coders, so just post 'em here, please. Thanks, Mike -

RE: using net-snmp trap handler code with C++

2008-03-24 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Monday, March 24, 2008 5:49 AM > While calling snmp_send() for sending a trap packet I am > getting the following error > No log handling enabled - turning on stderr logging > snmp_build: unknown fa

RE: snmpd must be root?

2008-03-24 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Isaac Eliassi > Sent: Sunday, March 23, 2008 3:05 AM > I am creating an agent and I noticed that when I run it as > root everything seems to be ok, > > When I execute it as another user I get the following error : > > Erro

using net-snmp trap handler code with C++

2008-03-24 Thread singh.srajendra
Hi , While calling snmp_send() for sending a trap packet I am getting the following error No log handling enabled - turning on stderr logging snmp_build: unknown failure what does this error mean ? Thank you for your valuable time. Regards, Rajendra --