mrtg

 
 
mrtg
 
 
 
# Created by
# /usr/bin/cfgmaker -output /var/www/html/mrtg/mrtg.cfg [email protected]


### Global Config Options

#  for UNIX
WorkDir: /var/www/html/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System:
# Description: Linux data1 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:29:47 EST 2005 x86_64
# Contact: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (edit /etc/snmp/snmpd.conf)
######################################################################


### Interface 1 >> Descr: 'lo' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is a Software Loopback interface
### * got 'no response received
###     SNMPv1_Session (remote host: "192.168.1.1" [192.168.1.1].161)
###                       community: "public"
###                      request ID: 1530332914
###                     PDU bufsize: 8000 bytes
###                         timeout: 2s
###                         retries: 5
###                         backoff: 1)' from interface when trying to query
#
# Target[192.168.1.1_1]: 1:[email protected]:
# SetEnv[192.168.1.1_1]: MRTG_INT_IP="" MRTG_INT_DESCR="lo"
# MaxBytes[192.168.1.1_1]: 1250000
# Title[192.168.1.1_1]: Traffic Analysis for 1 �C aa
# PageTop[192.168.1.1_1]: <H1>Traffic Analysis for 1 -- aa</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>aa in Unknown (edit /etc/snmp/snmpd.conf)</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root@localhost&gt; (configure /etc/snmp/snmp.local.conf)</TD></TR>
#    <TR><TD>Description:</TD><TD>lo  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>softwareLoopback (24)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
#  </TABLE>


### Interface 2 >> Descr: 'bond0' | Name: '' | Ip: '' | Eth: '' ###

Target[192.168.1.1_2]: 2:[email protected]:
SetEnv[192.168.1.1_2]: MRTG_INT_IP="" MRTG_INT_DESCR="bond0"
MaxBytes[192.168.1.1_2]: 12500000
Title[192.168.1.1_2]: CGXM Data1 Traffic Analysis
PageTop[192.168.1.1_2]: <H1>CGXM aa Traffic Analysis (192.bond0)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD> aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>bond0  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip: </TD><TD>192.168.1.1 (bond0)</TD></TR>
 </TABLE>


### Interface 3 >> Descr: 'bond1' | Name: '' | Ip: '' | Eth: '' ###

Target[172.16.1.11_3]: 3:[email protected]:
SetEnv[172.16.1.11_3]: MRTG_INT_IP="" MRTG_INT_DESCR="bond1"
MaxBytes[172.16.1.11_3]: 1250000
Title[172.16.1.11_3]: aa Traffic Analysis
PageTop[172.16.1.11_3]: <H1>aa Traffic Analysis (172.bond1)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>bond1  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>
   <TR><TD>Ip:</TD><TD>172.16.1.11 (bond1)</TD></TR>
 </TABLE>


### Interface 4 >> Descr: 'eth0' | Name: '' | Ip: '' | Eth: '' ###

Target[192.168.1.11_4]: 4:[email protected]:
SetEnv[192.168.1.11_4]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
MaxBytes[192.168.1.11_4]: 12500000
Title[192.168.1.11_4]: aa Traffic Analysis
PageTop[192.168.1.11_4]: <H1>aa Traffic Analysis (192.eth0)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>eth0  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>  <TD>192.168.1.11 (eth0)</TD></TR>
 </TABLE>


### Interface 5 >> Descr: 'eth1' | Name: '' | Ip: '' | Eth: '' ###

Target[192.168.1.11_5]: 5:[email protected]:
SetEnv[192.168.1.11_5]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1"
MaxBytes[192.168.1.11_5]: 12500000
Title[192.168.1.11_5]: aa Traffic Analysis
PageTop[192.168.1.11_5]: <H1>aa Traffic Analysis (192.eth1)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>eth1</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>  <TD>192.168.1.11 (eth1)</TD></TR>
 </TABLE>


### Interface 6 >> Descr: 'eth2' | Name: '' | Ip: '' | Eth: '' ###

