I want to monitor my routers interfaces thats why FreeBSD will work as a monitoring server. Suppose one my routers Fast Ethernet IP= 10.10.10.1/30 and FreeBSD box's IP = 172.16.4.226 /23. LAN and WAN is okay community (Read only) decleared in my network as a FSMUhello
Could you please tell me how do I configure snmpd.conf ? Actualy this is first time I wanted to configure MRTG on FreeBSD. I have given here configuration in bellow, please check it: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++== vi /usr/local/share/snmp/snmpd.conf # 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. # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity "public 127.0.0.1" rocommunity public 127.0.0.1 return ########################################################################### # SECTION: Agent Operating Mode # # This section defines how the agent will operate when it # is running. # agentaddress: The IP address and port number that the agent will listen on. # By default the agent listens to any and all traffic from any # interface on the default SNMP port (161). This allows you to # specify which address, interface, transport type and port(s) that you # want the agent to listen on. Multiple definitions of this token # are concatenated together (using ':'s). # arguments: [transport:[EMAIL PROTECTED]/address],... agentaddress 127.0.0.1 ########################################################################### # 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 "FSMU, Ministry of Finance ,Secretariat, Dhaka, Bangladesh" # 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 [EMAIL PROTECTED] # sysservices: The proper value for the sysServices object. # arguments: sysservices_number sysservices 1 -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
