WIMS> How to read hrPrinterDetectedErrorState with WIMS

WIMS> How to read hrPrinterDetectedErrorState with WIMS

McDonald, Ira imcdonald at sharplabs.com
Thu Aug 5 12:42:03 EDT 2004


Hi,

To find out the status of a print device with a legacy
SNMP manager using a WIMS Proxy, specify in a Schedule
a GetElements action as follows:

ActionTargetURIs = "snmp://example.com"

ActionTargetObjects = (sequence of)

  ActionManagedEntityType = "Device"
    (generic Device object planned for WIMS)
  ActionManagedEntityURI = "*" 
    (wildcard for any device at target agent)

ActionRequestedElements = (sequence of)

  ActionRequestedElement = "pwg-sm:PrtViewDeviceStatus"
    (includes every interesting HR MIB state attribute)

  ActionRequestedElement = "pwg-sm:PrtViewGeneralStatus"
    (interesting state attributes from PrtGeneralTable)

ActionParameters (omitted, no vendor extensions needed)


(Note that managed entity type of "Printer" won't work, because
it's only an abstract service object in PWG SM/1.0 and does NOT
contain the PrtViews complex element - eventually, the fully
qualified elements would be "pwg-sm:Device.PrtView...")

Harry, I hope this helps.

Cheers,
- Ira 

Ira McDonald (Musician / Software Architect)
Blue Roof Music / High North Inc
PO Box 221  Grand Marais, MI  49839
phone: +1-906-494-2434
email: imcdonald at sharplabs.com



More information about the Wims mailing list