extending the agent

This is a discussion on extending the agent within the SNMP Users forums, part of the Networking and Network Related category; Hi All, Hi I want to make an snmp agent which can support MARCONI mibs. Presently I am trying to ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-31-2005
 
Posts: n/a
Default extending the agent

Hi All,

Hi I want to make an snmp agent which can support MARCONI mibs.

Presently I am trying to perform an exercise by using the the =
NET-SNMP-TUTORIAL-MIB.

I have done the following steps :=20

1)Copied the MIB file to the C:\net-snmp-5.2.1\mibs directory.

2)Copied the C and H source code files(from the site) to the directory =
C:\net-snmp-5.2.1\agent\mibgroup.

3)Modified the SNMP.CONF file to include this line :

mibs +ALL=20

to include all the MIBS


4)Then I am following the=20

Microsoft Visual C++ - Extending the Agent section on README.WIN32=20
and then when i try to build the netsnmpmibs library it gives me this =
error :
--------------------Configuration: netsnmpmibs - Win32 =
Debug--------------------
Compiling...
setSerialNo.c
C:\net-snmp-5.2.1\agent\mibgroup\mibII\setSerialNo.c(14) : fatal error =
C1083: Cannot open precompiled header file: 'Debug/netsnmpmibs.pch': =
Permission denied
Error executing cl.exe.
I cannot see the file netsnmpmibs.pch in my PC.Am I doing something =
wrong?SNMPD is properly installed in my PC and when I run it does work =
fine.But I am facing this problem if I am trying to rebuild the =
libraries to extend my agent.
I have followed only the steps that I have written above.Am I missing on =
something?If so then please let me know about it.I am using Microsoft =
Visual C++ to build the library.Even if I try to build the same from =
command prompt using the BUILD.BAT file it gives me the same error.
I am using the following menu option to build it.

Net-SNMP build options =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D
1. OpenSSL support: disabled=20
2. Platform SDK support: disabled=20
3. Install path: c:/usr=20
4. Install after build: enabled=20
5. Perl modules: disabled
6. Install perl modules: disabled=20
7. Quiet build (logged): enabled=20
8. Debug mode: disabled=20
9. IPv6 transports: disabled=20
F. Finished - start build Q. Quit - abort build Select option to set / =
toggle:=20
I need to check that if this is working fine because I have to soon =
develop a SNMP agent to cater to MARCONI supplied MIBS.

Regards,

Samrat Dutta

Switch Manager/C-SCAS Development
Phone no : 01473 348876



-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 04:51 PM.


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