hrDeviceDescr: value not within size contraints
Here is the output from scli when I use the "show printer info" command on a Xerox 8550DP using version 0.2.12. Can anyone please help me resolve the problem? Thanks for any help.
scli > open xerox8550dp.linush.net 100-scli trying SNMPv2c ... good (xerox8550dp.linush.net) scli > show printer info | 0.00 vps 4.33 vpm ** WARNING **: hrDeviceDescr: value not within size contraints Device: 1 Device Status: running Printer Status: other Printer Name: Phaser 8550DP Serial Number: XXXXX Current Operator: Service Person Console Display: 1 line(s) a 255 chars Console Language: EN/US Console Access: operatorConsoleEnabled Default Input: input #1 Default Output: output #1 Default Marker: marker #1 Default Path: media path #1 Total Alerts: 7 Critical Alerts: 7 Config Changes: 0 (xerox8550dp.linush.net) scli > exit
On Fri, Dec 29, 2006 at 02:47:13PM -0500, C. Linus Hicks wrote:
Here is the output from scli when I use the "show printer info" command on a Xerox 8550DP using version 0.2.12. Can anyone please help me resolve the problem? Thanks for any help.
scli > open xerox8550dp.linush.net 100-scli trying SNMPv2c ... good (xerox8550dp.linush.net) scli > show printer info | 0.00 vps 4.33 vpm ** WARNING **: hrDeviceDescr: value not within size contraints Device: 1 Device Status: running Printer Status: other Printer Name: Phaser 8550DP Serial Number: XXXXX Current Operator: Service Person Console Display: 1 line(s) a 255 chars Console Language: EN/US Console Access: operatorConsoleEnabled Default Input: input #1 Default Output: output #1 Default Marker: marker #1 Default Path: media path #1 Total Alerts: 7 Critical Alerts: 7 Config Changes: 0 (xerox8550dp.linush.net) scli > exit
Assuming your concern is the warning message
** WARNING **: hrDeviceDescr: value not within size contraints
then the only way to fix this is to fix the printer's firmware. The hrDeviceDescr object is defined as a DisplayString with a size between 0 and 64 bytes (see the HOST-RESOURCES-MIB, RFC 2790). The compiler generated stubs used by scli do automatic checking of things such as size constraints and hence the warning.
/js
On Fri, 2006-12-29 at 21:41 +0100, Juergen Schoenwaelder wrote:
Assuming your concern is the warning message
** WARNING **: hrDeviceDescr: value not within size contraints
then the only way to fix this is to fix the printer's firmware. The hrDeviceDescr object is defined as a DisplayString with a size between 0 and 64 bytes (see the HOST-RESOURCES-MIB, RFC 2790). The compiler generated stubs used by scli do automatic checking of things such as size constraints and hence the warning.
/js
Okay, that's interesting and useful enough from my perusal of the code to be able to get this when I increased the length:
Description: Xerox Phaser 8550DP;PS4.8.0,Net25.28.08.19,Eng18.P1.4.8.0,OS4.302
It looks like Xerox is just putting more information in the string than the RFC allows for, but I care more about seeing the information than I do about strictly adhering to the spec.
Thanks for your help.
On Friday 29 December 2006 19:47, C. Linus Hicks wrote:
Here is the output from scli when I use the "show printer info" command on a Xerox 8550DP using version 0.2.12. Can anyone please help me resolve the problem?
Which problem? The warning about "hrDeviceDescr"?
Probably Xerox crams in more bytes into that field than scli tolerates (and scli may be "right" in that it only allows for what the RFC specifies).
Maybe Juergen is willing to negotiate for a greater tolerance of scli in the next version? Even if it is crossing the border set by the RFC, scli should be able to display what the device returns (without suppressing the warning and telling the vendor that he's not in strict compliance)?
Thanks for any help.
scli > open xerox8550dp.linush.net 100-scli trying SNMPv2c ... good (xerox8550dp.linush.net) scli > show printer info | 0.00 vps 4.33 vpm ** WARNING **: hrDeviceDescr: value not within size contraints
Cheers, Kurt
participants (3)
-
C. Linus Hicks
-
Juergen Schoenwaelder
-
Kurt Pfeifle