Target[192.168.1.11_6]: 6:[email protected]:
SetEnv[192.168.1.11_6]: MRTG_INT_IP="" MRTG_INT_DESCR="eth2"
MaxBytes[192.168.1.11_6]: 12500000
Title[192.168.1.11_6]:aa Traffic Analysis
PageTop[192.168.1.11_6]: <H1>aa Traffic Analysis (192.eth2)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>eth2  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>  <TD>192.168.1.11 (eth2)</TD></TR>
 </TABLE>


### Interface 7 >> Descr: 'eth3' | Name: '' | Ip: '' | Eth: '' ###

Target[192.168.1.11_7]: 7:[email protected]:
SetEnv[192.168.1.11_7]: MRTG_INT_IP="" MRTG_INT_DESCR="eth3"
MaxBytes[192.168.1.11_7]: 12500000
Title[192.168.1.11_7]: aa Traffic Analysis
PageTop[192.168.1.11_7]: <H1>aa Traffic Analysis (192.eth3)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>eth3  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>  <TD>192.168.1.11 (eth3)</TD></TR>
 </TABLE>


### Interface 8 >> Descr: 'eth4' | Name: '' | Ip: '' | Eth: '' ###

Target[172.16.1.11_8]: 8:[email protected]:
SetEnv[172.16.1.11_8]: MRTG_INT_IP="" MRTG_INT_DESCR="eth4"
MaxBytes[172.16.1.11_8]: 12500000
Title[172.16.1.11_8]:aa Traffic Analysis
PageTop[172.16.1.11_8]: <H1>aa Traffic Analysis (172.eth4)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>eth4  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>  <TD>172.16.1.11 (eth4)</TD></TR>
 </TABLE>


### Interface 9 >> Descr: 'eth5' | Name: '' | Ip: '' | Eth: '' ###

Target[172.16.1.11_9]: 9:[email protected]:
SetEnv[172.16.1.11_9]: MRTG_INT_IP="" MRTG_INT_DESCR="eth5"
MaxBytes[172.16.1.11_9]: 12500000
Title[172.16.1.11_9]:aa Traffic Analysis
PageTop[172.16.1.11_9]: <H1>aa Traffic Analysis (172.eth5)</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
   <TR><TD>Description:</TD><TD>eth5  </TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>  <TD>172.16.1.11 (eth5)</TD></TR>
 </TABLE>


### Interface 10 >> Descr: 'eth6' | Name: '' | Ip: '' | Eth: '' ###

#Target[192.168.1.11_10]: 10:[email protected]:
#SetEnv[192.168.1.11_10]: MRTG_INT_IP="" MRTG_INT_DESCR="eth6"
#MaxBytes[192.168.1.11_10]: 12500000
#Title[192.168.1.11_10]: aa Traffic Analysis
#PageTop[192.168.1.11_10]: <H1>aa Traffic Analysis (192.eth6)</H1>
# <TABLE>
#   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
#   <TR><TD>Description:</TD><TD>eth6  </TD></TR>
#   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
#   <TR><TD>Ip:</TD>  <TD>192.168.1.11 (eth6)</TD></TR>
# </TABLE>


### Interface 11 >> Descr: 'eth7' | Name: '' | Ip: '' | Eth: '' ###

#Target[192.168.1.11_11]: 11:[email protected]:
#SetEnv[192.168.1.11_11]: MRTG_INT_IP="" MRTG_INT_DESCR="eth7"
#MaxBytes[192.168.1.11_11]: 12500000
#Title[192.168.1.11_11]:aa Traffic Analysis
#PageTop[192.168.1.11_11]: <H1>aa Traffic Analysis (192.eth7)</H1>
# <TABLE>
#   <TR><TD>System:</TD>     <TD>aa Red Hat ES 4</TD></TR>
#   <TR><TD>Description:</TD><TD>eth7  </TD></TR>
#   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
#   <TR><TD>Ip:</TD>  <TD>192.168.1.11 (eth7)</TD></TR>
# </TABLE>


