Re: is it possible to integrate an Net SNMP sub agent(.dll) with Microsoft SNMP service ?

This is a discussion on Re: is it possible to integrate an Net SNMP sub agent(.dll) with Microsoft SNMP service ? within the SNMP Coders forums, part of the Networking and Network Related category; --0-1963217351-1118830279=:71235 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit But Dave, All the ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-15-2005
mahua dutta
 
Posts: n/a
Default Re: is it possible to integrate an Net SNMP sub agent(.dll) with Microsoft SNMP service ?

--0-1963217351-1118830279=:71235
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

But Dave, All the SNMP data is in TLV(ASN.1) format. That is why third party clients(like snmpwalk, getif) are able to connect to snmp service and able to read those datas.-- If I am not wrong.
So If we use mib2c tool to generate the code template(which uses Net-snmp api's) and to integrate with the Snmp service if we implement SNMP Extension API Functions, It should work.
Do you forsee any issue?
Thanks
mamon

Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote:
On Wed, 2005-06-15 at 09:25, mahua dutta wrote:
> I like to integrate an Net -SNMP agent, which has been developed as
> one DLL using Net-SNMP api's. Net-SNMP is also installed in my machine
> so that the dll can use Net-SNMP libraries. But instead of Integrating
> with Net-SNMP master Agent , It need to be integrated with the
> Microsoft provided SNMP service. Definitely The integration part of
> code should be according to the Microsoft specification.
>
> Will it work ?


No.

The Net-SNMP agent and MIB module APIs do not use the Microsoft
SNMP Agent API, so things cannot be integrated in that way.

If the Microsoft agent supported the Internet standard AgentX
mechanism, then you could run the Net-SNMP-based agent as an
AgentX client. But AFAIK, the MS agent doesn't support AgentX.

It would doubtless be useful if someone could develop an
MS-SNMP interface for the Net-SNMP agent - either for plugging
Net-SNMP-based modules into the Microsoft agent, or MS-based
modules into the Net-SNMP agent.
But until someone supplies the necessary code, that's not
going to be possible.

Dave




---------------------------------
Discover Yahoo!
Find restaurants, movies, travel & more fun for the weekend. Check it out!
--0-1963217351-1118830279=:71235
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>
<DIV>But Dave, All the SNMP data is in TLV(ASN.1) format. That is why third party clients(like snmpwalk, getif) are able to connect to snmp service and able to read those datas.-- If&nbsp; I am not wrong.</DIV>
<DIV>So If we use mib2c tool to generate the code template(which uses Net-snmp api's)&nbsp; and to integrate with the Snmp service if we implement SNMP Extension API Functions, It should work.</DIV>
<DIV>Do you forsee any issue?</DIV>
<DIV>Thanks </DIV>
<DIV>mamon<BR><BR><B><I>Dave Shield &lt;D.T.Shield@csc.liv.ac.uk&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Wed, 2005-06-15 at 09:25, mahua dutta wrote:<BR>&gt; I like to integrate an Net -SNMP agent, which has been developed as<BR>&gt; one DLL using Net-SNMP api's. Net-SNMP is also installed in my machine<BR>&gt; so that the dll can use Net-SNMP libraries. But instead of Integrating<BR>&gt; with Net-SNMP master Agent , It need to be integrated with the<BR>&gt; Microsoft provided SNMP service. Definitely The integration part of<BR>&gt; code should be according to the Microsoft specification.<BR>&gt; <BR>&gt; Will it work ?<BR><BR>No.<BR><BR>The Net-SNMP agent and MIB module APIs do not use the Microsoft<BR>SNMP Agent API, so things cannot be integrated in that way.<BR><BR>If the Microsoft agent supported the Internet standard AgentX<BR>mechanism, then you could run the Net-SNMP-based agent as an<BR>AgentX client. But AFAIK, the MS agent doesn't support AgentX.<BR><BR>It would dou
btless
be useful if someone could develop an<BR>MS-SNMP interface for the Net-SNMP agent - either for plugging<BR>Net-SNMP-based modules into the Microsoft agent, or MS-based<BR>modules into the Net-SNMP agent.<BR>But until someone supplies the necessary code, that's not<BR>going to be possible.<BR><BR>Dave<BR><BR></BLOCKQUOTE></DIV><p>
<hr size=1>Discover Yahoo!<br>
Find restaurants, movies, travel & more fun for the weekend. <a href="http://us.rd.yahoo.com/evt=32658/*http://discover.yahoo.com/weekend.html">Check it out!</a>
--0-1963217351-1118830279=:71235--


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0