|
|
| Author |
Message |
adrianmarsh Cacti User
Joined: 17 Aug 2005 Posts: 417 Location: UK
|
Posted: Sun Oct 29, 2006 4:34 am Post subject: |
|
|
Would this also work for OKI printers? I've already created my own here..
| Description: |
| XML files for snmp_queries |
|
 Download |
| Filename: |
archive.zip |
| Filesize: |
1.78 KB |
| Downloaded: |
589 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_host_template_oki_printer.xml |
| Filesize: |
44.23 KB |
| Downloaded: |
549 Time(s) |
|
|
| Back to top |
|
 |
jokerz
Joined: 26 Oct 2006 Posts: 13
|
Posted: Mon Oct 30, 2006 12:22 pm Post subject: |
|
|
1st off - nice template love it...
only n00b question on the left side for units i see 10m 8m 6m 4m
is that suppose to be m = million?
If so how does one go about changing the unit... I think on average our printers print in the hundred / thousand range never million per day... ten thounds per month...
|
|
| Back to top |
|
 |
adrianmarsh Cacti User
Joined: 17 Aug 2005 Posts: 417 Location: UK
|
|
| Back to top |
|
 |
dwalthers
Joined: 12 Feb 2007 Posts: 1
|
Posted: Mon Feb 12, 2007 5:48 pm Post subject: Printer MIB / SNMP Application |
|
|
|
|
|
| Back to top |
|
 |
adrianmarsh Cacti User
Joined: 17 Aug 2005 Posts: 417 Location: UK
|
Posted: Sun Mar 04, 2007 6:33 pm Post subject: |
|
|
Well... Cacti itself... But you need to know the MIBs for the printer.
For most SNMP-enabled printers this isn't an issue. Recently I've found that KonicaMinolta refuse to give out the MIBs for my recently rented Bizhub c252. For which I will remember them gravely..
You might want to try the template at the beginning of this thread, as I think its intended as a generic one.
|
|
| Back to top |
|
 |
apperrault Cacti User
Joined: 16 Feb 2007 Posts: 353 Location: Emeryville, CA
|
Posted: Tue Apr 10, 2007 11:24 am Post subject: |
|
|
Hi All, i just installed this printer script, and i have a couple questions. I am getting graph data for the amount of prints, but when i look at the graphs, the current pages is always 0. Does anyone know why this is like this?
I can post a picutre if you need.
Thanks much
app
|
|
| Back to top |
|
 |
Gir
Joined: 14 Sep 2006 Posts: 3
|
Posted: Tue May 22, 2007 9:22 am Post subject: |
|
|
I'm getting a weird error with the printer_supply.xml
| Code: | + Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/printer_supply.xml'" |
I'm not getting any results returned from this, but the snmpwalk works juts fine for the all the OID's except the first one. I tried taking out that first one but it still has the same problem. Any ideas?[/code]
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12275 Location: Muenster, Germany
|
Posted: Tue May 22, 2007 2:42 pm Post subject: |
|
|
| apperrault wrote: | Hi All, i just installed this printer script, and i have a couple questions. I am getting graph data for the amount of prints, but when i look at the graphs, the current pages is always 0. Does anyone know why this is like this?
I can post a picutre if you need.
Thanks much
app | Yes, an image would help. I'm quite sure to be able to explain ...
Reinhard
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12275 Location: Muenster, Germany
|
Posted: Tue May 22, 2007 2:43 pm Post subject: |
|
|
| Gir wrote: | I'm getting a weird error with the printer_supply.xml
| Code: |
+ Error parsing XML file into an array.
|
I'm not getting any results returned from this, but the snmpwalk works juts fine for the all the OID's except the first one. I tried taking out that first one but it still has the same problem. Any ideas?[/code] | That XML seems to be broken. Either the original one or your copy is corrupted
Reinhard
|
|
| Back to top |
|
 |
