[mrtg] Using MRTG for Windows 2003

EDV Service Dregger - Support Support at e-s-d.info
Sun Aug 21 14:03:05 MEST 2005

Hello list!

After a few weeks on trying to analyse a windows 2003 server i now try to ask you for help.

I´m trying to find a way for monitoring several parameters of windows 2003 servers and i learnd a lot in this time, but there are still some open questions: When ist the implemented snmp support in windows powerfull enough and when do i need something additional like snmp4w2k? I just want to log the following things:

- cpu usage
- memory usage
- free disk space
- current connections
- nic traffic
- uptime???

Starting with cpu usage i have already a problem: in my testing area i use a windows 2000 server with active perl and mrtg 2.12.2 on it to monitor the server it self and two windows 2003 servers. I think that both 2003 servers are configured in the same way (okay, one of them has an installed exchange 2003 server) but only one of them allows me see to see the cpu load. Other parameters like nic traffic can be queried from both systems..... I don´t understand why it is so, can anybody explane me? By the way, in the moment i only have the oids to query two cpus, what about a dual cpu system with enabled hyperthreading support? How to query the additional two logical cpus? This ist he mrtg.cfg part i actualy use:

### CPU Auslastung DSG-NT-01_CPU1
Target[DSG-NT-01_CPU1]: . at
MaxBytes[DSG-NT-01_CPU1]: 100 
Title[DSG-NT-01_CPU1]: CPU Auslastung DSG-NT-01 - CPU1 (Durchschnitt) 
PageTop[DSG-NT-01_CPU1]: <H1>CPU Auslastung DSG-NT-01 - CPU-1</H1>
Options[DSG-NT-01_CPU1]: gauge,nopercent, noo, unknaszero, growright
YLegend[DSG-NT-01_CPU1]: Utilisation CPU (%) 
ShortLegend[DSG-NT-01_CPU1]: % 
Colours[DSG-NT-01_CPU1]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[DSG-NT-01_CPU1]: CPU Utilisation
Unscaled[DSG-NT-01_CPU1]: ymwd

### CPU Auslastung DSG-NT-01_CPU2
Target[DSG-NT-01_CPU2]: . at
MaxBytes[DSG-NT-01_CPU2]: 100 
Title[DSG-NT-01_CPU2]: CPU Auslastung DSG-NT-01 - CPU2 (Durchschnitt) 
PageTop[DSG-NT-01_CPU2]: <H1>CPU Auslastung DSG-NT-01 - CPU-2</H1>
Options[DSG-NT-01_CPU2]: gauge,nopercent, noo, unknaszero, growright
YLegend[DSG-NT-01_CPU2]: Utilisation CPU-2 (%) 
ShortLegend[DSG-NT-01_CPU2]: % 
Colours[DSG-NT-01_CPU2]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[DSG-NT-01_CPU2]: CPU Utilisation
Unscaled[DSG-NT-01_CPU2]: ymwd

### CPU Auslastung DSG-NT-02_CPU1
Target[DSG-NT-02_CPU1]: . at
MaxBytes[DSG-NT-02_CPU1]: 100 
Title[DSG-NT-02_CPU1]: CPU Auslastung DSG-NT-02 - CPU1 (Durchschnitt) 
PageTop[DSG-NT-02_CPU1]: <H1>CPU Auslastung DSG-NT-02 - CPU-1</H1>
Options[DSG-NT-02_CPU1]: gauge,nopercent, noo, unknaszero, growright
YLegend[DSG-NT-02_CPU1]: Utilisation CPU (%) 
ShortLegend[DSG-NT-02_CPU1]: % 
Colours[DSG-NT-02_CPU1]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[DSG-NT-02_CPU1]: CPU Utilisation
Unscaled[DSG-NT-02_CPU1]: ymwd

### CPU Auslastung DSG-NT-02_CPU2
Target[DSG-NT-02_CPU2]: . at
MaxBytes[DSG-NT-02_CPU2]: 100 
Title[DSG-NT-02_CPU2]: CPU Auslastung DSG-NT-02 - CPU2 (Durchschnitt) 
PageTop[DSG-NT-02_CPU2]: <H1>CPU Auslastung DSG-NT-02 - CPU-2</H1>
Options[DSG-NT-02_CPU2]: gauge,nopercent, noo, unknaszero, growright
YLegend[DSG-NT-02_CPU2]: Utilisation CPU-2 (%) 
ShortLegend[DSG-NT-02_CPU2]: % 
Colours[DSG-NT-02_CPU2]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[DSG-NT-02_CPU2]: CPU Utilisation
Unscaled[DSG-NT-02_CPU2]: ymwd

### CPU Auslastung DSG-NT-03_CPU1
Target[DSG-NT-03_CPU1]: . at
MaxBytes[DSG-NT-03_CPU1]: 100 
Title[DSG-NT-03_CPU1]: CPU Auslastung DSG-NT-03 - CPU1 (Durchschnitt) 
PageTop[DSG-NT-03_CPU1]: <H1>CPU Auslastung DSG-NT-03 - CPU-1</H1>
Options[DSG-NT-03_CPU1]: gauge,nopercent, noo, unknaszero, growright
YLegend[DSG-NT-03_CPU1]: Utilisation CPU (%) 
ShortLegend[DSG-NT-03_CPU1]: % 
Colours[DSG-NT-03_CPU1]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[DSG-NT-03_CPU1]: CPU Utilisation
Unscaled[DSG-NT-03_CPU1]: ymwd

### CPU Auslastung DSG-NT-03_CPU2
Target[DSG-NT-03_CPU2]: . at
MaxBytes[DSG-NT-03_CPU2]: 100 
Title[DSG-NT-03_CPU2]: CPU Auslastung DSG-NT-03 - CPU2 (Durchschnitt) 
PageTop[DSG-NT-03_CPU2]: <H1>CPU Auslastung DSG-NT-03 - CPU-2</H1>
Options[DSG-NT-03_CPU2]: gauge,nopercent, noo, unknaszero, growright
YLegend[DSG-NT-03_CPU2]: Utilisation CPU-2 (%) 
ShortLegend[DSG-NT-03_CPU2]: % 
Colours[DSG-NT-03_CPU2]: GREEN#00eb0c,BLUE#1000ff,BLUE#1000ff,VIOLET#ff00ff
Legend1[DSG-NT-03_CPU2]: CPU Utilisation
Unscaled[DSG-NT-03_CPU2]: ymwd

As you can see, the three servers are called dsg-nt-01 (running under windows 2003), dsg-nt-02 (running under windows 2003)and dsg-nt-03 (running under windows 2000), NT-02 and NT-03 report there actual cpu load, nt-01 doesn´t. In the windows eventlog which is used for logging i found the following information:

Received SNMP response with error code
  error status: noSuchName
  index 1 (OID:
SNMPv1_Session (remote host: "" [].161)
                  community: "MRTG"
                 request ID: 537701672
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at d:/programme/mrtg/bin\..\lib\mrtg2/SNMP_util.pm line 49

I realy hope that i gave you enough informations to help me in this first Stepp to become mrtg running as i want it.

Best regards from germany

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list