[snmp_params]
    community="public"
    timeout="2" 
    retries="2"

[comments]

HOST-RESOURCES-MIB::hrDeviceDescr.1 = STRING: HP LaserJet 2200
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceDescr.1 = STRING: HP LaserJet 2200
.1.3.6.1.2.1.25.3.2.1.3.1 = STRING: HP LaserJet 2200
    A textual description of this device, including the device's
    manufacturer and revision, and optionally, its serial number.

    DEVICEDESCR=HP LaserJet 2200
    

Printer-MIB::prtGeneralPrinterName.1 = STRING: "HP LaserJet 2200"
.iso.org.dod.internet.mgmt.mib-2.printmib.prtGeneral.prtGeneralTable.prtGeneralEntry.prtGeneralPrinterName.1 = STRING: "HP LaserJet 2200"
.1.3.6.1.2.1.43.5.1.1.16.1 = STRING: "HP LaserJet 2200"
    An administrator-specified name for this printer. Depending
    upon implementation of this printer, the value of this
    object may or may not be same as the value for the MIB-II
    'SysName' object.

    PRINTERNAME=HP LaserJet 2200


HOST-RESOURCES-MIB::hrDeviceStatus.1 = INTEGER:
   unknown(1), running(2), warning(3), testing(4), down(5)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrDeviceTable.hrDeviceEntry.hrDeviceStatus.1 = INTEGER: running(2)
.1.3.6.1.2.1.25.3.2.1.5.1 = INTEGER: running(2)

    The current operational state of the device described by
    this row of the table.  A value unknown(1) indicates that
    the current state of the device is unknown.  running(2)
    indicates that the device is up and running and that no
    unusual error conditions are known.  The warning(3) state
    indicates that agent has been informed of an unusual error
    condition by the operational software (e.g., a disk device
    driver) but that the device is still 'operational'.  An
    example would be a high number of soft errors on a disk.
    A value of testing(4), indicates that the device is not
    available for use because it is in the testing state.  The
    state of down(5) is used only when the agent has been
    informed that the device is not available for any use.

    DEVICESTATUS=running

HOST-RESOURCES-MIB::hrPrinterStatus.1 = INTEGER:
   other(1), unknown(2), idle(3), printing(4), warmup(5)
.iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrPrinterTable.hrPrinterEntry.hrPrinterStatus.1 = INTEGER: idle(3)
.1.3.6.1.2.1.25.3.5.1.1.1 = INTEGER: idle(3)
    The current status of this printer device.

    PRINTERSTATUS=idle

Printer-MIB::prtMarkerLifeCount.1.1 = Counter32: 93118
.iso.org.dod.internet.mgmt.mib-2.printmib.prtMarker.prtMarkerTable.prtMarkerEntry.prtMarkerLifeCount.1.1 = Counter32: 93118
.1.3.6.1.2.1.43.10.2.1.4.1.1 = Counter32: 93118
    prtmarkerlifecount OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-only
    STATUS  optional
    DESCRIPTION
                "The count of the number of units of measure counted during
        the life of printer using units of measure as specified by
        prtMarkerCounterUnit.
        Refer to ftp://ftp.pwg.org/pub/pwg/pmp/drafts/pmib_031698.txt,
                for more details in the Standard Printer MIB.
                Additional information:
                Replaces PML TOTAL-ENGINE-PAGE-COUNT.
                The total engine page count is kept in NVRAM however
                the NVRAM value is only updated every 10 impressions.
                NOTE: The value returned by this OID will be incremented
                every page but if power is lost between NVRAM updates,
                up to 9 impressions of the page count may be lost.  The
                counter will be reset to zero after 999999 pages.
                The page count is incremented when a sheet of media is
                pulled from an input tray. A duplex printed sheet will
                cause this counter to be incremented by two."

    PAGECOUNT=93118

Printer-MIB::prtConsoleDisplayBufferText.1.1 = STRING: "READY               "
.iso.org.dod.internet.mgmt.mib-2.printmib.prtConsoleDisplayBuffer.prtConsoleDisplayBufferTable.prtConsoleDisplayBufferEntry.prtConsoleDisplayBufferText.1.1 = STRING: "READY               "
.1.3.6.1.2.1.43.16.5.1.2.1.1 = STRING: "READY               "
    The content of a line in the logical display buffer of the
    operator's console of the printer.  When a write operation
    occurs, normally a critical message, to one of the LineText
    strings, the agent should make that line displayable if a
    physical display is present.  Writing a zero length string
    clears the line.  It is an implementation-specific matter
    as to whether the agent allows a line to be overwritten
    before it has been cleared. Printer generated strings shall
    be in the localization specified by prtConsoleLocalization.
    Management Application generated strings should be localized
    by the Management Application.

    STATUS=READY

