Printer MIBS

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
mduran

Printer MIBS

#1 Post by mduran » Thu Jul 22, 2004 4:10 pm

Hi, I made two templates, one for prtMarkerLifeCount and one for prtMarkerPowerOnCount. The first get the total printed pages and the second get the counter of total printed pages from last power on, in fact, I reset this counter all nights via a cron job whit this line:

/usr/bin/snmpset <ip> <write comunity> .1.3.6.1.2.1.43.5.1.1.3.1 i 5

so, I start the daily counter all nights in the printers that never power off

sugestion are welcome

Regards, Mauricio
mauricio at duran dot org dot ar
Attachments
printersmib.zip
(7.28 KiB) Downloaded 3487 times

kmcnamee
Posts: 1
Joined: Mon Sep 13, 2004 2:41 am

#2 Post by kmcnamee » Mon Sep 13, 2004 2:44 am

Works very nicely. Thanks! The reset command needed some tweaking for my HP 4050N:

snmpset -v 1 -c public $HP4050N .1.3.6.1.2.1.43.5.1.1.3.1 i 5

/Kevin

Thomas
Cacti User
Posts: 112
Joined: Thu Dec 09, 2004 1:51 pm
Location: Austria

#3 Post by Thomas » Thu Jan 20, 2005 2:59 am

Have you ever had any problems when resetting a printer?
My HP Color LaserJet 8500 DN changed the total number of printed pages in .1.3.6.1.2.1.43.10.2.1.4.1.1 (lifetime) from 238.202 to 190.598 when resetting using "snmpset -v 1 -c public dr256 .1.3.6.1.2.1.43.5.1.1.3.1 i 5"
Ever seen this before?
Attachments
Total.png
Total.png (3.41 KiB) Viewed 20893 times
Thomas Rupp

Post Reply