Display SNMP Statistics on the Command Line

If you do not have access to a network control center, you can view SNMP statistics in a terminal window.

Before you begin

The net-snmp-utils package must be installed on the host server. It is part of the standard Red Hat Enterprise Linux (RHEL) installation and a MATRIXX third-party requirement.

For more information about the MATRIXX environment variables, see the discussion about installation directories, navigation shortcuts, and environment variables in MATRIXX Installation and Upgrade.

Procedure

  1. Create the /.snmp/mibs directory in the mtx user's /home directory.
    For example:

    mkdir ${HOME}/.snmp/mibs

  2. Create an snmp.conf file in the .snmp directory that has the following lines:
     mibs +MATRIXX-SMI
    mibs +MATRIXX-MIB
  3. Copy or symbolically link the *_mib.txt files in the ${MTX_DATA_DIR}/snmp/mibs/ directory to the ~/.snmp/mibs/ directory.
  4. Browse the mib file using the net-snmp utilities.