[mrtg] Re: Problems in monitoring CPU of win2K server

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Fri Nov 14 10:01:28 MET 2003


Get the snmpdata directly from the node (with snmpget for instance) and
check if this give you the numbers you expect.

-----Original Message-----
From: Sandro Petrizzelli [mailto:s.petrizzelli at tno.it] 
Sent: Friday, November 14, 2003 9:52 AM
To: Koelstra, J. (Jan)
Cc: mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Problems in monitoring CPU of win2K server


Jan,

thank you for your fast reply.

In the error log file that I use, I have no errors about the monitored
CPU. Moreover, I monitor other objects in the same server (virtual
memory, disk utilization, number of processes, number of users) and
everything works well. It seems that the configuration is good for the
daemon, but results only for the CPU are clearly not true.

Any other suggestion?

Sandro



-----Original Message-----
From: Koelstra, J. (Jan) [mailto:JKoelstra at minszw.nl]
Sent: Friday, November 14, 2003 9:43 AM
To: Sandro Petrizzelli; mrtg at list.ee.ethz.ch
Subject: RE: [mrtg] Problems in monitoring CPU of win2K server


Sandro,

First have a look at what error MRTG generates.
One thing that need a change is the targetline: A space is needed
between "Target[kmline_cpu]:" and the rest of the line.

Hth,

Jan.

-----Original Message-----
From: Sandro Petrizzelli [mailto:s.petrizzelli at tno.it]
Sent: Friday, November 14, 2003 9:11 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Problems in monitoring CPU of win2K server


Dear all,

i'm new in the mailing list.

My problem: I want to monitor the CPU usage of my Win2k Server. I have
seen many previous messages in the mailing list and many documents in
Internet and they helped my to built the following configuration on my
mrtg.cfg file:

Target[kmline_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:p
ubli
c at IP_my_server
MaxBytes[kmline_cpu]: 100
Options[kmline_cpu]:  integer, gauge, growright
Directory[kmline_cpu]: kmline
WithPeak[kmline_cpu]: wmy
YLegend[kmline_cpu]: % Utilization
ShortLegend[kmline_cpu]: %
Title[kmline_cpu]: KMLINE CPU usage
PageTop[kmline_cpu]: <H1>KMLINE Processor Load</H1>
 <TABLE>
    <TR><TD>System:</TD>     <TD>KMLINE</TD></TR>
    <TR><TD>Location: Sala CED</TD><TD> </TD></TR>
 </TABLE>

The problem is that resulting graphs show a CPU statically at 1%, also
when I stress the server in order to have the CPU at near 50% for 30-40
minutes.

Can anyone tell me what could be the problem?

Thank in advance

Best Regards

Sandro

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



Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke
aansprakelijkheid uit in verband met het niet juist, onvolledig of niet
tijdig overkomen van de informatie in deze e-mail. Aan dit bericht
kunnen geen rechten worden ontleend.

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht
niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te
melden en de inhoud van het bericht te vernietigen.
------------------------------------------------------------------------
----
------------------------------------------------------------------------
----
------------------------------------------------------------------
The ministry of Social Affairs and Employment is not liable for any
incorrect or incomplete transmission of the information in this e-mail
or for any delay in its receipt. This message shall not constitute any
obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately
and delete its content.

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



More information about the mrtg mailing list