SNMPd is not installed by default. You must first install snmpd. apt-get update; apt-get install snmpd You should see many lines; The following NEW packages will be installed: You click just hit enter. It will download and install snmp. When this is done. Open the configuration file: nano /etc/snmp/snmpd.conf The first thing to change will be at the top of the configuration file. # AGENT BEHAVIOUR # Listen for connections from the local system only You are changing 2 things here. By default: AND agentAddress udp:161,udp6:[::1]:161 will be #agentAddress udp:161,udp6:[::1]:161 Simply make the change to make it appear like above in blue. Further down the configuration file you can add the following. Add the following for your internal ip addresses: rocommunity secret 10.0.0.0/8 Press ctrl+x to exit. Type y to save, and press Enter for the file name. Restart the SNMP agent: /etc/init.d/snmpd restart This should be all you need to do in most cases. Now from Netmon add your server. --------------------------------------- Old instructions # apt-get install snmpd snmp other stuff: you have to edit your snmpd.conf file to have "DISK" in it in order to monitor disk space SNMP setup for server (DEBIAN) $ sudo apt-get install snmpd snmpd is now installed but we still have to tweak it a little bit to make it work as we want. 1.2. Configuring SNMPDThe first thing we want to make sure is that snmpd is only going to wait for connections on localhost. To do this, edit file /etc/default/snmpd and make sure those values are set: SNMPDRUN=yes If you want your server to listen on all interfaces, remove the 127.0.0.1 bit. Installing SNMP Server in Debian first step |
Linux Links >