Windows mrtg config
From INIwiki
Some of examples how to monitor cpu , memory , Disk usage. The examples below are very specific to my installation but can work for any install with just a few tweaks, Mainly snmp access information and changing the IP addresses to your local desired ones.
[edit] Windows Server Specific Monitoring
CPU Load, System Process Info, User Session Info, Established TCP Connections, New TCP Connections)
Source: http://www.syslog.gr/content/view/10/2/
# File: # # Configuration file for non bandwidth 0.50 statistics # # # Define global options # LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt WorkDir: /var/www/html/mrtg ###################################################################### # System: INIDC01 # Description: Hardware: x86 Family 15 Model 2 Stepping 9 AT/AT COMPATIBLE - # Software: Windows 2003 Version 5.0 (Build 2195 Multiprocessor Free) # Contact: # Location: ###################################################################### # # CPU Load Monitoring # #Target[0.50.cpu]: ( .1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.1:iniro@192.168.0.50 ) / 1 Target[0.50.cpu]: ( .1.3.6.1.2.1.25.3.3.1.2.2&.1.3.6.1.2.1.25.3.3.1.2.2:iniro@192.168.0.50 .1.3.6.1.2.1.25.3.3.1.2.3&.1.3.6.1.2.1.25.3.3.1.2.3:iniro@192.168.0.50 ) / 2 Title[0.50.cpu]: Server CPU Load PageTop[0.50.cpu]: <H1>CPU Load - System</H1> MaxBytes[0.50.cpu]: 100 ShortLegend[0.50.cpu]: % YLegend[0.50.cpu]: CPU Utilization Legend1[0.50.cpu]: Current CPU percentage load LegendI[0.50.cpu]: Used LegendO[0.50.cpu]: Options[0.50.cpu]: growright,nopercent,gauge Unscaled[0.50.cpu]: ymwd # # System Processes Info # Target[0.50.processes]: .1.3.6.1.2.1.25.1.6.0&.1.3.6.1.2.1.25.1.6.0:iniro@192.168.0.50 ## Target[0.50.processes]: hrSystemProcesses.0&hrSystemProcesses.0:iniro@192.168.0.50 Title[0.50.processes]: Current Processes Running PageTop[0.50.processes]: <H1>Current Processes Running</H1> MaxBytes[0.50.processes]: 1000 ShortLegend[0.50.processes]: procs YLegend[0.50.processes]: Current Processes Running Legend1[0.50.processes]: Processes LegendI[0.50.processes]: Running LegendO[0.50.processes]: Options[0.50.processes]: growright,nopercent,gauge # # User Sessions Info # Target[0.50.users]: .1.3.6.1.2.1.25.1.5.0&.1.3.6.1.2.1.25.1.5.0:iniro@192.168.0.50 ## Target[0.50.users]: hrSystemNumUsers.0&hrSystemNumUsers.0:iniro@192.168.0.50 Title[0.50.users]: Current Users Sessions PageTop[0.50.users]: <H1>Current Users Sessions</H1> MaxBytes[0.50.users]: 10000 ShortLegend[0.50.users]: Sessions YLegend[0.50.users]: Current Users Sessions Legend1[0.50.users]: Users Sessions LegendI[0.50.users]: Sessions LegendO[0.50.users]: Options[0.50.users]: growright,nopercent,gauge # # Established TCP Connections # Target[0.50.connections]: tcpCurrEstab.0&tcpCurrEstab.0:iniro@192.168.0.50 Title[0.50.connections]: Currently Established TCP Connections PageTop[0.50.connections]: <H1>Established TCP Connections</H1> MaxBytes[0.50.connections]: 10000000000 ShortLegend[0.50.connections]: c/s YLegend[0.50.connections]: Connections LegendI[0.50.connections]: In LegendO[0.50.connections]: Legend1[0.50.connections]: Established connections Legend2[0.50.connections]: Options[0.50.connections]: growright,nopercent,gauge # # New TCP Connection Monitoring (per minute) # Target[0.50.newconns]: tcpPassiveOpens.0&tcpActiveOpens.0:iniro@192.168.0.50 Title[0.50.newconns]: Newly Created TCP Connections PageTop[0.50.newconns]: <H1>New TCP Connections</H1> MaxBytes[0.50.newconns]: 10000000000 ShortLegend[0.50.newconns]: c/s YLegend[0.50.newconns]: Conns / Min LegendI[0.50.newconns]: In LegendO[0.50.newconns]: Out Legend1[0.50.newconns]: New inbound connections Legend2[0.50.newconns]: New outbound connections Options[0.50.newconns]: growright,nopercent,perminute
[edit] Reference:
SNMP Install