SNMP/MRTG

From Briki
Revision as of 17:56, 20 August 2007 by 205.228.74.12 (talk)
Jump to: navigation, search

Initial snmpd setup

  • Add mappings from client IPs to security policies by adding the lines:
com2sec  readonly  127.0.0.1        public
com2sec  readonly  <hostname>       public
com2sec  readonly  192.168.1.0/24   public
  • Bind snmpd to all interfaces by removing 127.0.0.1 from SNMPDOPTS in /etc/default/snmpd

Converting textual MIB names to numeric

snmptranslate -m /usr/share/snmp/mibs/UCD-SNMP-MIB.txt -On -IR dskPercent