Printer-MIB::prtAlertSeverityLevel.1.1 = INTEGER: warning(4)
.iso.org.dod.internet.mgmt.mib-2.printmib.prtAlert.prtAlertTable.prtAlertEntry.prtAlertSeverityLevel.1.1 = INTEGER: warning(4)
.1.3.6.1.2.1.43.18.1.1.2.1.1 = INTEGER: warning(4)
          other(1), critical(3), warning(4), warningBinaryChangeEvent(5)
    The level of severity of this alert table entry.  The printer
    determines the severity level assigned to each entry in the
    table. A critical alert is binary by nature and definition. A
    warning is defined to be a non-critical alert. The original and
    most common warning is unary. The binary warning was added later
    and given a more distinguished name.

Printer-MIB::prtAlertGroup.1.3 = INTEGER: mediaPath(13)
.iso.org.dod.internet.mgmt.mib-2.printmib.prtAlert.prtAlertTable.prtAlertEntry.prtAlertGroup.1.3 = INTEGER: mediaPath(13)
.1.3.6.1.2.1.43.18.1.1.4.1.3 = INTEGER: mediaPath(13)
    other(1), hostResourcesMIBStorageTable(3), hostResourcesMIBDeviceTable(4), generalPrinter(5), cover(6),
    localization(7), input(8), output(9), marker(10), markerSupplies(11), markerColorant(12), mediaPath(13),
    channel(14), interpreter(15), consoleDisplayBuffer(16), consoleLights(17), alert(18), finDevice(30),
    finSupply(31), finSupplyMediaInput(32), finAttributeTable(33)

    The type of sub-unit within the printer model that this alert
    is related.  Input, output, and markers are examples of printer
    model groups, i.e., examples of types of sub-units. Wherever
    possible, these enumerations match the sub-identifier that
    identifies the relevant table in the printer MIB.

Printer-MIB::prtAlertDescription.1.3 = STRING: "Power Saver"
.iso.org.dod.internet.mgmt.mib-2.printmib.prtAlert.prtAlertTable.prtAlertEntry.prtAlertDescription.1.3 = STRING: "Power Saver"
.1.3.6.1.2.1.43.18.1.1.8.1.3 = STRING: "Power Saver"

        NOTE: Alert type codes have been added for the host resources
        MIB storage table and device table. These additional types are
        for situations in which the printer's storage and device objects
        must generate alerts (and possibly traps for critical alerts)."

    STATUS=alert SeverityLevel (AlertGroup) AlertDescription
     - if the alert status level is critical

Printer-MIB::prtMarkerPowerOnCount.1.1 = Counter32: 1
.iso.org.dod.internet.mgmt.mib-2.printmib.prtMarker.prtMarkerTable.prtMarkerEntry.prtMarkerPowerOnCount.1.1 = Counter32: 1
.1.3.6.1.2.1.43.10.2.1.5.1.1 = Counter32: 1

    The count of the number of units of measure counted since the
    equipment was most recently powered on using units of measure as
    specified by prtMarkerCounterUnit.

      POWERONCOUNT=1


PCL-TOTAL-PAGE-COUNT        .1.3.6.1.4.1.11.2.3.9.4.2.1.3.3.3.5.0
pcl-total-page-count OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-only
    STATUS  optional
    DESCRIPTION
                "Total number of PCL pages printed by the device.
                Additional information:
                The PCL page count is kept in
                NVRAM, and the NVRAM value is updated at least every
                10 pages.  NOTE: The value returned by this object will
                be incremented every page but if power is lost between
                NVRAM updates, up to 9 pages of the page count may be
                lost.  The page count counter will be reset to zero
                after 16,777,215 (2^24-1) pages.
                The page count is incremented when a sheet of media is pulled from an input
                tray. A duplex printed sheet will cause this counter to be incremented by
                two."

POSTSCRIPT-TOTAL-PAGE-COUNT .1.3.6.1.4.1.11.2.3.9.4.2.1.3.3.4.5.0 
postscript-total-page-count OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-only
    STATUS  optional
    DESCRIPTION
                "Total number of PostScript pages printed by the device.
                Additional information:
                This object is only supported if the PostScript
                option is installed.
                In The LJ Series 4000 the count is kept in NVRAM, and the
                NVRAM value is updated at least every 10
                sheets.  NOTE: The value returned by this object will
                be incremented every sheet but if power is lost between
                NVRAM updates up to 9 sheets of the count may be
                lost.  The counter will be reset to zero
                after 16,777,215 (2^24-1) pages. "


