Developer tip, Gsm snmp traps – Grass Valley iControl V.6.02 User Manual
Page 432

iControl and SNMP
Developer Tip
422
The device index for this particular frame is 12. The slot for the card of interest is 9. The table
also shows all the supported alarm types (trapIndex) for this card. The type field is the long ID
of the card:
icontrol_product1_RACK1_D12_FRAME_Densité_SLOT_9_31
This can be decomposed as follows:
The polling process is initiated by sending a request to the GSM using an OID of this form:
1.3.6.1.4.1.3872.11.1.1.6.deviceID.slotID.statusIndex
where
deviceID
is the unique ID the Densité frame is given by the Application Server,
slotID
is the slot number of the card for which the current status is in question, and statusIndex is the
number associated with a particular status (e.g. black = 100088, freeze =100075)
To obtain the freeze detection status of the signal that is feeding this SDI probe, the following
OID should be polled:
Textual OID
.iso.org.dod.internet.private.enterprises.miranda.gsm.statusTable.statusEntry.
status.12.9.100075
Numerical OID
.1.3.6.1.4.1.3872.11.1.1.6.12.9.100075 (status OID)
This would return the following variable binding:
status.12.9.100075:-->normal(10000)
Developer Tip
When developing code to interface with the iControl GSM agent, developers often ask how to
determine a specific device index. A programming approach would be to poll the alarm status
table using
SNMP GET-NEXT
, starting at the beginning of the table, and then to compare the
returned
varBind
value (using
contains
) with the Densité or Imaging frame name. Once an
entry in the table is found that matches the frame name, the device index can be determined
from the OID.
GSM SNMP Traps
SNMP traps are GSM actions attached to GSM alarms. In order to configure a trap
(see
"Configuring iControl to Send Traps"
, on page 415), the following information must be
specified:
icontrol_product1
the Application Server host name
RACK1_D12_FRAME
the Densité frame name as entered in Densité Manager,
Densité_SLOT
a static field
9
the slot number
31
the model number for the SCP-h1121 card