vADC Docs

Installing the Stingray SNMP MIBs

by on ‎02-22-2013 04:50 AM (2,102 Views)

Stingray Traffic Manager ships with SNMP MIBs which facilitate the process of querying the SNMP agent.  You can download these MIB files from the Admin Interface:

snmp1.png

Download these two MIB files.

Step 1: Determine the appropriate location for MIB files on your client system:

# net-snmp-config --default-mibdirs

/home/owen/.snmp/mibs:/usr/share/snmp/mibs

Copy the MIB files into one of these locations.

Step 2: Determine the appropriate location for your snmp.conf:

# net-snmp-config --snmpconfpath

/etc/snmp:/usr/share/snmp:/usr/lib/snmp:/home/owen/.snmp:/var/lib/snmp

Add the following two lines to your snmp.conf (creating a new snmp.conf if necessary):

mibs +ZXTM-MIB

mibs +ZXTM-MIB-SMIv2

Step 3: Test that you get the SNMP 'friendy names' when you query the Stingray SNMP agent:

# snmpwalk -v2c -c public localhost 1.3 | head

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (239872900) 27 days, 18:18:49.00

SNMPv2-MIB::sysName.0 = STRING: athene.cam.zeus.com

ZXTM-MIB::version.0 = STRING: "9.1"

ZXTM-MIB::numberChildProcesses.0 = INTEGER: 4

ZXTM-MIB::upTime.0 = Timeticks: (239872900) 27 days, 18:18:49.00

ZXTM-MIB::timeLastConfigUpdate.0 = Timeticks: (267400) 0:44:34.00