DUPLEX-PAGE-COUNT           .1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.22.0 
duplex-page-count OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-only
    STATUS  optional
    DESCRIPTION
                "Total number of sheets of media that have been duplex
                printed.  A sheet is counted if it travels through the
                duplex page path, regardless of whether or not marks are
                made on the page.  The POS will indicate if the value is
                kept in NVRAM.
                Additional information:
                In The LJ Series 4000 the count is kept in
                NVRAM however the NVRAM value is only updated every 10
                sheets.  NOTE: The value returned by this object will be
                incremented every sheet but if power is lost between
                NVRAM updates up to 9 sheets of the count may be
                lost.  The counter will be reset to zero
                after 16,777,215 (2^24-1) pages. "

Note: from LJ2200 MIB:

TOTAL-ENGINE-PAGE-COUNT     .1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.5.0 
total-engine-page-count OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-write
    STATUS  optional
    DESCRIPTION
                "Total number of pages printed by the device.  POS
                indicates if the total engine page count is kept in
                NVRAM, and the maximum supported value before the page
                count rolls over to zero.
                Additional information:
                This object is stored in NVRAM.  The maximum value of
                this count is 1000000 before it rolls over to zero."

TOTAL-COLOR-PAGE-COUNT      .1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.7.0 

total-color-page-count OBJECT-TYPE
    SYNTAX  INTEGER
    ACCESS  read-only
    STATUS  optional
    DESCRIPTION

		"Total number of color pages printed by the device.
		Additional information: Any page with one or more
		color pixels is counted as a color page.  Pages
		that only contain black marks are not counted by
		this object.  The valid range of this object is 0
		to 2^24-1.  When the number of color pages printed
		exceeds the maximum color page count, the value
		will roll to zero.  (Realistically, this should
		never happen since that value is mo re than 16 times
		the rated life of the engine.) A duplexed sheet of
		media will cause the counter to be incremented by
		two."

TOTAL-MONO-PAGE-COUNT       .1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.6.0 

[printerdata default]
alert_oid =".1.3.6.1.2.1.43.18.1.1"
alertseveritylevel = ".1.3.6.1.2.1.43.18.1.1.2.1"
alertdescription   = ".1.3.6.1.2.1.43.18.1.1.8.1"
alertgroup         = ".1.3.6.1.2.1.43.18.1.1.4.1"
#pagecount_oid         = ".1.3.6.1.2.1.43.10.2.1.4.1" 
#poweroncount_oid      = ".1.3.6.1.2.1.43.10.2.1.5.1.1"
devicestatus_oid      = ".1.3.6.1.2.1.25.3.2.1.5.1"
printerstatus_oid     = ".1.3.6.1.2.1.25.3.5.1.1.1"
#display_oid          = ".1.3.6.1.2.1.43.16.5.1.2.1.1" 
#  call this the status OID
status_oid            = ".1.3.6.1.2.1.43.16.5.1.2.1.1" 
devicedescr_oid       = ".1.3.6.1.2.1.25.3.2.1.3.1" 
printername_oid       = ".1.3.6.1.2.1.43.5.1.1.16.1"
total_engine_page_count_oid     = ".1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.5"
prtmarkerlifecount_oid          = ".1.3.6.1.2.1.43.10.2.1.4.1.1"
duplex_page_count_oid           = ".1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.22"
pcl_total_page_count_oid        = ".1.3.6.1.4.1.11.2.3.9.4.2.1.3.3.3.5"
postscript_total_page_count_oid = ".1.3.6.1.4.1.11.2.3.9.4.2.1.3.3.4.5"
total_color_page_count_oid      = ".1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.7"
total_mono_page_count_oid       = ".1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.6"

# set this to the list of valid page count oids
pagecounters="total_engine_page_count_oid prtmarkerlifecount_oid"
required="devicestatus_oid printerstatus_oid"


[status devicestatus_oid]
other="1"  unknown="2"  idle="3"  printing="4"  warmup="5"
[status printerstatus_oid ]
other="1" unknown="2" idle="3" printing="4" warmup="5"
[status alertseveritylevel ]
other="1" critical="3" warning="4"
# warningBinaryChangeEvent="5"
statuschange="5"
[status alertgroup ]
other="1" hostResourcesMIBStorageTable="3" hostResourcesMIBDeviceTable="4" generalPrinter="5" cover="6"
localization="7" input="8" output="9" marker="10" markerSupplies="11" markerColorant="12" mediaPath="13"
channel="14" interpreter="15" consoleDisplayBuffer="16" consoleLights="17" alert="18" finDevice="30"
