Sending and Receiving v3 traps

2012-06-20 Thread Bob O'Neil
I need to convert a working subagent application to migrate from sending SNMP version 2 traps to version 3 traps. From what I have read, the send_v2trap API is equivalent to send_v3trap, other than the latter having a context argument. So how do I configure my Net-SNMP agent to utilize the

Re: Sending and Receiving v3 traps

2012-06-20 Thread Dave Shield
On 19 June 2012 21:29, Bob O'Neil b...@robocomai.com wrote: I need to convert a working subagent application to migrate from sending SNMP version 2 traps to version 3 traps. Does this subagent handle sending the traps itself, or does it pass them off to the master agent? (If you're not sure,

make errors on a Solaris platform

2012-06-20 Thread SCHILLO, ROBERT
When running make on a Solaris platform I get the following errors. Any suggestions? make /bin/bash ../libtool --mode=compile /usr/local/bin/gcc -I../include -I. -I../snmplib -fno-strict-aliasing -g -m64 -O2 -Usolaris2 -Dsolaris2=solaris2 -c -o snmp_api.lo snmp_api.c ../libtool: line

Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-20 Thread Suresh kumar
Hi Dave Following is the snmpd.conf configuration: trapsess -v 3 -Ci -r 1 -t 5 -e 0x80001f8880386a8adc0005946b -n -a SHA -A mypassword -l authNoPriv -u traptest 192.168.101.226 1. Engine ID discovered correctly during discovery; but Agent still incrementing usmStatsUnknownEngineIDs.0

Re: securityEngineId problem in 5.7.1

2012-06-20 Thread Wes Hardaker
Stone, Thomas thomas.st...@safenet-inc.com writes: I'm cross-compiling for 32-bit embedded environment. After modifying the configure file sufficiently so that the application builds and starts, the initial trap that should get sent to the SNMP server isn't going out. Does your 'trapsess'

Re: snmptrapd with TLS or DTLS?

2012-06-20 Thread Wes Hardaker
M L nunch...@hotmail.com writes: I have seen that net-snmp has support for (D)TLS for the snmpd agent. I've tried to find an example to do the same for the snmptrap daemon.For example, where to specify the server certificate to use for snmptrapd? The same configuration tokens that work

Re: Net-SNMP and non ASCII characters

2012-06-20 Thread Wes Hardaker
Octavi Fullana ofull...@central.aplitec.com writes: I have tried to add the -Oa switch in the SNMPDOPTS line inside the /etc/init.d/snmpd script, but it is ignored. Does anybody know how to force the output to be ASCII for all snmp items? The applications use the isprint() function to

Re: Net-snmp 5.7.1: trouble with SNMPv3 INFORM's configured via MIBs, via config files ok

2012-06-20 Thread Wes Hardaker
Patrick Rogier patrick.rog...@sioux.eu writes: /var/net-snmp/snmpd.conf (dynamic snmpd.conf): createUser my_rwuser MD5 setup_rw_passphrase createUser my_rouser MD5 setup_ro_passphrase createUser my_inform_user MD5 setup_inform_passphrase The last line needs to create the user in

Re: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-20 Thread Dave Shield
On 20 June 2012 15:56, Suresh kumar skjaiswa...@hotmail.com wrote: Following is the snmpd.conf configuration: trapsess -v 3 -Ci -r 1 -t 5 -e 0x80001f8880386a8adc0005946b -n -a SHA -A mypassword -l authNoPriv -u traptest 192.168.101.226 and the snmptrapd.conf configuration? Dave

Re: Received response for SNMPv3 inform; but Agent still sending inform for the number of retries configured.

2012-06-20 Thread Wes Hardaker
Suresh kumar skjaiswa...@hotmail.com writes: 1. Engine ID discovered correctly during discovery; but Agent still incrementing usmStatsUnknownEngineIDs.0 (See EngineIDErrorPkt.pcap) 2. Also sending report SNMP-USER-BASED-SM-MIB::usmStatsNotInTimeWindows.0 (See EngineIDErrorPkt.pcap). updated

Re: Net-SNMP and non ASCII characters

2012-06-20 Thread Dave Shield
On 13 June 2012 11:52, Octavi Fullana ofull...@central.aplitec.com wrote: But if I use the -Oa (force output as ASCII): snmpget -Oa -v 1 -c community Lexmark_printer_IP .1.3.6.1.2.1.43.11.1.1.6.1.5 I get Caja de desecho de t.ner That is the purpose of the -Oa client option, yes. I have

RE: Net-SNMP and non ASCII characters

2012-06-20 Thread Octavi Fullana
Ok, I understand. Can you please give me some guidelines to correctly setup locales? I already installed es-ES, but still receive the hexadecimal output Thanks, Octavi Fullana -Mensaje original- De: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] En nombre de Dave Shield

Re: Net-SNMP and non ASCII characters

2012-06-20 Thread Dave Shield
On 20 June 2012 16:26, Octavi Fullana ofull...@central.aplitec.com wrote: Can you please give me some guidelines to correctly setup locales? I already installed es-ES, but  still receive the hexadecimal output That probably makes the Spanish locale available, but doesn't necessary make it

Re: take 2 at installation

2012-06-20 Thread Michael Zimmers
Well, I just ran the configure script...for some reason, it didn't ask me hardly any questions this time. Here's the summary: Net-SNMP configuration summary: - SNMP Versions Supported:1 2c 3 Building

Re: take 2 at installation

2012-06-20 Thread Ricardo Hillbrecht
I can't see any problem in there, this output is similar to mine. -Ricardo 2012/6/20, Michael Zimmers mzimm...@gmail.com: Well, I just ran the configure script...for some reason, it didn't ask me hardly any questions this time. Here's the summary: Net-SNMP configuration

Re: take 2 at installation

2012-06-20 Thread Dave Shield
On 20 June 2012 17:45, Michael Zimmers mzimm...@gmail.com wrote: Well, I just ran the configure script...for some reason, it didn't ask me hardly any questions this time. It may have remembered the previous responses (depending on exactly how you invoked configure last time) Here's the

Re: problem with interface index values

2012-06-20 Thread christopher.wu
I can add some more insight to my original question. After the first time I bounce the PPPoE daemon snmpd (version 5.5.1) returns two ppp0 interfaces. After a few minutes the first one will disappear. Before that could happen I decided to restart snmpd to see what it would return.