About mib2c...
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, i am woring on window xp and using netsnmp5.5 and visual stdio 2008 the mib2c tool is showing the following: c:\usr\bin\mib2c -c mib2c-mfd.conf ifTable cannot find the a configuration file called mib2c.mfd.conf i looked in /usr/local/share/snmp/ usr/local/share/snmp/mib2c-data ./mib2c-conf.d kinldy find the attachmets(configurationfile snmp.conf and snmpd.conf). with regards Ganesh Y Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Bharat Electronics or [email protected] immediately and destroy all copies of this message and any attachments. ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
snmp.conf
(/, 2 KB)
########################################################################### # # snmp.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Default Authentication Options # # This section defines the default authentication # information. Setting these up properly in your # ~/.snmp/snmp.conf file will greatly reduce the amount of # command line arguments you need to type (especially for snmpv3). # defaultport: The default port number to use # This token specifies the default port number you want packets to # be sent to and received from. # override: with -p on the command line. # arguments: portnum defaultport 161 # defversion: The default snmp version number to use. # override: with -v on the command line. # arguments: 1|2c|3 defversion 2c # defcommunity: The default snmpv1 and snmpv2c community name to use when needed. # If this is specified, you don't need to include the community # name as an argument to the snmp applications. # override: with -c on the command line. # arguments: communityname defcommunity public ########################################################################### # SECTION: Textual mib parsing # # This section controls the textual mib parser. Textual # mibs are parsed in order to convert OIDs, enumerated # lists, and ... to and from textual representations # and numerical representations. # mibdirs: Specifies directories to be searched for mibs. # Adding a '+' sign to the front of the argument appends the new # directory to the list of directories already being searched. # arguments: [+]directory[:directory...] mibdirs c:\usr\share\snmp\mibs # mibs: Specifies a list of mibs to be searched for and loaded. # Adding a '+' sign to the front of the argument appends the new # mib name to the list of mibs already being searched for. # arguments: [+]mibname[:mibname...] mibs +ALL
snmpd.conf
(/, 1.6 KB)
########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity public localhost ########################################################################### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation COMMUNICATIONS-CRL # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact "GANESH Y"