Try something like this .cfg
##################Orgiginal Version By LL -
16/04/2003###########################################
###############################ServerName###################################
#########################
###############################CPU1-STATISTICS##############################
#########################
############################################################################
#########################
Target[ServerName_UpTime]:
.1.3.6.1.4.1.232.11.2.3.1.1.2.0&.1.3.6.1.4.1.232.11.2.3.1.1.2.0:SNMPCommunit
[EMAIL PROTECTED]
MaxBytes[ServerName_UpTime]: 100
kMG[ServerName_UpTime]: %
XSize[ServerName_UpTime]: 380
YSize[ServerName_UpTime]: 100
Suppress[ServerName_UpTime]: ymwd
WithPeak[ServerName_UpTime]: ymw
Unscaled[ServerName_UpTime]: ymwd
Background[ServerName_UpTime]: #D6DFF7
Options[ServerName_UpTime]: growright, gauge, withzeroes,nopercent, nobanner
YTics[ServerName_UpTime]: 10
ShortLegend[ServerName_UpTime]: CPU
YLegend[ServerName_UpTime]: Processor Load %
LegendI[ServerName_UpTime]: :
LegendO[ServerName_UpTime]: :
Legend1[ServerName_UpTime]: Processor Load % Ave.
Legend2[ServerName_UpTime]: Processor Load % Ave.
Legend3[ServerName_UpTime]: Peak Processor Load % Ave.
Legend4[ServerName_UpTime]: Peak Processor Load % Ave.
Colours[ServerName_UpTime]: LIGHT
BLUE#1589ff,RED#ff0000,ORANGE#f87a17,YELLOW#ffff00
Title[ServerName_UpTime]: ServerName - Processor Load Statistics for
Processor 1
PageTop[ServerName_UpTime]: <body bgcolor=#D6DFF7 text="#000000"
link="#6666CC" vlink="#999999" alink="#996699"><!--mstheme--><font
face="trebuchet ms, Arial, Helvetica"> <TABLE>
<TR><TD>System:</TD> <TD>ServerName @ CC Bouchard - Rack
07</TD></TR>
</TABLE>
with the suppress option=ymwd it generates only the UpTime text...
Cheers.
LL
[EMAIL PROTECTED]
-----Original Message-----
From: Rodolfo J. Paiz [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 6:24 PM
To: [EMAIL PROTECTED]
Subject: [mrtg] Generate text for other files?
For each interface, MRTG generates this text as part of the HTML file:
The statistics were last updated <B>Thursday, 16 October 2003 at
15:20</B>,<BR>
at which time <B>'apollo.paiz.org'</B> had been up for <B>4:34:14</B>.
Where can I find out how this was done, and how do I go about generating a
last_update.html file with ONLY this text? I would like this to be included
in my index page showing all interfaces (generated with indexmaker), but
indexmaker did not generate this text.
Thanks!
--
Rodolfo J. Paiz
[EMAIL PROTECTED]
--
Unsubscribe mailto:[EMAIL PROTECTED]
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
--
Unsubscribe mailto:[EMAIL PROTECTED]
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