Instructions for Graphing Unix Host Resources with UCD SNMP

 - Build and install ucd snmp 4.2 on the Unix host using the 
   source found in packages/ucd-snmpd-4.2.tar.gz
 - snmpd sometimes fails to build:
     mibII/interfaces.c: In function `Interface_Scan_Init':
     mibII/interfaces.c:1396: `ARPHRD_HIPPI' undeclared [...]
   to fix this, do
     cd agent/mibgroup/mibII
     patch < /path/to/nrg/source/contrib/ucd-snmpd.patch
 - Install a ucd snmpd configuration file using example found in 
   contrib/ucd-snmpd.conf.  Uncomment the "com2sec" lines and change 
   the read community string "public" to some other value.  The 
   resulting file should copied to /usr/local/share/snmp/snmpd.conf. 

 - Start snmpd:

     (cd /; /usr/local/sbin/snmpd)
 - Test the snmpd agent:
     snmpwalk localhost your_read_string .1.3.6.1.4.1.2021.10.1.5.2
     snmpwalk localhost your_read_string .1.3.6.1.4.1.2021.4.5
     snmpwalk localhost your_read_string .1.3.6.1.4.1.2021.4.3
     snmpwalk localhost your_read_string .1.3.6.1.4.1.2021.9.1.3
 - Configure the host to start snmpd at boot.  Do these commands
   as root:
    - If you have RedHat Linux, put contrib/ucd-snmpd.init in 
      /etc/rc.d/init.d and do "chkconfig --add ucd-snmpd.init"
    - If you have some other type of Linux, add contrib/ucd-snmpd.init
      to /etc/rc.d/init.d or /etc/init.d and do
        cd /etc/rc2.d
        ln -s ../init.d/ucd-snmpd.init S40ucd-snmpd
    - If you have a System5-like Unix, try adding contrib/ucd-snmpd.init
      to /etc/init.d or /sbin/init.d and do
        cd /etc/rc2.d
        ln -s ../init.d/ucd-snmpd.init S40ucd-snmpd

    - If you have a BSD-like Unix, try adding
        echo "Starting UCD SNMPD"
        /usr/local/sbin/snmpd &
      to /etc/rc.local
 - Add the appropiate .mconf strings to Site.mconf using
   examples/snmpd.mconf as your guide.
 - You can also graph and archive network interface utilization
   data by using examples/ifaces.mconf as your guide.
 - Tell NRG about the new meta target:
     make update
     make notify


Notes Regarding the SNMP.pm perl module from UCD SNMP v4.2

 - To get perl SNMP.pm, it appears you must have UCD SNMP installed
   and you must do
     perl Makefile.pl
     make
     make install
   in the perl directory of the ucd-snmp-4.2 package