beautypg.com

Snmp, Nms alias, Mib oid – Visara Master Console Center Scripting Guide User Manual

Page 31: Nms alias mib oid

background image

Chapter 2 Advanced Topics

Scripting Guide

31

SNMP

A full discussion of SNMP (Simple Network Management Protocol) is
beyond the scope of this guide. However, the following sections describe
how the MCC uses SNMP.

NMS Alias

An NMS (Network Management Station) is an agent, the SNMP-enabled
device that the MCC communicates with using SNMP — in other words,
the device to be managed.
In the MCC, an alias must be defined to represent the agent if any of the
SNMP_GET, SNMP_SET, and SNMP_GETTABLE commands are used
(see pages 184 through 188). If only the SNMP_TRAPSEND command is
used, an alias is optional.
The alias is defined using the “SNMP Setup” editor accessed from the
Administration

⇒ Configuration ⇒ SNMP Setup menu option on the

master window.
An alias in the MCC can also represent a group of agents, referred to as a
group alias. This is particularly useful for the SNMP_TRAPSEND()
command where, if the specified alias contains more than one agent (a
group of agents), the same trap is sent to each agent.

MIB OID

MIB OID (Management Information Base Object ID) is an object in the
MIB. MIB objects are accessed by their name.
In the MCC, the MIB OID is the name of the object to access. Both full
syntax and shorthand syntax are supported. In the following example,
the sysName object is referenced with both the full and shorthand syntax.

Full syntax:

1.3.6.1.2.1.1.5

Shorthand syntax:

system.5

Note Values are often stored in the “.0” extension of an MIB OID.

Thus, while sysName can be referred to as “sysName”,
“system.5”, or “1.3.6.1.2.1.1.5”, the actual value of sysName
will be held in “sysName.0”,”system.5.0” or
“1.3.6.1.2.1.1.5.0”.