channelprinteralert

CLJ8550-MIB · .1.3.6.1.4.1.11.2.3.9.4.2.1.6.2

Object

scalar optional OctetString
Identifies the values of prtAlertIndex,
prtAlertSeverityLevel, prtAlertGroup,
prtAlertGroupIndex, prtAlertLocation, and prtAlertCode
for the latest critical evnet in the prtAlertTable.  The
binary string is defined as following:  
------------------------------------------------------  
 Field | Filed  | Description  
Offset | Length |  
------------------------------------------------------  
   0   |    4   | the value of prtAlertIndex  
   4   |    4   | the value of prtAlertSeverityLevel  
   8   |    4   | the value of prtAlertGroup  
  12   |    4   | the value of prtAlertGroupIndex  
  16   |    4   | the value of prtAlertLocation  
  20   |    4   | the value of prtAlertCode  
------------------------------------------------------  
Each field is in Big Endian style.
Additional information:
This object is used to pass alert information from the
peripheral to the MIO card.  The standard printer MIB
contains the following description:  
printerAlert TRAP-TYPE  
ENTERPRISE printerV1Alert  
VARIABLES { prtAlertIndex, prtAlertSeverityLevel, prtAlertGroup,
prtAlertGroupIndex, prtAlertLocation, prtAlertCode }  
DESCRIPTION  
'This trap is sent whenever a critical event is added to the
prtAlertTable.'  
In order to provide this information in the trap packet, the 
MIO card enables traps on channelPrinterAlert.  When a critical
alert is generated the peripheral fills the appropriate value
into this object and sends it to the card.
This object is a structure which contains 24 bytes of data.
The structure is:  
struct structAlertInfo {  
sint32 prtAlertIndex;  
sint32 prtAlertSeverityLevel;  
sint32 prtAlertGroup;  
sint32 prtAlertGroupIndex;  
sint32 prtAlertLocation;  
sint32 prtAlertCode;  
} thisAlertData;

Context

MIB
CLJ8550-MIB
OID
.1.3.6.1.4.1.11.2.3.9.4.2.1.6.2
Type
scalar
Access
readonly
Status
optional
Parent
channel

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLJ8550-MIB::channelprinteralert.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CLJ8550-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CLJ8550-MIB::channelprinteralert'

Syntax

OctetString

Values & Constraints

No enumerated values or constraints recorded.