beautypg.com

Grass Valley iControl V.4.43 User Manual

Page 528

background image

iControl and SNMP

Example

518

clear TRAP‐TYPE

ENTERPRISE  miranda
VARIABLES   { trapDevice, trapAlarm }
DESCRIPTION
"A clear trap means that the alarm condition that existed has now been 
cleared."
::= 100

error TRAP‐TYPE

ENTERPRISE  miranda
VARIABLES   { trapDevice, trapAlarm }
DESCRIPTION
"A error trap means that a error alarm condition is present"
::= 200

END

When the SCP probe freeze detection alarm goes from an error state to a normal state, a trap is
sent to the specified trap target. Here’s the output of a trap catcher application.

Figure 8-126

The trap number is shown in the Specific Type field. Variable bindings included in the trap are
the

trapDevice

and the

trapAlarm

which are shown in the Message field. From the

trapDevice

, the SNMP manager can determine which card generated the trap. In this case it is

the card with the following long ID:

icontrol_product1_RACK_D11_FRAME_Densité_SLOT_1_31 

This long ID can be interpreted as follows: