K
K
Konstantin2014-03-27 10:36:44
Monitoring
Konstantin, 2014-03-27 10:36:44

How to output snmp values ​​for HP printers?

We are slowly introducing Zabbix, in addition to PRTG (the purchased sensors are over, and there is still a lot to monitor). Need to keep track of HP and Kyocera printer consumables.
My actions:
I tear off SNMPv1, public, port: 161
on printers. I add these characteristics for the device to zabbix. A screenshot is attached at the link
yadi.sk/d/hixAcl8hLHiwN It is
monitored and displayed, but the values ​​are somehow strange
yadi.sk/d/LKjlSM2PLHj9X
c snmp and zabbix just started working, so don't hit hard =)
SNMP OID: 1.3.6.1.2.1 .43.11.1.1.9.1.1
Printer name SNMP OID: 1.3.6.1.2.1.25.3.2.1.3.1 - works fine WITH BOTH printer brands.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin, 2014-03-28
@fallen8rwtf

The solution was found using Google
Add two items with the desired OID:
1. Cartridge balance (in numerical equivalent): 1.3.6.1.2.1.43.11.1.1.9.1.1
key: usage
2. Cartridge capacity: 1.3.6.1.2.1.43.11 .1.1.8.1.1
key: capacity
And add item c
TYPE: calculated
FORMULA: 100*(last("usage")/last("capacity"))
yadi.sk/d/_4QTdgIKLMS5n
The result is pleasing to the eye:
yadi.sk/ d/ReTI6ikqLMSAd

B
Boomer, 2014-03-27
@Boomer


there all the counters are constantly increasing - they are of no use except to compare with the resource of the device
. /HkaExkphLHyvU
The template still needs to be finalized, similar to Kyocer'y, only for these devices the toner level is calculated by the formula.

K
Konstantin, 2014-03-28
@fallen8rwtf

yadi.sk/d/geq79dJ2LMDzn
Here is the result. Now it remains to make the percentage difference.
OIDs are the same for both HP and Kyocera printers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question