attachment-0001
<br><font size=2 face="sans-serif">Sounds like it might be a good idea.
Not sure I understand exact usage of "counter errors". Is this
problems with the counters, counts of errors...?</font>
<br><font size=2 face="sans-serif">----------------------------------------------
<br>
Harry Lewis <br>
IBM STSM<br>
Chairman - IEEE-ISTO Printer Working Group<br>
http://www.pwg.org<br>
IBM Printing Systems <br>
http://www.ibm.com/printers<br>
303-924-5337<br>
---------------------------------------------- </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"McDonald, Ira"
<imcdonald@sharplabs.com></b> </font>
<br><font size=1 face="sans-serif">Sent by: owner-wims@pwg.org</font>
<p><font size=1 face="sans-serif">01/25/2005 07:56 PM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">"'wims@pwg.org'"
<wims@pwg.org></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">WIMS> Counter MIB - Alert
table/trap proposal</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi folks,
Tuesday (25 January 2005)<br>
<br>
I propose that we add an Alert group (objects) and an Alert Trap group<br>
(notification) to the Counter MIB and a Counter events class to the WIMS<br>
Events schema.<br>
<br>
A monitor application that registers for 'icAlertV2Trap' notifications<br>
can effectively use the Counter MIB stand-alone, typically without data<br>
from any other MIB.<br>
<br>
Comments?<br>
<br>
Cheers,<br>
- Ira<br>
<br>
Ira McDonald (Musician / Software Architect)<br>
Blue Roof Music / High North Inc<br>
PO Box 221 Grand Marais, MI 49839<br>
phone: +1-906-494-2434<br>
email: imcdonald@sharplabs.com<br>
----------------------------------------<br>
<br>
IcCounterEventTypeTC ::= TEXTUAL-CONVENTION<br>
STATUS current<br>
DESCRIPTION<br>
"The type of counter event in this 'icAlertTable'
entry."<br>
REFERENCE<br>
"prtAlertCode in Printer MIB (RFC 1759/3805).<br>
PrtAlertCodeTC in IANA Printer MIB (RFC 3805<br>
and http://www.iana.org/assignments/ianaprinter-mib)."<br>
SYNTAX INTEGER {<br>
other(1),
-- non-standard type<br>
unknown(2),
-- unknown type<br>
<br>
counterCreated(3)
-- counter created<br>
-- any counter element<br>
<br>
counterErrors(4),
-- counter errors<br>
-- icTimeDownSeconds<br>
-- icMonitorCriticalAlerts<br>
-- icMonitorAbortedJobs<br>
-- icMonitorMemoryAllocErrors<br>
-- see prtAlertCriticalEvents
in Printer MIB v2 (RFC 3805)<br>
-- icMonitorStorageAllocErrors<br>
<br>
counterReset(5),
-- counter reset<br>
-- any counter element<br>
<br>
counterWarnings(6),
-- counter warning<br>
-- icTimeMaintenanceSeconds<br>
-- icMonitorTotalAlerts (for warning
alerts)<br>
-- see prtAlertAllEvents in Printer
MIB v2 (RFC 3805)<br>
-- icMonitorCanceledJobs<br>
-- icMonitorMemoryAllocWarnings<br>
-- icMonitorStorageAllocWarnings<br>
<br>
counterWrap(7)
-- counter wrap (to zero)<br>
-- any counter element<br>
}<br>
<br>
<br>
--<br>
-- Alert Group (Optional)<br>
--<br>
<br>
IcAlertEntry ::= SEQUENCE {<br>
-- alert index elements<br>
icAlertKeyIndex
Integer32,<br>
icAlertCycleType
IcCycleTypeTC,<br>
icAlertWorkType
IcWorkTypeTC,<br>
icAlertIndex
Integer32,<br>
<br>
-- alert description elements<br>
icAlertCounterEventType
IcCounterEventTypeTC,<br>
icAlertCounterName
DisplayString,<br>
icAlertCounterValue
Integer32,<br>
icAlertDateAndTime
DateAndTime,<br>
icAlertTime
TimeTicks<br>
}<br>
<br>
<br>
--<br>
-- Alert Trap Group (Optional)<br>
--<br>
<br>
icAlertV1Prefix OBJECT-IDENTITY<br>
STATUS current<br>
DESCRIPTION<br>
"The value of the enterprise-specific
OID in an SNMPv1 trap<br>
sent signaling a counter event in the prtAlertTable."<br>
::= { icAlertTrap 1 }<br>
<br>
icAlertV2Prefix OBJECT IDENTIFIER ::= { icAlertV1Prefix 0 }<br>
<br>
icAlertV2Trap NOTIFICATION-TYPE<br>
OBJECTS { icAlertCounterEventType, icAlertCounterName,<br>
icAlertCounterValue, icAlertDateAndTime
}<br>
STATUS current<br>
DESCRIPTION<br>
"This trap is sent whenever a counter
event is added<br>
to the icAlertTable.<br>
<br>
Note: The values of the icAlertKeyIndex,
icAlertCyclceType,<br>
icAlertWorkType, and icAlertIndex objects are
included in the<br>
instance qualifiers of the explicit variable
bindings in this<br>
trap. The value of icAlertTime (i.e.,
sysUpTime in IETF MIB-II,<br>
RFC 1213) is always included in SNMP traps,
per RFC 3416."<br>
::= { icAlertV2Prefix 1 }<br>
<br>
-- Note that the SNMPv2 to SNMPv1 translation rules dictate that<br>
-- the preceding statement will result in SNMPv1 traps of the<br>
-- following form:<br>
--<br>
-- icAlertV1Trap TRAP-TYPE<br>
-- ENTERPRISE icAlertV1Prefix<br>
-- VARIABLES { icAlertCounterEventType, icAlertCounterName,<br>
-- icAlertCounterValue,
icAlertDateAndTime }<br>
-- DESCRIPTION<br>
-- "This trap is sent whenever a
counter event is added<br>
-- to the icAlertTable."<br>
-- ::= 1<br>
</tt></font>
<br>