Community discussions

MikroTik App
 
cicserver
Member
Member
Topic Author
Posts: 303
Joined: Sun Jul 24, 2011 12:04 pm

HP Laserjet 2420n OID for Toner usage

Wed Feb 03, 2016 8:01 am

What OID or formula I can use to show Toner used % in dude.
SNMP is enabled on printer. how to do it please?
i tried to use following
TONER [oid("1.3.6.1.2.1.43.11.1.1.9.1.1")/0.6000*100] % Remaining
but its showing wrong. i have replaced with new toner (also tested half used toner but no use)
printer.PNG
You do not have the required permissions to view the files attached to this post.
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: HP Laserjet 2420n OID for Toner usage

Wed Feb 03, 2016 12:35 pm

Are you absolutely sure that your OID is correct ?
Have you tested to read it with a simple command like snmpget to check if the returned value is correct?
 
cicserver
Member
Member
Topic Author
Posts: 303
Joined: Sun Jul 24, 2011 12:04 pm

Re: HP Laserjet 2420n OID for Toner usage

Thu Feb 04, 2016 5:48 am

ok I found that it was some compatibility issue of the toner.
on another printer, i am able to get the correct toner stats using following.
TONER [string_substring(oid("1.3.6.1.2.1.43.11.1.1.9.1.1"))] % Remaining %
t.PNG
You do not have the required permissions to view the files attached to this post.
 
User avatar
simobeliata
just joined
Posts: 8
Joined: Tue Feb 09, 2016 10:15 am
Location: Sofia, Bulgaria

Re: HP Laserjet 2420n OID for Toner usage

Fri Feb 12, 2016 9:43 am

Try what number returns oid("1.3.6.1.2.1.43.11.1.1.9.1.1") itself.
As I know if it returns negative number (-2 or -3), that means you are using not original toner (refurbished, refiled etc.) and thus you can't see the actual toner level.

For my printers I use following function (called "toner_percent"):
(oid("1.3.6.1.2.1.43.11.1.1.9.1.1")/oid("1.3.6.1.2.1.43.11.1.1.8.1.1"))*100
Then I use it like this:
Toner : [toner_percent()]%
Pages : [oid("1.3.6.1.2.1.43.10.2.1.4.1.1")]
OID 1.3.6.1.2.1.43.11.1.1.9.1.1 is remaining toner capacity (usually in pages) and OID 1.3.6.1.2.1.43.11.1.1.8.1.1 is maximum toner capacity of the cartridge.

OID 1.3.6.1.2.1.43.10.2.1.4.1.1 is the total number of pages ever printed.

Who is online

Users browsing this forum: No registered users and 2 guests