This is a discussion on Quick question on adding MIB on windows XP within the SNMP Users forums, part of the Networking and Network Related category; --===============0766466953== Content-Type: multipart/alternative; boundary="0-1684505213-1156202955=:8786" Content-Transfer-Encoding: 8bit --0-1684505213-1156202955=:8786 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0766466953==
Content-Type: multipart/alternative; boundary="0-1684505213-1156202955=:8786" Content-Transfer-Encoding: 8bit --0-1684505213-1156202955=:8786 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello, Having a wee' problem trying to see whether the generated MIB template code is being added to the agent. 1) I create a directory in : C:/net-snmp-5.3.1/agent/mibgroup/secureaxis and copy the .h and .c files to that directory. The ModuleId is secureAxis. 2) I then create a header file in the mibgroup directory called secureAxis.h with the following contents: config_require(secureAxis/secureAxis) 3) I then attempt to Configure by going to the win32 directory: perl Configure --with-sdk --with-ssl --with-mib-modules="secureAxis" --config=debug -prefix="C:/usr" It looks OK, when I then execute "build.pl" I dont think its building or attempting to build the the files within the secureAxis directory. I'm using Microsoft Visual Studio 7. Any ideas on this problem would be appreciated. Thanks, Garyc --0-1684505213-1156202955=:8786 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <div>Hello,</div> <div> </div> <div>Having a wee' problem trying to see whether the generated MIB template code is being added to the agent.</div> <div> </div> <div>1) I create a directory in :</div> <div> C:/net-snmp-5.3.1/agent/mibgroup/secureaxis</div> <div> </div> <div> and copy the .h and .c files to that directory. The ModuleId is secureAxis.</div> <div> </div> <div>2) I then create a header file in the mibgroup directory called secureAxis.h with</div> <div> the following contents:</div> <div> <FONT color=#008000 size=2></div> <div></FONT><FONT size=2> config_require(secureAxis/secureAxis)</FONT></div> <div><FONT size=2></FONT> </div> <div><FONT size=2>3) I then attempt to Configure by going to the win32 directory:</FONT></div> <div> </div> <div>perl Configure --with-sdk --with-ssl --with-mib-modules="secureAxis" --config=debug -prefix="C:/usr"</div> <div> </div> <div><FONT size=2>It looks OK, when I then execute "build.pl" I dont think its building or attempting to build the the files within the secureAxis directory.</div></FONT> <div> </div> <div>I'm using Microsoft Visual Studio 7.</div> <div> </div> <div>Any ideas on this problem would be appreciated.</div> <div> </div> <div>Thanks,</div> <div>Garyc</div> <div> </div> --0-1684505213-1156202955=:8786-- --===============0766466953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 --===============0766466953== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============0766466953==-- |