[mrtg] Re: memory on w2k server

Elmar van Mourik e.vanmourik at zhew.nl
Wed Jan 29 08:37:44 MET 2003

I've created some scripts which I call from the mrtg config file.
In that case, all the data will be stored within mrtg/rrdtool.
For my system monitoring I only use some custom counters

A part of the MRTG-config file:
# Make stats on number of messges and files scanned
Target[mail-msg]: `/usr/local/bin/chk-viruswall smtp voet` 
MaxBytes[mail-msg]: 2000
Options[mail-msg]: growright,perminute,nopercent  
Title[mail-msg]: SMTP messages & files processed
PageTop[mail-msg]: <H1>SMTP Message Stats for Voet</H1> 
ShortLegend[mail-msg]: p/min 
YLegend[mail-msg]: Msg/Files p/m
LegendI[mail-msg]: Msgs:
LegendO[mail-msg]: Files:

A part of the script chk-viruswall:
# Replace these variables with the correspondig values for your system

# Exe is the location of the check_nt file from the NSclient archive
# clientPwd is the password you set in Registry on the NT client
# CPort = Default is 1248.


# Get stats for number of messages sent/recvd.
if [ $2 = "msg" ]; then
 $Exe -H $1 -p $CPort -s $ClientPwd -v COUNTER -l "\\InterScan E-Mail
Viruswall\\Inbound messages processed","%.f"
 $Exe -H $1 -p $CPort -s $ClientPwd -v COUNTER -l "\\InterScan E-Mail
Viruswall\\Outbound messages processed","%.f"
 $Exe -H $1 -p $CPort -s $ClientPwd -v UPTIME
 echo $3

For more information, take a look at Thomas Nilsen's website:

Elmar van Mourik
System- & Networkadministrator ZHEW

-----Oorspronkelijk bericht-----
Van: Sander Foppen [mailto:zjwoelle at hotmail.com]
Verzonden: dinsdag 28 januari 2003 17:15
Aan: 'Elmar van Mourik'; mrtg at list.ee.ethz.ch
Onderwerp: RE: [mrtg] memory on w2k server

This looks like a promising solution. I've installed the service, and
then I'm lost.

To monitor the CPU load, I need the following command:
./check_nt -H -p 1248 -v CPULOAD -l

Stupid question number 1: where do I execute this line?
Stupid question number 2: where is the collected data stored and in what

-----Original Message-----
From: Elmar van Mourik [mailto:e.vanmourik at zhew.nl] 
Sent: dinsdag 28 januari 2003 12:21
To: 'Sander Foppen'
Subject: RE: [mrtg] memory on w2k server

Hi Sander,

I'm using NSClient (http://nsclient.ready2run.nl/index.htm) on some
servers to collect data in MRTG.
It's very easy to use any performence monitor counter you like.

Elmar van Mourik
System- & Networkadministrator ZHEW

-----Oorspronkelijk bericht-----
Van: Sander Foppen [mailto:zjwoelle at hotmail.com]
Verzonden: dinsdag 28 januari 2003 10:57
Aan: mrtg at list.ee.ethz.ch
Onderwerp: [mrtg] memory on w2k server

I want to monitor the used and free memory on my w2k servers.

At this moment I'm using Win NT OID's 

But I don't get a value back for this OID. Does anyone know how to get
the memory?

  Sander Foppen

Door de electronische verzending van het bericht kunnen er geen rechten
ontleend worden aan de informatie. Als u deze e-mail onterecht heeft
ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder
de gegevens van de computer. 

Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht 
tel: +31 (0)78 6397100 
fax: +31 (0)78 6311871 
web: http://www.zhew.nl

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