From: Petter Reinholdtsen Subject: SNMP on *.skolelinux.no To: drift@skolelinux.no Date: Mon, 21 Jun 2004 01:18:57 +0200 I enabled snmp on user.skolelinux.no and maintainer.skolelinux.no, to be able to monitor the system load using MRTG from developer.skolelinux.no. I modified the default configuration to allow read access to the complete three from developer.s.n, maintainer.s.n and user.s.n, and only read access to the system three for the rest. The resulting stats are available from . Here is the recipe for the SNMP config: - Install snmpd (apt-get install snmpd) - Create /etc/snmp/snmpd.local.conf with this content: # # Local snmpd config for user.skolelinux.no # syslocation Machineroom, USIT syscontact Skolelinux Admins # Give selected hosts full read access, and all hosts read access to # the system tree. com2sec readonly localhost public com2sec readonly user.skolelinux.no public com2sec readonly maintainer.skolelinux.no public com2sec readonly developer.skolelinux.no public com2sec paranoid default public - Modify /etc/snmp/snmpd.conf like this: --- snmpd.conf.orig Sun Jun 20 23:47:38 2004 +++ snmpd.conf Sun Jun 20 23:48:50 2004 @@ -46,7 +46,7 @@ # sec.name source community #com2sec paranoid default public -com2sec readonly default public +#com2sec readonly default public #com2sec readwrite default private ####