

A Vantage Management Information Block (MIB) is available that, when used with a SNMP management node, enables interaction between Vantage and SNMP management platforms.
In order for Vantage to send traps to SNMP management platforms it is necessary first to identify Vantage to the management platform. The following steps will copy the appropriate files, add the Vantage MIB and create Vantage events on an openview management system. Consult with your openview administrator to accomplish the openview specific steps. Note: Files referenced below are on the Vantage cdrom.
1. cp -p /OpenView/asp-vantage-mib /var/opt/OV/Share/snmp-mibs/Vendor/ASP/. cp -p /OpenView/snmptrap /opt/vantage/bin/. cp -p /OpenView/OV_trap /opt/vantage/apibin/.
2. Use Openview's Load/Unload MIB dialog to load the asp-vantage-mib file.
3. Next, use the Event Configuration Dialog to create a "Vantage Alert Events" category.
4. Use the Event Configuration dialog to add the enterprise name "asptech" and the enterprise id of ".1.3.6.1.4.1.1416". Click Add then enter ASP_Default for event name and "Enterprise Default Trap for MIB 1416" in the Event Description Control. Click Vantage Alert Events as event category then click Warning as the Severity. The default values in Event Log Message are ok.
5. Now add 5 specific events, identical except for the trap number and the Severity. In the Add Event dialog enter ASP_Vantage_1, click Enterprise Specific and enter 1001 in the Specific Trap Number control. In the Event Description type "Priority 1 message to Event Browser in Vantage Alert Events category will include context from a Vantage trapped event and will show up as Normal Severity". Click Vantage Alert Events then click Normal. In the Event Log Message enter "$1 - $2" and click OK.
6. Repeat the process for specific event "1002" for severity "Warning", "1003" for severity "Minor", "1004" for severity "Major" and "1005" for severity "Critical".
7. Now create an API Exec event using the Vantage Event Definition dialog. Three arguments are passed automatically to the API Exec event: $1 - Resource name, $2 - event string and $3 - the context line in which the event string was detected. The $4 argument is the snmp management node name to which the trap should be sent and $5 is the severity of the trap. i.e. to send a trap the the node name openview with a severity of critical the control in the API Exec event definition would be: OV_trap openview 5
OV_trap is a shortcut to /opt/vantage/bin/snmptrap and simplifies getting Vantage node, resource name and context string for a Vantage trapped event to the snmp platform. Other scripts can be developed that will call the snmptrap code directly. For example: /opt/vantage/bin/snmptrap -g $4 -c public -t 6 -a `hostname` "100$5" "$1" 1.3.6.1.4.1.1416.1.1="$3" Any scripts created must reside in /opt/vantage/apibin and be executable.
The Vantage Alert Events Browser shows the severity of the event, the date/time of the event, the source (the host name of the Vantage node upon which the proxy trap was generated) and message (a combination of the resource name upon which the event was detected and the context in which the event was detected.
See Also API Exec Definition