[mrtg] Re: Page Count on HP LaserJets

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Fri Mar 28 10:12:01 MET 2003


Darryl,

A sample config:

#---------------------------------------------------------------
# Printed pages
#
directory[PRINTERNAME]: printers/printer
YLegend[PRINTERNAME]: # of pages
options[PRINTERNAME]: growright, integer, perhour, nopercent, noo
Target[PRINTERNAME]:
.1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.8.3.1.3.0&.1.3.6.1.4.1.11.2.3.9.4.2.1.4.
1.8.3.1.3.0:community at x.x.x.x
MaxBytes[PRINTERNAME]: 2000
Title[PRINTERNAME]: MRTG: Number of Printed pages for printer M_08
ShortLegend[PRINTERNAME]:  pg/hour
Legend1[PRINTERNAME]: Number of printed pages per hour
Legend3[PRINTERNAME]: Peak number of printed pages per hour
LegendI[PRINTERNAME]: # of pages: 
LegendO[PRINTERNAME]: 
PageTop[PRINTERNAME]: <H1>Number of printed pages per hour</H1>
 <TABLE>
   <TR><TD>Printer:</TD><TD>printer_name</TD></TR>
   <TR><TD>IP:</TD><TD>x.x.x.x</TD></TR>
 </TABLE>
#---------------------------------------------------------------

Hth,

Jan.


-----Original Message-----
From: Darryl Kegg [mailto:Darryl.kegg at thehortongroup.com] 
Sent: Thursday, March 27, 2003 9:23 PM
To: 'MRTG '
Subject: [mrtg] Page Count on HP LaserJets 


I am trying to use MRTG to graph page counts on all the laserjet
printers throughout our company on a single web page, I have found the
OID for page count that works on all printers above the LaserJet 4
series.  I am also trying to incorporate toner remaining counters but
haven't gotten that far...
 

I have 2 questions:

 

1)       Does anyone know the OID for page count on the Laserjet 4, 4+
and
4Si.

2)       Does anyone have any sample CFG files of printer graphs?  I
have
created a CFG file (pasted below) but I cannot get the graph to display
actual page count, instead it converts the number to a Kilobyte
designation...

 

Thanks in advance.

 

[Here's the CFG file I have so far]

 

Target[PL2]:
1.3.6.1.2.1.43.10.2.1.4.1.1&1.3.6.1.2.1.43.10.2.1.4.1.1:public at 137.2.120
.123

MaxBytes[PL2]: 1250000

Title[PL2]: Page Count for PL2 - 137.2.120.123

XSize[PL2]: 600

YSize[PL2]: 100

YLegend[PL2]: Pages

ShortLegend[PL2]: Pages

Legend1[PL2]: Pages

Legend2[PL2]: .

Options[PL2]: gauge, nopercent, unknaszero

PageTop[PL2]: <H1>Page Count for PL2 - 137.2.120.123</H1>

 <TABLE>

   <TR><TD>Device:</TD>     <TD>Printer PL2</TD></TR>

   <TR><TD>Model:</TD>      <TD>LaserJet 4050</TD></TR>

   <TR><TD>Location:</TD><TD>1st Floor OP1</TD></TR>

 </TABLE>

 

 

WorkDir: d:\mrtg\www\hp

RunAsDaemon: yes

 

 



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. 
Aan dit bericht kunnen geen rechten worden ontleend. 

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen. 
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. 
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list