Re: Snmp extension agent dll for generating v2c traps



Hi,
Thanks a lot for the response. I have ben struggling with this for the
past few weeks .
Based on your reply i just browsed the microsoft site and got to read the
documentation at


http://msdn2.microsoft.com/EN-US/library/aa378988.aspx#_snmp_snmp_management_api_functions.

What i understood is these API's are used to interface to a 3rd party snmp
manager.
My requirement is to use the Microsoft snmp.exe (snmp master agent ) to send
traps to a third party snmp manager . So in my case the microsoft snmp.exe
will be sending the traps to the third party manager . Based on the info i
gathered from the msdn site, i wrote an extension agent dll (using the snmp
extension agent Api's ) to plug into this master agent . I was successful in
generating V1 traps but not the same case for V2c . And based on my
exploration what i understood is -- its basically the configuration of the
snmp master agent which will determine the format of the trap ( of course the
extension agent dll has to provide the data in expected format). i just
wanted to know whether microsoft's snmp master agent supports sending V2c
traps . If so , what change is required . Can you please help me in this or
route this query to the concerned person/site ?

Thanks
sangeetha

"Farooque Khan" wrote:

Not sure about agent dll, but if you only want to generate traps, that can
be done using snmp mgr APIs, there's no need to write an extension dll for
that.

--

Farooque Khan
Project Manager
Infospectrum India Pvt. Ltd.
farooque@xxxxxxxxxxxxxxxxx
Phone: +91 712 229 3711
www.info-spectrum.com

This e-mail may contain confidential or proprietary information. If you are
not the intended recipient please notify the author by replying to this
e-mail and please note that use, disclosure, distribution, copying or
printing of this e-mail or its attachments is strictly prohibited and may be
unlawful. Whilst this e-mail has been checked for viruses, the sender takes
no responsibility and recipients are advised to undertake their own checks.


"sangeetha" <sangeetha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D2AB6BFE-3E7F-42C7-BD8C-7AA50FF1174D@xxxxxxxxxxxxxxxx
Hi,

i posted the query in comp.protocol.snmp.
but no response.
Can you please help me with this ?
whether windows 2003 server or any windows os
supports generating v2c traps using extension agent dlls
and snmp.exe ?

thanks
sangeetha

"sangeetha" wrote:

Hi,
Thankyou .. I will post this query in comp.protocol.snmp

Thanks
sangeetha

"Arkady Frenkel" wrote:

You can ask snmp questions on comp.protocols.snmp NG
Arkady

"sangeetha" <sangeetha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7D1BF4C8-3F4A-4EB3-8855-AF61E5F0D43E@xxxxxxxxxxxxxxxx
Hi,
I wanted to develop an extension agent dll to generate v2c traps . I
followed the examples provided in msdn (testdll.dll which uses
snmpextenioninit, snmpextensiontrap) and developed an extension agent
dll
to
to generate Snmp v1 traps. As per snmpv2c rfc document i modified
the
variable bindings fields to contain sysuptime and snmptrapoid as the
first
and second variable bindings field to generate a v2c trap. But still
the
trap
received by the manager application shows the trap is in V1 format.

Can you please let me knows what modification/configuration is
required in
the windows setup , mibs,registry (my os is windows xp) so that the
snmp
master agent can generate snmpv2c traps .

Thanks
sangeetha







.



Relevant Pages

  • Re: Snmp extension agent dll for generating v2c traps
    ... What i understood is these API's are used to interface to a 3rd party snmp ... My requirement is to use the Microsoft snmp.exe (snmp master agent) to ... will be sending the traps to the third party manager. ... extension agent Api's) to plug into this master agent. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Snmp extension agent dll for generating v2c traps
    ... You can ask snmp questions on comp.protocols.snmp NG ... I wanted to develop an extension agent dll to generate v2c traps. ... the windows setup, mibs,registry so that the snmp ...
    (microsoft.public.win32.programmer.networks)
  • Re: SNMPing
    ... eXc Software has a way to display SNMP traps (and can ... The end result is that you get your traps (from any snmp ... > alert notification in MOM 2005. ... > to compile them. ...
    (microsoft.public.win32.programmer.wmi)
  • Re: sending snmp traps from z/OS
    ... This is the SNMP support for NetView that Chris is referring to. ... was, in fact, just for issuing SNMP queries and receiving traps. ...
    (bit.listserv.ibm-main)
  • A SNMP extension agent problem - Cannot Receive the "Set" request from master agent!
    ... I am trying to porting the SNMP extension agent, ... to the other platform based on WinCE 4.2. ... message showed when the 'set' request is failed: ... resolved by the SnmpExtensionQuery function in my extension agent DLL ...
    (microsoft.public.windowsce.platbuilder)