Template I use for webfarms: There are 4 webs in the farm: I keep 2 of them in MRTG graphing:
Example of my normal Perfmon version of a webcheck without RRD/snmp.
Code:
Workdir: c:\inetpub\wwwroot\mrtg\servers\Ctmlswebs
IconDir: /mrtg/mrtgicons
Title[Ctmlswebs-23]:xxxxx shares mlxweb0160 and mlxweb0161
Title[Ctmlswebs-1]:\\mlxweb0160\Memory\Available MBytes
Pagetop[Ctmlswebs-1]: <H1>\\mlxweb0160\Memory\Available MBytes</H1>
MaxBytes[Ctmlswebs-1]: 100000
Options[Ctmlswebs-1]: gauge, nopercent
Target[Ctmlswebs-1]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Memory\Available MBytes"`
YLegend[Ctmlswebs-1]: Legend
ShortLegend[Ctmlswebs-1]:
LegendO[Ctmlswebs-1]:
LegendI[Ctmlswebs-1]:
Legend2[Ctmlswebs-1]:
Legend1[Ctmlswebs-1]:
Title[Ctmlswebs-2]:\\mlxweb0160\Network Interface(MS TCP Loopback interface)\Bytes Total/sec
Pagetop[Ctmlswebs-2]: <H1>\\mlxweb0160\Network Interface(MS TCP Loopback interface)\Bytes Total/sec</H1>
MaxBytes[Ctmlswebs-2]: 10000000
Options[Ctmlswebs-2]: gauge, nopercent
Target[Ctmlswebs-2]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Network Interface(MS TCP Loopback interface)\Bytes Total/sec"`
YLegend[Ctmlswebs-2]: Legend
ShortLegend[Ctmlswebs-2]:
LegendO[Ctmlswebs-2]:
LegendI[Ctmlswebs-2]:
Legend2[Ctmlswebs-2]:
Legend1[Ctmlswebs-2]:
Title[Ctmlswebs-3]:\\mlxweb0160\PhysicalDisk(0 C:)\Avg. Disk Queue Length
Pagetop[Ctmlswebs-3]: <H1>\\mlxweb0160\PhysicalDisk(0 C:)\Avg. Disk Queue Length</H1>
MaxBytes[Ctmlswebs-3]: 100000
Options[Ctmlswebs-3]: gauge, nopercent
Target[Ctmlswebs-3]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\PhysicalDisk(0 C:)\Avg. Disk Queue Length"`
YLegend[Ctmlswebs-3]: Legend
ShortLegend[Ctmlswebs-3]:
LegendO[Ctmlswebs-3]:
LegendI[Ctmlswebs-3]:
Legend2[Ctmlswebs-3]:
Legend1[Ctmlswebs-3]:
Title[Ctmlswebs-4]:\\mlxweb0160\PhysicalDisk(1 E:)\Avg. Disk Queue Length
Pagetop[Ctmlswebs-4]: <H1>\\mlxweb0160\PhysicalDisk(1 E:)\Avg. Disk Queue Length</H1>
MaxBytes[Ctmlswebs-4]: 100000
Options[Ctmlswebs-4]: gauge, nopercent
Target[Ctmlswebs-4]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\PhysicalDisk(1 E:)\Avg. Disk Queue Length"`
YLegend[Ctmlswebs-4]: Legend
ShortLegend[Ctmlswebs-4]:
LegendO[Ctmlswebs-4]:
LegendI[Ctmlswebs-4]:
Legend2[Ctmlswebs-4]:
Legend1[Ctmlswebs-4]:
Title[Ctmlswebs-5]:\\mlxweb0160\Process(w3wp)\% Processor Time
Pagetop[Ctmlswebs-5]: <H1>\\mlxweb0160\Process(w3wp)\% Processor Time</H1>
MaxBytes[Ctmlswebs-5]: 100000
Options[Ctmlswebs-5]: gauge, nopercent
Target[Ctmlswebs-5]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Process(w3wp)\% Processor Time"`
YLegend[Ctmlswebs-5]: Legend
ShortLegend[Ctmlswebs-5]:
LegendO[Ctmlswebs-5]:
LegendI[Ctmlswebs-5]:
Legend2[Ctmlswebs-5]:
Legend1[Ctmlswebs-5]:
Title[Ctmlswebs-6]:\\mlxweb0160\Process(w3wp)\Private Bytes
Pagetop[Ctmlswebs-6]: <H1>\\mlxweb0160\Process(w3wp)\Private Bytes</H1>
MaxBytes[Ctmlswebs-6]: 100000
Options[Ctmlswebs-6]: gauge, nopercent
Target[Ctmlswebs-6]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Process(w3wp)\Private Bytes"`
YLegend[Ctmlswebs-6]: Legend
ShortLegend[Ctmlswebs-6]:
LegendO[Ctmlswebs-6]:
LegendI[Ctmlswebs-6]:
Legend2[Ctmlswebs-6]:
Legend1[Ctmlswebs-6]:
Title[Ctmlswebs-7]:\\mlxweb0160\Process(w3wp)\Virtual Bytes
Pagetop[Ctmlswebs-7]: <H1>\\mlxweb0160\Process(w3wp)\Virtual Bytes</H1>
MaxBytes[Ctmlswebs-7]: 100000
Options[Ctmlswebs-7]: gauge, nopercent
Target[Ctmlswebs-7]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Process(w3wp)\Virtual Bytes"`
YLegend[Ctmlswebs-7]: Legend
ShortLegend[Ctmlswebs-7]:
LegendO[Ctmlswebs-7]:
LegendI[Ctmlswebs-7]:
Legend2[Ctmlswebs-7]:
Legend1[Ctmlswebs-7]:
Title[Ctmlswebs-8]:\\mlxweb0160\Processor(_Total)\% Processor Time
Pagetop[Ctmlswebs-8]: <H1>\\mlxweb0160\Processor(_Total)\% Processor Time</H1>
MaxBytes[Ctmlswebs-8]: 100000
Options[Ctmlswebs-8]: gauge, nopercent
Target[Ctmlswebs-8]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Processor(_Total)\% Processor Time"`
YLegend[Ctmlswebs-8]: Legend
ShortLegend[Ctmlswebs-8]:
LegendO[Ctmlswebs-8]:
LegendI[Ctmlswebs-8]:
Legend2[Ctmlswebs-8]:
Legend1[Ctmlswebs-8]:
Title[Ctmlswebs-9]:\\mlxweb0160\Web Service(_Total)\Get Requests/sec
Pagetop[Ctmlswebs-9]: <H1>\\mlxweb0160\Web Service(_Total)\Get Requests/sec</H1>
MaxBytes[Ctmlswebs-9]: 100000
Options[Ctmlswebs-9]: gauge, nopercent
Target[Ctmlswebs-9]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Web Service(_Total)\Get Requests/sec"`
YLegend[Ctmlswebs-9]: Legend
ShortLegend[Ctmlswebs-9]:
LegendO[Ctmlswebs-9]:
LegendI[Ctmlswebs-9]:
Legend2[Ctmlswebs-9]:
Legend1[Ctmlswebs-9]:
Title[Ctmlswebs-10]:\\mlxweb0160\Web Service(_Total)\Post Requests/sec
Pagetop[Ctmlswebs-10]: <H1>\\mlxweb0160\Web Service(_Total)\Post Requests/sec</H1>
MaxBytes[Ctmlswebs-10]: 100000
Options[Ctmlswebs-10]: gauge, nopercent
Target[Ctmlswebs-10]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0160\Web Service(_Total)\Post Requests/sec"`
YLegend[Ctmlswebs-10]: Legend
ShortLegend[Ctmlswebs-10]:
LegendO[Ctmlswebs-10]:
LegendI[Ctmlswebs-10]:
Legend2[Ctmlswebs-10]:
Legend1[Ctmlswebs-10]:
Title[Ctmlswebs-11]:\\mlxweb0161\Memory\Available MBytes
Pagetop[Ctmlswebs-11]: <H1>\\mlxweb0161\Memory\Available MBytes</H1>
MaxBytes[Ctmlswebs-11]: 100000
Options[Ctmlswebs-11]: gauge, nopercent
Target[Ctmlswebs-11]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Memory\Available MBytes"`
YLegend[Ctmlswebs-11]: Legend
ShortLegend[Ctmlswebs-11]:
LegendO[Ctmlswebs-11]:
LegendI[Ctmlswebs-11]:
Legend2[Ctmlswebs-11]:
Legend1[Ctmlswebs-11]:
Title[Ctmlswebs-12]:\\mlxweb0161\Network Interface(MS TCP Loopback interface)\Bytes Total/sec
Pagetop[Ctmlswebs-12]: <H1>\\mlxweb0161\Network Interface(MS TCP Loopback interface)\Bytes Total/sec</H1>
MaxBytes[Ctmlswebs-12]: 10000000
Options[Ctmlswebs-12]: gauge, nopercent
Target[Ctmlswebs-12]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Network Interface(MS TCP Loopback interface)\Bytes Total/sec"`
YLegend[Ctmlswebs-12]: Legend
ShortLegend[Ctmlswebs-12]:
LegendO[Ctmlswebs-12]:
LegendI[Ctmlswebs-12]:
Legend2[Ctmlswebs-12]:
Legend1[Ctmlswebs-12]:
Title[Ctmlswebs-13]:\\mlxweb0161\PhysicalDisk(0 C:)\% Disk Time
Pagetop[Ctmlswebs-13]: <H1>\\mlxweb0161\PhysicalDisk(0 C:)\% Disk Time</H1>
MaxBytes[Ctmlswebs-13]: 100000
Options[Ctmlswebs-13]: gauge, nopercent
Target[Ctmlswebs-13]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\PhysicalDisk(0 C:)\% Disk Time"`
YLegend[Ctmlswebs-13]: Legend
ShortLegend[Ctmlswebs-13]:
LegendO[Ctmlswebs-13]:
LegendI[Ctmlswebs-13]:
Legend2[Ctmlswebs-13]:
Legend1[Ctmlswebs-13]:
Title[Ctmlswebs-14]:\\mlxweb0161\PhysicalDisk(0 C:)\Avg. Disk Queue Length
Pagetop[Ctmlswebs-14]: <H1>\\mlxweb0161\PhysicalDisk(0 C:)\Avg. Disk Queue Length</H1>
MaxBytes[Ctmlswebs-14]: 100000
Options[Ctmlswebs-14]: gauge, nopercent
Target[Ctmlswebs-14]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\PhysicalDisk(0 C:)\Avg. Disk Queue Length"`
YLegend[Ctmlswebs-14]: Legend
ShortLegend[Ctmlswebs-14]:
LegendO[Ctmlswebs-14]:
LegendI[Ctmlswebs-14]:
Legend2[Ctmlswebs-14]:
Legend1[Ctmlswebs-14]:
Title[Ctmlswebs-15]:\\mlxweb0161\PhysicalDisk(1 E:)\% Disk Time
Pagetop[Ctmlswebs-15]: <H1>\\mlxweb0161\PhysicalDisk(1 E:)\% Disk Time</H1>
MaxBytes[Ctmlswebs-15]: 100000
Options[Ctmlswebs-15]: gauge, nopercent
Target[Ctmlswebs-15]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\PhysicalDisk(1 E:)\% Disk Time"`
YLegend[Ctmlswebs-15]: Legend
ShortLegend[Ctmlswebs-15]:
LegendO[Ctmlswebs-15]:
LegendI[Ctmlswebs-15]:
Legend2[Ctmlswebs-15]:
Legend1[Ctmlswebs-15]:
Title[Ctmlswebs-16]:\\mlxweb0161\PhysicalDisk(1 E:)\Avg. Disk Queue Length
Pagetop[Ctmlswebs-16]: <H1>\\mlxweb0161\PhysicalDisk(1 E:)\Avg. Disk Queue Length</H1>
MaxBytes[Ctmlswebs-16]: 100000
Options[Ctmlswebs-16]: gauge, nopercent
Target[Ctmlswebs-16]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\PhysicalDisk(1 E:)\Avg. Disk Queue Length"`
YLegend[Ctmlswebs-16]: Legend
ShortLegend[Ctmlswebs-16]:
LegendO[Ctmlswebs-16]:
LegendI[Ctmlswebs-16]:
Legend2[Ctmlswebs-16]:
Legend1[Ctmlswebs-16]:
Title[Ctmlswebs-17]:\\mlxweb0161\Process(w3wp)\% Processor Time
Pagetop[Ctmlswebs-17]: <H1>\\mlxweb0161\Process(w3wp)\% Processor Time</H1>
MaxBytes[Ctmlswebs-17]: 100000
Options[Ctmlswebs-17]: gauge, nopercent
Target[Ctmlswebs-17]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Process(w3wp)\% Processor Time"`
YLegend[Ctmlswebs-17]: Legend
ShortLegend[Ctmlswebs-17]:
LegendO[Ctmlswebs-17]:
LegendI[Ctmlswebs-17]:
Legend2[Ctmlswebs-17]:
Legend1[Ctmlswebs-17]:
Title[Ctmlswebs-18]:\\mlxweb0161\Process(w3wp)\Private Bytes
Pagetop[Ctmlswebs-18]: <H1>\\mlxweb0161\Process(w3wp)\Private Bytes</H1>
MaxBytes[Ctmlswebs-18]: 100000
Options[Ctmlswebs-18]: gauge, nopercent
Target[Ctmlswebs-18]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Process(w3wp)\Private Bytes"`
YLegend[Ctmlswebs-18]: Legend
ShortLegend[Ctmlswebs-18]:
LegendO[Ctmlswebs-18]:
LegendI[Ctmlswebs-18]:
Legend2[Ctmlswebs-18]:
Legend1[Ctmlswebs-18]:
Title[Ctmlswebs-19]:\\mlxweb0161\Process(w3wp)\Virtual Bytes
Pagetop[Ctmlswebs-19]: <H1>\\mlxweb0161\Process(w3wp)\Virtual Bytes</H1>
MaxBytes[Ctmlswebs-19]: 100000
Options[Ctmlswebs-19]: gauge, nopercent
Target[Ctmlswebs-19]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Process(w3wp)\Virtual Bytes"`
YLegend[Ctmlswebs-19]: Legend
ShortLegend[Ctmlswebs-19]:
LegendO[Ctmlswebs-19]:
LegendI[Ctmlswebs-19]:
Legend2[Ctmlswebs-19]:
Legend1[Ctmlswebs-19]:
Title[Ctmlswebs-20]:\\mlxweb0161\Processor(_Total)\% Processor Time
Pagetop[Ctmlswebs-20]: <H1>\\mlxweb0161\Processor(_Total)\% Processor Time</H1>
MaxBytes[Ctmlswebs-20]: 100000
Options[Ctmlswebs-20]: gauge, nopercent
Target[Ctmlswebs-20]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Processor(_Total)\% Processor Time"`
YLegend[Ctmlswebs-20]: Legend
ShortLegend[Ctmlswebs-20]:
LegendO[Ctmlswebs-20]:
LegendI[Ctmlswebs-20]:
Legend2[Ctmlswebs-20]:
Legend1[Ctmlswebs-20]:
Title[Ctmlswebs-21]:\\mlxweb0161\Web Service(_Total)\Get Requests/sec
Pagetop[Ctmlswebs-21]: <H1>\\mlxweb0161\Web Service(_Total)\Get Requests/sec</H1>
MaxBytes[Ctmlswebs-21]: 100000
Options[Ctmlswebs-21]: gauge, nopercent
Target[Ctmlswebs-21]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Web Service(_Total)\Get Requests/sec"`
YLegend[Ctmlswebs-21]: Legend
ShortLegend[Ctmlswebs-21]:
LegendO[Ctmlswebs-21]:
LegendI[Ctmlswebs-21]:
Legend2[Ctmlswebs-21]:
Legend1[Ctmlswebs-21]:
Title[Ctmlswebs-22]:\\mlxweb0161\Web Service(_Total)\Post Requests/sec
Pagetop[Ctmlswebs-22]: <H1>\\mlxweb0161\Web Service(_Total)\Post Requests/sec</H1>
MaxBytes[Ctmlswebs-22]: 100000
Options[Ctmlswebs-22]: gauge, nopercent
Target[Ctmlswebs-22]: `perl getlog.pl e:\perflogs\xxxxwebs.csv "\\mlxweb0161\Web Service(_Total)\Post Requests/sec"`
YLegend[Ctmlswebs-22]: Legend
ShortLegend[Ctmlswebs-22]:
LegendO[Ctmlswebs-22]:
LegendI[Ctmlswebs-22]:
Legend2[Ctmlswebs-22]:
Legend1[Ctmlswebs-22]: