>From mrtg-conf.html

-----
if you want to monitor something which does not provide data via snmp you
can use some external program to do the data gathering. 

The external command must return 4 lines of output: 
Line 1 
  current state of the first variable, normally 'incoming bytes count' 
Line 2 
  current state of the second variable, normally 'outgoing bytes count' 
Line 3 
  string (in any human readable format), telling the uptime of the target. 
Line 4 
  string, telling the name of the target. 

Depending on the type of data your script returns you might want to use
the 'gauge' or 'absolute' arguments for the Options keyword. 
----

Contoh dari mrtg.conf saya untuk cpuload:
# CPU load
Target[cpuload.1]: `/usr/bin/monitor load`
MaxBytes[cpuload.1]: 1000
AbsMax[cpuload.1]: 100000
Title[cpuload.1]: CPU Load
Options[cpuload.1]: gauge
YLegend[cpuload.1]: Current Load
ShortLegend[cpuload.1]: #
Legend1[cpuload.1]:  
Legend2[cpuload.1]: Current Machine Load
Legend3[cpuload.1]:  
Legend4[cpuload.1]: Maximum 5 Minute Current Machine Load
LegendI[cpuload.1]:  
LegendO[cpuload.1]:  Load:
PageTop[cpuload.1]: <H1>CPU Load</H1>
 <TABLE>
   <TR><TD>System:</TD><TD>ryoohki in Burwood, NSW, Australia</TD></TR>
   <TR><TD>Maintainer:</TD><TD>[EMAIL PROTECTED]</TD></TR>
 </TABLE>

Maaf kalau mail dari saya agak panjang :)
Semoga membantu.

Wim Pranata


On Fri, 4 Dec 1998, B. Dinarto wrote:

> gimana caranya setting mrtg, tapi untuk mail , http, load cpu, dsb.
> Seperti di http://mrtg.indoglobal.com
> ayo admin indoglobal.......bantu saya ..nih
> 


______________________________________________________________________
Utk berhenti langganan kirim email ke [EMAIL PROTECTED] 
Sudah cari di arsip? http://www.mail-archive.com/[email protected]/
Utk info netiket, kirim email kosong ke [EMAIL PROTECTED]

Kirim email ke