Intervallic Polling in Parallel

2010-01-06 Thread Mike Gibson
Greetings, I am currently writing a management application based on the Net-SNMP C API. It is to run on an embedded Linux device. This manager needs to poll a host for a number of OIDs in parallel and it needs to poll according to an interval (say, every 5 or 10 seconds). I have gone through th

Re: Receive of snmp Trap

2010-01-06 Thread Dave Shield
2010/1/6 Lv, Bo (EXT-Other - CN/Hangzhou) : > The trap information should be: Trap OID It depends on the trap. Some notifications will just contain the trap OID, with no payload. (e.g. coldStart, warmStart, nsNotifyShutdown). Some notifications will include several varbinds, not just one. (e.g.

RE: Receive of snmp Trap

2010-01-06 Thread Lv, Bo (EXT-Other - CN/Hangzhou)
Hello, Dave Thanks for your reply. I may not specify clearly for the trap vaule :) The trap information should be: Trap OID If the agent send out a trap, for example: OID, My application want to receive the Per your suggestion, is it better to have snmptrapd to call some program for this tra

Re: snmpwalk: Decryption error (snmp v3) (openWRT)

2010-01-06 Thread Dave Shield
2010/1/5 : > my problem: I want to install an snmp daemon on an openWRT (kamikaze > 8.09.2) (running on an Avila GW2348-4). I installed snmpd, libopenssl > via opkg > everything is fine as long as I don't use authPriv. That sounds suspiciously as if the openWRT package has been compiled *without

Re: Receive of snmp Trap

2010-01-06 Thread Dave Shield
2010/1/6 Lv, Bo (EXT-Other - CN/Hangzhou) : >the trap message sent from agent seems are the encoded message, Yes > I have to decode the message in my application for the trap information Correct. Use 'snmp_read()' to do this > it seems I need to implement the snmptrapd logic agian If you a

snmpwalk: Decryption error (snmp v3) (openWRT)

2010-01-06 Thread martin.kasparick
Hallo, my problem: I want to install an snmp daemon on an openWRT (kamikaze 8.09.2) (running on an Avila GW2348-4). I installed snmpd, libopenssl via opkg my snmpd.conf: rwuser testuser createUser testuser MD5 testuserpw DES testuserpw starting snmpd with: /usr/sbin/snmpd -c /etc/snmp/mysnmpd.co