Ahoj,
mam tu dve tiskarny:
- HP Color LaserJet Pro MFP M176n
- HP Color LaserJet MFP M280nw
a potrebuju u nich hlidat zabbixem pocet vytisknutych stranek. Jde mi hlavne o sledovani zmeny v case.
Zde jsou kompletni vystupy snmpwalk:
https://gist.github.com/tuxmartin/494770920a3ae9ca6e5ef328c308c593Kdyz se ptam na
iso.3.6.1.2.1.43.10.2, tak mi neco vrati jen novejsi tiskarna M280. Stara M176 nevraci vubec nic.
martin@martin:~$ snmpwalk -v 1 -mALL -c public 10.67.1.7 iso.3.6.1.2.1.43.10.2 # HP_M176n
martin@martin:~$
martin@martin:~$ snmpwalk -v 1 -mALL -c public 10.67.1.16 iso.3.6.1.2.1.43.10.2 # HP_M280nw
Printer-MIB::prtMarkerMarkTech.1.1 = INTEGER: electrophotographicLaser(4)
Printer-MIB::prtMarkerCounterUnit.1.1 = INTEGER: impressions(7)
Printer-MIB::prtMarkerLifeCount.1.1 = Counter32: 6
Printer-MIB::prtMarkerPowerOnCount.1.1 = Counter32: 1
Printer-MIB::prtMarkerProcessColorants.1.1 = INTEGER: 1
Printer-MIB::prtMarkerSpotColorants.1.1 = INTEGER: 0
Printer-MIB::prtMarkerAddressabilityUnit.1.1 = INTEGER: tenThousandthsOfInches(3)
Printer-MIB::prtMarkerAddressabilityFeedDir.1.1 = INTEGER: 600
Printer-MIB::prtMarkerAddressabilityXFeedDir.1.1 = INTEGER: 600
Printer-MIB::prtMarkerNorthMargin.1.1 = INTEGER: 1667
Printer-MIB::prtMarkerSouthMargin.1.1 = INTEGER: 1667
Printer-MIB::prtMarkerWestMargin.1.1 = INTEGER: 1667
Printer-MIB::prtMarkerEastMargin.1.1 = INTEGER: 1667
Printer-MIB::prtMarkerStatus.1.1 = INTEGER: 0
martin@martin:~$
Pritom obe tiskarny mi ve webove adminsitrace na
http://IP.AD.RE.SA/info_configuration.html zobrazuji pocty stran (obrazek v priloze).
Existuje nejaka moznost, jak nastavit tiskarnu, aby pres SNMP tyto informace poskytovala?
Nebo mam smulu a musim zkusit reseni typu curl+grep?