attachment-0001
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff size=2>Hi
Harry,</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff size=2>You
didn't read your change logs. SendReport has been
renamed</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff size=2>to
SendReports (plural) and sends a _sequence_ of Report
instances,</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff size=2>one
for _each_ value of ActionTargetURIs. Each Report
instance</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2>contains the PlanStatus element, which contains
PlanLastError,</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff size=2>which
is the exact full set of SNMPv2/v3 error codes (e.g., </FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2>'ReadOnly' or 'WrongEncoding'). One of the values of is
also</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2>'NoError' (i.e., success). Either the presence of the optional
element</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2>PlanLastError with 'NoError' or the absence of PlanLastError
indicates</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2>success of the action for the particular target agent
URI.</FONT></SPAN></DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=998510014-12082004><FONT face=Arial color=#0000ff
size=2>OK?</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<P><FONT size=2>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</FONT> </P>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> owner-wims@pwg.org
[mailto:owner-wims@pwg.org]<B>On Behalf Of </B>Harry Lewis<BR><B>Sent:</B>
Wednesday, August 11, 2004 2:26 PM<BR><B>To:</B> wims@pwg.org<BR><B>Subject:</B>
WIMS> SendReport - multiple legacy devices<BR><BR></FONT></DIV><BR><FONT
face=sans-serif size=2>Question related to constructing SendReport for more than
one legacy device by the WIMS proxy...</FONT> <BR><FONT face=sans-serif
size=2>Using Ira's Schedule example, below...</FONT> <BR><BR><FONT size=2><TT>To
find out the status of a print device with a legacy<BR>SNMP manager using a WIMS
Proxy, specify in a Schedule<BR>a GetElements action as
follows:<BR><BR>ActionTargetURIs =
"snmp://example.com"<BR><BR>ActionTargetObjects = (sequence
of)<BR><BR> ActionManagedEntityType = "Device"<BR> (generic
Device object planned for WIMS)<BR> ActionManagedEntityURI = "*" <BR>
(wildcard for any device at target agent)<BR><BR>ActionRequestedElements =
(sequence of)<BR><BR> ActionRequestedElement =
"pwg-sm:PrtViewDeviceStatus"<BR> (includes every interesting HR MIB
state attribute)<BR><BR> ActionRequestedElement =
"pwg-sm:PrtViewGeneralStatus"<BR> (interesting state attributes from
PrtGeneralTable)<BR><BR>ActionParameters (omitted, no vendor extensions
needed)</TT></FONT> <BR><BR><FONT face=sans-serif size=2>1. Assume
ActionTargetUIRs is a LIST? </FONT><BR><FONT face=sans-serif size=2>
ActionTargetURIs = "snmp://example1.com"; "snmp://example2.com";
"snmp://example3.com"...</FONT> <BR><BR><FONT face=sans-serif size=2>2. Then, in
the SendReport... how is the status (what we are monitoring in this example) of
device "example1" distinguished from the status of device "example2 or
3"?</FONT> <BR><FONT face=sans-serif size=2> Is it simple by the
ReportSourceURI (multiple - 3 in this case) reports are returned in the
SendReport... each with a different source URI (snmp://examplex.com)</FONT>
<BR><FONT face=sans-serif size=2> or is the ReportSequenceNumber
supposed to correlate, somehow to the Schedule in helping correlate values to a
particular TargetURI (monitored device)? </FONT><BR><BR><FONT face=sans-serif
size=2>An example of very basic Schedule and SendReport for WIMS Proxy
monitoring 3 devices for one or two elements would be very useful!</FONT>
<BR><FONT face=sans-serif size=2>----------------------------------------------
<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></BODY></HTML>