E
E
eliasum2019-11-22 05:12:05
SNMP
eliasum, 2019-11-22 05:12:05

Where can I find the OID for the cartridge model and printer release date?

// модель принтера
$name = snmpget('192.168.214.24', 'public', '.1.3.6.1.2.1.25.3.2.1.3.1');   
echo 'Модель принтера: '.$name.'</br>';
 
// серийный номер принтера
$number = snmpget('192.168.214.24', 'public', '.1.3.6.1.2.1.43.5.1.1.17.1');    
echo 'Серийный номер принтера: '.$number.'</br>';
 
// количество напечатанных страниц: 
$count = snmpget('192.168.214.24', 'public', '.1.3.6.1.2.1.43.10.2.1.4.1.1');   
echo 'Количество напечатанных страниц: '.$count.'</br>';

On the Internet, I found the OID of the printer model, printer serial number and the total number of printed pages: .1.3.6.1.2.1.25.3.2.1.3.1, .1.3.6.1.2.1.43.5.1.1.17.1, .1.3.6.1.2.1. 43.10.2.1.4.1.1
Maybe someone knows the OID for the cartridge model and printer release date??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dude2012, 2019-12-12
@eliasum

Here are some other known oids for printers:
1.3.6.1.2.1.43.11.1.1.8.1.x - Max Toner Level
1.3.6.1.2.1.43.11.1.1.9.1.x - Current Toner Level
(you can calculate the percentage of the balance)
1.3.6.1 .2.1.43.11.1.1.6 - table of cartridge names. Just from there
, you can take x to put it in the desired OID above to get the rest
of the ink in each of them (if there is more than one).
The release date is sometimes in the description OID. Didn't see it separately.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question