Needed Host Template: HP LaserJet 8100 & 4000 Series Pri
Moderators: Developers, Moderators
-
- Posts: 21
- Joined: Wed Aug 04, 2004 4:28 pm
- Location: Thornton, CO
Needed Host Template: HP LaserJet 8100 & 4000 Series Pri
I have been searching the forums for a day and a half now looking for some scripts/templates to start graphing th page count on my printers here in the office with no luck.
I currently have about 30 total printers, most are HPLJ 4000 & 8100 series printer, there are a couple Toshiba Laser Jet printers as well, but I am primarily concerned about the HPs.
If anyone out there has something compatible with 0.85a then I would grealty appreciate it.
If I don't need a script/template then I would also appreciate some help on how to setup cacti to graph the page counts on these printers.
I currently have about 30 total printers, most are HPLJ 4000 & 8100 series printer, there are a couple Toshiba Laser Jet printers as well, but I am primarily concerned about the HPs.
If anyone out there has something compatible with 0.85a then I would grealty appreciate it.
If I don't need a script/template then I would also appreciate some help on how to setup cacti to graph the page counts on these printers.
Thanks,
Bryan
Bryan
-
- Posts: 2
- Joined: Mon Aug 09, 2004 6:25 am
- Contact:
I started looking into this for our Xerox Phaser printers but stopped part way through as it was too time consuming comparied with the business' need to monitor the performance.
If you do however get a template I would be interested to see it as I could then see how easily you could write a script that would take the printers snmp MIB and convert that into a Cacti Template
If you do however get a template I would be interested to see it as I could then see how easily you could write a script that would take the printers snmp MIB and convert that into a Cacti Template
I got started into this a little bit, but didn't get the count to show...
anyway, the OID you want to query for the HP printers is "43.10.2.1.4.1.1".
Other stuff I graphed on a HP LaserPrinter:
Available Toner: .1.3.6.1.2.1.43.11.1.1.9.1.1
Max Toner: .1.3.6.1.2.1.43.11.1.1.8.1.1
Set Max Toner to Area with a dark color as your first data source in the graph.
Then set Available Toner to area with a lighter color as your second data source. This helps determine the rate of toner consumption in a department/company.
anyway, the OID you want to query for the HP printers is "43.10.2.1.4.1.1".
Other stuff I graphed on a HP LaserPrinter:
Available Toner: .1.3.6.1.2.1.43.11.1.1.9.1.1
Max Toner: .1.3.6.1.2.1.43.11.1.1.8.1.1
Set Max Toner to Area with a dark color as your first data source in the graph.
Then set Available Toner to area with a lighter color as your second data source. This helps determine the rate of toner consumption in a department/company.
- Attachments
-
- Results of using Toner OIDs specified in my post.
- hplj-toner-graph.png (3.96 KiB) Viewed 9266 times
Burke - MCP+I, MCSE, MCSD, CNE, CCA, CCNA, LPIC-1
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
-
- Posts: 2
- Joined: Mon Aug 09, 2004 6:25 am
- Contact:
hmm... never done that before.. let's see if this works for you...
Please respond back to let me know if I exported all that correctly.
Please respond back to let me know if I exported all that correctly.
- Attachments
-
- hptonergraphtemplate.xml
- HP Toner Graph Template + Dependencies (AvailToner Data Source Template and MaxToner Data Source Template)
- (10.76 KiB) Downloaded 1310 times
Burke - MCP+I, MCSE, MCSD, CNE, CCA, CCNA, LPIC-1
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
-
- Posts: 18
- Joined: Fri Jun 03, 2005 6:42 am
Ahh.. Color Printers... I haven't bothered putting time into figuring those out. This graph is produced from a 4100 at one of my client sites. There have been no requests from them for any printer monitoring at all, I just did this one to get an idea of how long their black toner cartridge was lasting
Burke - MCP+I, MCSE, MCSD, CNE, CCA, CCNA, LPIC-1
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
[url=http://www.technicalvalues.com]My Website[/url] ::[url=http://www.technicalvalues.net]Domain Registrations, SSL Certs, and Hosting[/url]
-
- Posts: 18
- Joined: Fri Jun 03, 2005 6:42 am
It seems that works for my 8550 but not with my 4050 (partial) & 4500. If I do a snmpwalk over these two printers appears an error:
and if I try to get for example the counters one returns no values and the other returns a -3
after monitoring for some minuts I see that the drum for the 4050 does not work and the toner graphs neither for the 4500. In fact doing a snmpwalk requesting the OIDS I see:
I don´t know why the counters are all at -3. Printing the configuration page from the printer, the toner counter's doesn´t appear. I am not sure if this printer reports the toner levels :?
Code: Select all
udpInDatagrams.0 = Counter32: 2142
udpNoPorts.0 = Counter32: 393
udpInErrors.0 = Counter32: 0
udpOutDatagrams.0 = Counter32: 2138
udpLocalAddress.172.17.101.202.161 = IpAddress: 172.17.101.202
udpLocalPort.172.17.101.202.161 = INTEGER: 161
udpLocalAddress.172.17.101.202.427 = IpAddress: 172.17.101.202
Error: OID not increasing: udpLocalPort.172.17.101.202.161
>= udpLocalAddress.172.17.101.202.427
after monitoring for some minuts I see that the drum for the 4050 does not work and the toner graphs neither for the 4500. In fact doing a snmpwalk requesting the OIDS I see:
Code: Select all
mib-2.43.11.1.1.6.1.1 = STRING: "Black Toner Cartridge HP C4191A"
mib-2.43.11.1.1.6.1.2 = STRING: "Cyan Toner Cartridge HP C4192A"
mib-2.43.11.1.1.6.1.3 = STRING: "Magenta Toner Cartridge HP C4193A"
mib-2.43.11.1.1.6.1.4 = STRING: "Yellow Toner Cartridge HP C4194A"
mib-2.43.11.1.1.6.1.5 = STRING: "Drum Kit HP C4195A"
mib-2.43.11.1.1.6.1.6 = STRING: "Transfer Kit HP C4196A"
mib-2.43.11.1.1.6.1.7 = STRING: "Fuser Kit HP 120V C4197A 220V C4198A"
mib-2.43.11.1.1.7.1.1 = INTEGER: 13
mib-2.43.11.1.1.7.1.2 = INTEGER: 13
mib-2.43.11.1.1.7.1.3 = INTEGER: 13
mib-2.43.11.1.1.7.1.4 = INTEGER: 13
mib-2.43.11.1.1.7.1.5 = INTEGER: 7
mib-2.43.11.1.1.7.1.6 = INTEGER: 7
mib-2.43.11.1.1.7.1.7 = INTEGER: 7
mib-2.43.11.1.1.8.1.1 = INTEGER: -2
mib-2.43.11.1.1.8.1.2 = INTEGER: -2
mib-2.43.11.1.1.8.1.3 = INTEGER: -2
mib-2.43.11.1.1.8.1.4 = INTEGER: -2
mib-2.43.11.1.1.8.1.5 = INTEGER: -2
mib-2.43.11.1.1.8.1.6 = INTEGER: -2
mib-2.43.11.1.1.8.1.7 = INTEGER: -2
mib-2.43.11.1.1.9.1.1 = INTEGER: -3
mib-2.43.11.1.1.9.1.2 = INTEGER: -3
mib-2.43.11.1.1.9.1.3 = INTEGER: -3
mib-2.43.11.1.1.9.1.4 = INTEGER: -3
mib-2.43.11.1.1.9.1.5 = INTEGER: -2
mib-2.43.11.1.1.9.1.6 = INTEGER: -2
mib-2.43.11.1.1.9.1.7 = INTEGER: -2
snmpwalk:
-C <APPOPTS> snmpwalk specific options
APPOPTS values:
c: Don't check that the returned OID's are increasing
i: Include the requested OID in the search range
p: Print the number of variables found
Just add a -Cc to the command line in cacti/lib/snmp.php
-C <APPOPTS> snmpwalk specific options
APPOPTS values:
c: Don't check that the returned OID's are increasing
i: Include the requested OID in the search range
p: Print the number of variables found
Just add a -Cc to the command line in cacti/lib/snmp.php
Code: Select all
$temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -Cc -v$version -t $timeout etries $hostname:$port $snmp_auth $oid");
$temp_array = exec_into_array(read_config_option("path_snmpwalk") . " -Cc -O QfntUe $snmp_auth -vsion -t $timeout -r $retries $hostname:$port $oid");
Who is online
Users browsing this forum: No registered users and 2 guests