Re: No such security service available
Wes Hardaker <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Fri, 23 Oct 2009 17:44:15 +0200, "Schmidt-Goertz, Ulrich" <[email protected]> said: US> I am trying to write a program that uses SNMP SET (v3) to modify an US> agent's configuration. Being a total SNMP newbie, I took the example US> code from the wiki and re-wrote it to perform a SET instead of a GET. US> You can look at the resulting source, a little condensed, here: US> http://pastebin.com/m2dbf4e2d It took me a while to realize what you were missing. It's a rather important line: init_snmp("snmpapp"); US> (BTW, I have noticed the behavior is exactly the same when I try to send US> to an unreachable address. Is it OK that I can snmp_open a session even US> if the remote host is down or firewalled?) snmp_open doesn't actually make a connection (because SNMP works normally over UDP which is connectionless). It just "gets the session ready to work". Which doesn't mean it has succeeded in talking to the other side. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users