Pages

How to Creat MRTG Cfg File Linux

# Created by
# /usr/bin/cfgmaker --ifref=ip --ifdesc=ip '--global=Workdir: /var/www/mrtg' '--global=Options[_]: growright, unknaszero, bits' --output=/etc/mrtg/rays.cfg rays@localhost

### Global Config Options
# for UNIX
# WorkDir: /home/http/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
Workdir: /var/www/mrtg
Options[_]: growright, unknaszero, bits
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt,/etc/squid/mib.txt,/usr/share/snmp/mibs/TCP-MIB.txt

######################################################################
# System: Rays-Netserver
# Description: Linux Rays-Netserver 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686
# Contact: Root (configure /etc/snmp/snmp.local.conf)
# Location: Linux (edit /etc/snmp/snmpd.conf)
######################################################################

### Interface 2 >> Descr: 'eth0' Name: '' Ip: '125.209.76.21' Eth: '00-08-c7-52-81-47' ###
Target[localhost_125.209.76.21]: /125.209.76.21:rays@localhost:
SetEnv[localhost_125.209.76.21]: MRTG_INT_IP="125.209.76.21" MRTG_INT_DESCR="eth0"
MaxBytes[localhost_125.209.76.21]: 1250000
Title[localhost_125.209.76.21]: 125.209.76.21 -- Rays-Netserver
PageTop[localhost_125.209.76.21]:

125.209.76.21 -- Rays-Netserver










System: Rays-Netserver in Linux (edit /etc/snmp/snmpd.conf)
Maintainer: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
Description:eth0
ifType: ethernetCsmacd (6)
ifName:
Max Speed: 1250.0 kBytes/s
Ip: 125.209.76.21 (125-209-76-21.multi.net.pk)


### Interface 3 >> Descr: 'eth1' Name: '' Ip: '192.168.0.1' Eth: '00-b0-d0-da-33-36' ###
Target[localhost_192.168.0.1]: /192.168.0.1:rays@localhost:
SetEnv[localhost_192.168.0.1]: MRTG_INT_IP="192.168.0.1" MRTG_INT_DESCR="eth1"
MaxBytes[localhost_192.168.0.1]: 1250000
Title[localhost_192.168.0.1]: 192.168.0.1 -- Rays-Netserver
PageTop[localhost_192.168.0.1]:

192.168.0.1 -- Rays-Netserver










System: Rays-Netserver in Linux (edit /etc/snmp/snmpd.conf)
Maintainer: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
Description:eth1
ifType: ethernetCsmacd (6)
ifName:
Max Speed: 1250.0 kBytes/s
Ip: 192.168.0.1 (rays-netserver)

Target[Rays.disk]: dskPercent.1&dskPercent.1:rays@localhost
Options[Rays.disk]: nopercent, growright, unknaszero, gauge
MaxBytes[Rays.disk]: 100
LegendI[Rays.disk]: Total disk (/) usage
Title[Rays.disk]: Rays-Netserver disk (/) usage
PageTop[Rays.disk]:

Rays-Netserver -- Disk usage


Unscaled[Rays.disk]: ymwd
ShortLegend[Rays.disk]: %
YLegend[Rays.disk]: % Disk (/) used

Target[server.memory]: memAvailReal.0&memTotalReal.0:rays@localhost
Title[server.memory]: Free Memory
PageTop[server.memory]:

Free Memory


MaxBytes[server.memory]: 100000000000
ShortLegend[server.memory]: B
YLegend[server.memory]: Bytes
LegendI[server.memory]: Free
LegendO[server.memory]: Total
Legend1[server.memory]: Free memory, not including swap, in bytes
Legend2[server.memory]: Total memory
Options[server.memory]: gauge,growright,nopercent
kMG[server.memory]: k,M,G,T,P,X

Target[server.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:rays@localhost + ssCpuRawSystem.0&ssCpuRawSystem.0:rays@localhost + ssCpuRawNice.0&ssCpuRawNice.0:rays@localhost
Title[server.cpu]: Server CPU Load
PageTop[server.cpu]:

CPU Load - System, User and Nice Processes


MaxBytes[server.cpu]: 100
ShortLegend[server.cpu]: %
YLegend[server.cpu]: CPU Utilization
Legend1[server.cpu]: Current CPU percentage load
LegendI[server.cpu]: Used
LegendO[server.cpu]:
Options[server.cpu]: growright,nopercent
Unscaled[server.cpu]: ymwd




Target[server.estabcons]: tcpCurrEstab.0&tcpCurrEstab.0:rays@localhost
Title[server.estabcons]: Currently Established TCP Connections
PageTop[server.estabcons]:

Established TCP Connections


MaxBytes[server.estabcons]: 10000000000
ShortLegend[server.estabcons]:
YLegend[server.estabcons]: Connections
LegendI[server.estabcons]: In
LegendO[server.estabcons]:
Legend1[server.estabcons]: Established connections
Legend2[server.estabcons]:
Options[server.estabcons]: growright,nopercent,gauge


Target[proxy-hit]: cacheHttpHits&cacheServerRequests:rays@localhost:3401
MaxBytes[proxy-hit]: 1000
Title[proxy-hit]: HTTP Hits
PageTop[proxy-hit]:

proxy Cache Statistics: HTTP Hits/Requests






System: rays-netserver
Maintainer: imran <imrance@hotmail.com>
Description:Rays Proxy Server

Suppress[proxy-hit]: y
Legend1[proxy-hit]: HTTP hits
Legend2[proxy-hit]: HTTP requests
LegendI[proxy-hit]: HTTP hits
LegendO[proxy-hit]: HTTP requests
YLegend[proxy-hit]: req/min
ShortLegend[proxy-hit]: perminute
Options[proxy-hit]: nopercent, perminute, dorelpercent, unknaszero, growright

Target[squid-hit]: cacheProtoClientHttpRequests&cacheHttpHits:rays@localhost:3401
Options[squid-hit]: nopercent, perminute, unknaszero, growright
MaxBytes[squid-hit]: 1000
LegendI[squid-hit]: Client HTTP requests
LegendO[squid-hit]: HTTP Hits
Title[squid-hit]: HTTP Hits
PageTop[squid-hit]:

proxy Cache Statistics: HTTP Hits/Requests






System: rays-netserver
Maintainer: imran <imrance@hotmail.com>
Description:Rays Proxy Server

Unscaled[squid-hit]:ymwd
ShortLegend[squid-hit]: perminute
YLegend[squid-hit]: SQUID Hits

Forex Trading