Am 25.10.2016 um 19:10 schrieb Luca Bertoncello:
Moin,
Nun will ich den Tonerstand lesen, und das scheitert...
Theoretisch, sollte ich den Namen des Toner mit .1.3.6.1.2.1.43.11.1.1.6.1.1
bekommen (und tatsächlich ist es so: "Toner Container"), das Maximum
mit .1.3.6.1.2.1.43.11.1.1.8.1.1 (das gibt 7200) und der aktuelle Stand
mit .1.3.6.1.2.1.43.11.1.1.9.1.1.
Diese gibt mir aber immer -3...
Wenn ich die Seite mit dem Stand des Druckers drucken lassen, sehe ich aber
~10% noch Resttoner...
Hat jemand eine Ahnung, wie ich die Daten interpretieren kann?
Steht in der MIB:
Name: prtMarkerSuppliesLevel
Type: OBJECT-TYPE
OID: 1.3.6.1.2.1.43.11.1.1.9
Description:
The current level if this supply is a container; the remaining
space if this supply is a receptacle. If this supply
container/receptacle can reliably sense this value, the value
is reported by the printer and is read-only; otherwise, the
value may be written (by a Remote Control Panel or a Management
Application). The value (-1) means other and specifically
indicates that the sub-unit places no restrictions on this
parameter. The value (-2) means unknown. A value of (-3) means
that the printer knows that there is some supply/remaining
space, respectively.
-3 trifft für Deinen "Toner Container" und Deine "Waste Toner Box" dann
zu. Wenn Du es genauer wissen willst, wirst Du wohl bei Kyocera fragen
müssen, ob man den SNMP-Agenten verbessern könne.
Hilmar
--
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org