Re: Snmp extension agent dll for generating v2c traps
- From: "Farooque Khan" <farooque.khan[AT]gmail[DOT]com>
- Date: Tue, 21 Aug 2007 17:48:29 +0530
--
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:D0B7F74B-EC28-4992-BD60-453D1C8AD409@xxxxxxxxxxxxxxxx
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 ?
I have no experience with extension agent, but I believe that snmp.exe
(master agent) supports SNMP v2c. Atleast Vista supports it as this URL
mentions:
http://msdn2.microsoft.com/en-us/library/aa379141.aspx
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
.
- References:
- Re: Snmp extension agent dll for generating v2c traps
- From: Arkady Frenkel
- Re: Snmp extension agent dll for generating v2c traps
- From: Farooque Khan
- Re: Snmp extension agent dll for generating v2c traps
- From: sangeetha
- Re: Snmp extension agent dll for generating v2c traps
- Prev by Date: Http server
- Next by Date: Re: UDP exeption 10040"message too long"
- Previous by thread: Re: Snmp extension agent dll for generating v2c traps
- Next by thread: Re: WlanApi and WlanRegisterNotification
- Index(es):
Relevant Pages
|