MRTG and SNMP
  mrtg を動かすには
  snmpd の確認
  Links(mrtg)
  Links(ucd-snmp)
    /usr/local/share/snmp
    /etc/snmp/
  設置
    pkgsrc
    non pkgsrc
  OID
  snmpd.conf
    share/snmp/
  snmpd -h

SNMPD & MRTG

snmpd -h

ttyp1:root@harry  9:22:41/030626(~)# snmpd -help

Usage:  snmpd [-h] [-v] [-f] [-a] [-d] [-V] [-P PIDFILE] [-q] [-D] [-p NUM] [-L] [-l LOGFILE] [-r] [-u uid] [-g gid]

        Version:  4.2.4
        Email:    net-snmp-coders at lists dot sourceforge dot net

-h              This usage message.
-H              Display configuration file directives understood.
-v              Version information.
-f              Don't fork from the shell.
-a              Log addresses.
-d              Dump sent and received UDP SNMP packets
-V              Verbose display
-P PIDFILE      Use PIDFILE to store process id
-q              Print information in a more parsable format (quick-print)
-D              Turn on debugging output
-p NUM          Run on port NUM instead of the default:  161
-x SOCKADDR     Bind AgentX port to this address
-X              Run as an AGENTX subagent rather than an SNMP master agent.
-c CONFFILE     Read CONFFILE as a configuration file.
-C              Don't read the default configuration files.
-L              Print warnings/messages to stdout/err
-s              Log warnings/messages to syslog
-A              Append to the logfile rather than truncating it.
-r              Don't exit if root only accessible files can't be opened
-I [-]INITLIST  List of mib modules to initialize (or not).
                 (run snmpd with -Dmib_init for a list)
-l LOGFILE      Print warnings/messages to LOGFILE
                (By default LOGFILE=/var/log/snmpd)
-g              Change to this gid after opening port
-u              Change to this uid after opening port

ttyp1:root@harry  9:22:42/030626(~)# 
Last Update: Wed, 29 Apr 2009 23:54:41 GMT 1.1.1.1 2008/03/12