Next Topic

Previous Topic

Book Contents

SCO UNIX

Configuring SCO UNIX SNMP Agent

  1. Log in as root.
  2. Edit /etc/snmpd.peers and add the following line at the end of the file:
"hostmib" 1.3.6.1.2.1.25 "aintNothing"
  1. Associate the MIB system names with their numeric object identifier/ASN notation:
cd /etc/sysadm.d
post_mosy -i hostmib.defs -o hostmib.dfn
  1. Enter the following command
mkdev hostmib

Select option 1 to install. You may want to verify progress by making sure that the following process exists:

/etc/smuxtcl /etc/sysadm.d/hostmib.tcl

in the process table using ps -fe | grep smux. When the process completes, you see:

Loading Host Resources MIB..............done
  1. Restart the /etc/snmpd daemon by rebooting the system or killing and restarting the daemon manually with ps and kill.
  2. The getmany command should now be able to obtain the system MIB information, as in the following example:
getmany -f /etc/sysadm.d/hostmib.dfn localhost public hrSystem

The output should be similar to the following sample excerpt:

Name : hrSystemUptime.0
Value : 118356496
Name: hrSystemDate.0
Value : 07 d0 03 0d 09 06 17 00 2d 00 00

Once the host resources agent is configured and running, CPU/disk/memory/etcetera tests should be found when you rediscover the device.