Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu May 25, 2017 5:06 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject:
PostPosted: Mon Oct 30, 2006 12:22 pm 
Offline

Joined: Thu Oct 26, 2006 11:57 am
Posts: 13
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...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 30, 2006 2:10 pm 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
http://forums.cacti.net/viewtopic.php?t=8168


Top
 Profile  
 
 Post subject: Printer MIB / SNMP Application
PostPosted: Mon Feb 12, 2007 5:48 pm 
Offline

Joined: Mon Feb 12, 2007 5:41 pm
Posts: 1
I am looking for a web based application that can pull the printer MIB data from remote networked printers. I am primarily interested in the supplies calculation. Do you have or know of such an application?

Dennis Walthers
dwalthers@freeprinters.com
http://www.FreePrinters.com
FreePrinters.com
(877) 437-3377
(214) 764-3526 -Direct
(509) 757-8726 -Fax


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 04, 2007 6:33 pm 
Offline
Cacti User
User avatar

Joined: Wed Aug 17, 2005 8:51 am
Posts: 427
Location: UK
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 10, 2007 11:24 am 
Offline
Cacti User

Joined: Fri Feb 16, 2007 11:37 am
Posts: 372
Location: Emeryville, CA
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

_________________
Cacti Version - 0.8.7b
Plugin Architecture - 2.2 Beta
Poller Type - CMD.php
Server Info - Linux 2.6.9-78.0.1.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 4.3.9
MySQL - 4.1.22
RRDTool - 1.2.23
SNMP - 5.1.2
Plugins
    Global Plugin Settings (settings - v0.5)
    SuperLinks (superlinks - v0.72)
    Host Info (hostinfo - v0.2)
    Report Creator (reports - v0.3)
    Update Checker (update - v0.4)
    Realtime for Cacti (realtime - v0.35)
    Cacti Log View (clog - v1.1)
    RRD File Cleaner (rrdclean - v0.36)
    Network Discovery (discovery - v0.9)
    Uptime (uptime - v0.4)


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 9:22 am 
Offline

Joined: Thu Sep 14, 2006 10:43 am
Posts: 3
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]


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 2:42 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
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

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 22, 2007 2:43 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
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

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Total Pages with zero value
PostPosted: Thu May 24, 2007 11:14 am 
Offline

Joined: Wed May 02, 2007 6:56 pm
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 23, 2007 5:32 am 
Offline
Cacti User

Joined: Thu Nov 02, 2006 6:02 am
Posts: 92
Location: Bulgaria
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


Attachments:
HP Printer Supplies Templates.zip [11.06 KiB]
Downloaded 3313 times
printer_supply.xml [1.36 KiB]
Downloaded 3950 times

_________________
Cacti user
Top
 Profile  
 
 Post subject: HP Jetdirect 3 ports
PostPosted: Mon Nov 05, 2007 1:37 am 
Offline

Joined: Fri Aug 24, 2007 7:52 pm
Posts: 15
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?


Top
 Profile  
 
 Post subject: Re: HP Jetdirect 3 ports
PostPosted: Tue Nov 06, 2007 3:15 am 
Offline

Joined: Fri Aug 24, 2007 7:52 pm
Posts: 15
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 29, 2007 9:46 am 
Offline

Joined: Fri Oct 19, 2007 6:37 am
Posts: 23
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!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 19, 2007 11:50 am 
Offline

Joined: Wed Sep 12, 2007 2:38 pm
Posts: 23
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 31, 2007 10:57 am 
Offline

Joined: Wed Sep 12, 2007 2:38 pm
Posts: 23
I was able to get the total printed pages using just the Generic OID Template for SNMP instead. I'm not sure what other people are doing to this template to get it to graph total values but this seemed like the simplest solution.

Although, I'm still using this template because it shows the activity on the printer. I did change the title of the SNMP printer graph and removed "Total" since the total was not included anywhere on the graph. It would make more sense to call the graph "Printed pages activity" or something similar.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 74 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group