### Interface 12 >> Descr: 'eth8' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is operationally DOWN
### * has a speed of 0 which makes no sense
#
# Target[192.168.1.11_12]: 12:[email protected]:
# SetEnv[192.168.1.11_12]: MRTG_INT_IP="" MRTG_INT_DESCR="eth8"
# MaxBytes[192.168.1.11_12]: 0
# Title[192.168.1.11_12]: Traffic Analysis for 12 -- aa
# PageTop[192.168.1.11_12]: <H1>Traffic Analysis for 12 -- aa</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>data1 in Unknown (edit /etc/snmp/snmpd.conf)</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root@localhost&gt; (configure /etc/snmp/snmp.local.conf)</TD></TR>
#    <TR><TD>Description:</TD><TD>eth8  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>0.0 Bytes/s</TD></TR>
#  </TABLE>


### Interface 13 >> Descr: 'eth9' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is operationally DOWN
### * has a speed of 0 which makes no sense
#
# Target[192.168.1.11_13]: 13:[email protected]:
# SetEnv[192.168.1.11_13]: MRTG_INT_IP="" MRTG_INT_DESCR="eth9"
# MaxBytes[192.168.1.11_13]: 0
# Title[192.168.1.11_13]: Traffic Analysis for 13 -- data1
# PageTop[192.168.1.11_13]: <H1>Traffic Analysis for 13 -- aa</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>data1 in Unknown (edit /etc/snmp/snmpd.conf)</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root@localhost&gt; (configure /etc/snmp/snmp.local.conf)</TD></TR>
#    <TR><TD>Description:</TD><TD>eth9  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>0.0 Bytes/s</TD></TR>
#  </TABLE>


### Interface 14 >> Descr: 'sit0' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * it is administratively DOWN
### * it is operationally DOWN
### * has a speed of 0 which makes no sense
#
# Target[192.168.1.11_14]: 14:[email protected]:
# SetEnv[192.168.1.11_14]: MRTG_INT_IP="" MRTG_INT_DESCR="sit0"
# MaxBytes[192.168.1.11_14]: 0
# Title[192.168.1.11_14]: Traffic Analysis for 14 -- aa
# PageTop[192.168.1.11_14]: <H1>Traffic Analysis for 14 -- aa</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>data1 in Unknown (edit /etc/snmp/snmpd.conf)</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>Root &lt;root@localhost&gt; (configure /etc/snmp/snmp.local.conf)</TD></TR>
#    <TR><TD>Description:</TD><TD>sit0  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD>Encapsulation Interface (131)</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>0.0 Bytes/s</TD></TR>
#  </TABLE>

################CPU######################
Target[cpu]: `bash /opt/mrtg/cpu.sh`
MaxBytes[cpu]: 12500000
Title[cpu]: aa CPU Utilization Report
Options[cpu]: gauge,nopercent,growright
YLegend[cpu]: CPU loading (%)
ShortLegend[cpu]:%
LegendO[cpu]: & CPU USER
LegendI[cpu]: & CPU SYSTEM
PageTop[cpu]: <H1>aa CPU Utilization Report</H1>


################## Disk I/O 800K/sec  /DEV/SDA  ##########
# If you want monitor more disk, please copy below create
# now monitor job, and copy & modify the diskperf.sh to setting #disk.
Target[diskIO]: `bash /opt/mrtg/diskperf.sh`
Title[diskIO]: aa Disk SDA I/O Utilization Report
#Unscaled[diskIO]: dwym
MaxBytes[diskIO]: 15000
PageTop[diskIO]: <H1>aa Disk SDA I/O Utilization Report</H1>;
kmg[diskIO]: KB,MB,GB
LegendI[diskIO]: Disk I/O KBread/sec
LegendO[diskIO]: Disk I/O KBwrite/sec
Legend1[diskIO]: Disk I/O KBread/sec
Legend2[diskIO]: Disk I/O KBwrite/sec
YLegend[diskIO]:  Megabytes
ShortLegend[diskIO]: &
Options[diskIO]: growright,gauge,nopercent


 

你可能感兴趣的:(职场,休闲)