Using snmp from scripts, Mibs available with the mcc, Table 26 snmp commands in gcl scripting language – Visara Master Console Center Administration Guide User Manual
Page 115
Chapter 7 Setting Up SNMP
Administration Guide
115
Using SNMP from Scripts
The SNMP commands available in the GCL scripting language are:
Command Explanation
SNMP_TRAPSEND
Sends a trap to an agent.
SNMP_GET
Gets a MIB value from an agent.
SNMP_GETNEXT
Gets the next MIB value from an agent (see the
Scripting Guide for a complete description).
SNMP_SET
Sets a MIB value on an agent.
SNMP_GETTABLE
Gets all values from an MIB table.
Table 26 SNMP Commands in GCL Scripting Language
Refer to the Scripting Guide for detailed information on using SNMP from a
script.
MIBs Available with the MCC
To access SNMP variables that are not in the default MIBs that the MCC works
with, it is necessary to add MIB definitions to the MCC. By default, the MCC
understands MIB-II, the Host Resource MIB, and the RMON MIB. The
/usr/ics/mib directory also has many other standard MIBs that may be added to
MIBs the MCC understands. Other MIBs not found in this directory may also be
added. Typically these will be product or vender specific MIBs (for example, a
MIB for HP LaserJet printers). The following table lists the standard MIBs the
MCC ships with and the file in which each MIB may be found.
MIB
File MIB Is Located In
MIB-II Rfc1213.mib
SMUX Rfc1227.mib
Interface Extensions
Rfc1229.mib
Token Bus
Rfc1230.mib
Token Ring
Rfc1231.mib
DS1 Rfc1232.mib
DS3 Rfc1233.mib
CLNS Rfc1238.mib
AppleTalk Rfc1243.mib
OSPF Rfc1248.mib
OSPF Rfc1252.mib
OSPF Rfc1253.mib
BGP Rfc1269.mib
RMON Rfc1271.mib