asantos02
Joined: 02 May 2007 Posts: 2
|
Posted: Thu May 24, 2007 11:14 am Post subject: Total Pages with zero value |
|
|
Hi all,
I have instaled this script, and it work well (with some modificatios for my printers Xerox Phser and Docuprinter) and the problem is that in snmpwalk I can see the total pages number, but there is no value in graphic.
| Code: | C:\net-snmp\bin>snmpwalk -v 1 -c xxxxx 10.x.x.237 1.3.6.1.2.1.43.10.2.1.4.1
SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 507597
C:\net-snmp\bin>snmpwalk -v 1 -c xxxxx 10.x.x.50 1.3.6.1.2.1.43.10.2.1.4.1
SNMPv2-SMI::mib-2.43.10.2.1.4.1.1 = Counter32: 5391038 |
Can anyone help me?
Alfredo Santos
|
|
| Back to top |
|
 |
terziyski
Joined: 02 Nov 2006 Posts: 44
|
Posted: Tue Oct 23, 2007 5:32 am Post subject: |
|
|
I've managed to correct the data and graph templates and SNMP Query so now I see
the total printed pages in graphs and all other stuff too. I've tested the templates on:
Xerox WorkCentre Pro 35 PS
HP Color LaserJet 4600 PCL 5c
and they work pretty well.
Enjoy
| Description: |
|
 Download |
| Filename: |
HP Printer Supplies Templates.zip |
| Filesize: |
11.06 KB |
| Downloaded: |
752 Time(s) |
| Description: |
|
 Download |
| Filename: |
printer_supply.xml |
| Filesize: |
1.36 KB |
| Downloaded: |
947 Time(s) |
|
|
| Back to top |
|
 |
yusrij
Joined: 24 Aug 2007 Posts: 8
|
Posted: Mon Nov 05, 2007 1:37 am Post subject: HP Jetdirect 3 ports |
|
|
When i used this printer snmp template, i only can query 1 printer thats connect to port 1.
How can query from the other ports?
What is the OID for the second and third port?
|
|
| Back to top |
|
 |
yusrij
Joined: 24 Aug 2007 Posts: 8
|
Posted: Tue Nov 06, 2007 3:15 am Post subject: Re: HP Jetdirect 3 ports |
|
|
| yusrij wrote: | When i used this printer snmp template, i only can query 1 printer thats connect to port 1.
How can query from the other ports?
What is the OID for the second and third port? |
Sorry,
i run snmp to query external HP Jetdirect with 3 parallel port.
|
|
| Back to top |
|
 |
aquila125
Joined: 19 Oct 2007 Posts: 23
|
Posted: Thu Nov 29, 2007 9:46 am Post subject: |
|
|
Hi,
we have a Xerox Phaser 6300. Where can I find the OID's?
I was hoping I would find the correct OID's for the number of prints and the percentage that the cartridges are full...
tnx!
|
|
| Back to top |
|
 |
jrohr
Joined: 12 Sep 2007 Posts: 23
|
Posted: Wed Dec 19, 2007 11:50 am Post subject: |
|
|
| gandalf wrote: | That depends on the way you want to get things graphed. When using a COUNTER, you will get differences between polling intervals (perhaps normalized to a minute or so). That's your current settings.
But you may change to GAUGE to get those "increasing" values. So it depends on your likings
Reinhard |
| gandalf wrote: |
To be precise, after changing the rrdtool option, you'll have to "rrdtool tune" all existing rrd files to mimic the wanted behaviour.
And by using the Summing function (see manual), it is well possible to get the totals (relative tpo the timespan of the current graph) displayed. You you may get daily total, weekly total ... |
I've been using the SNMP Printer Template and have not been able to get total printed pages to return increasing values. gandalf suggested changing to GAUGE to get the increasing values and to "rrdtool tune" which referred to a Summing function. I was able to change to GAUGE but cannot find any information on summing printers.
| terziyski wrote: | I've managed to correct the data and graph templates and SNMP Query so now I see
the total printed pages in graphs and all other stuff too. I've tested the templates on:
Xerox WorkCentre Pro 35 PS
HP Color LaserJet 4600 PCL 5c
and they work pretty well.
Enjoy |
I also tried updating my templates using terziyski changes but I'm still seeing printed pages based on COUNTER values (only shows pages based on time).
How can I get the total printed pages to display on the graph? I would expect it to start graphing based on total page count. From what I understand about Cacti if our printer already has 500,000 impressions when Cacti starts graphing data it will start at 500,000 right? That way I could see the differences in daily, weekly, monthly, etc and the true page count would show in the legend.
Anyone got this working correctly?
Thanks
Jeff
|
|
| Back to top |
|
 |
|