1. The port number is probably the default.  The OID depends on what you want 
to monitor: if you want network statistics, then MRTG will do this 
automatically.  The community string should be provided to you by whoever 
configured and maintains SNMP on the device you are monitoring.
2. Depends on the OS you are monitoring
2.2, 2.3 these OIDs actually change depending on how many storage devices are 
attached
2.4 With SNMP, these come in the standard location and MRTG can monitor them 
directly

We use the nsclient agent under windows and the mrtg-pnsclient.pl script to 
query it instead of using SNMP, its easier and possibly more secure.

I suggest you concentrate first on making it work with just network traffic, 
and probably on network switches and routers, before trying to monitor hosts 
and other host-related metrics.  These require not only more complex 
configuration to obtain the data but also you have to do other additional 
configuration in the labels etc.

Try to get it working in the simplest case (network traffic) first before 
trying to do server monitoring

Also read the MRTG configuration reference on 
www.mrtg.org<http://www.mrtg.org/> for more understanding of the Target[] 
definition.

Steve

________________________________
From: Edward Leung [mailto:[EMAIL PROTECTED]
Sent: Monday, 18 August 2008 15:38
To: [email protected]
Subject: Re: [mrtg] How to setup the mrtg for monitoring more things

Dear You,

I just installed the mrtg and perl with a Windows Server 2000 machine...

BUT there is my big problem as the following :

1, Would you mind to tell me how can we to find out the SNMP port number,
SNMPOID and read-only SNMP community string of the devices / hardwares ?

2, How to setup the mrtg for measuring ( monitoring ) the following hardware 
usage percentage ( Windows OS also )?
2.1 CPU usage persentage.
2.2 Hard Disk usage persentage [ Total ( Read / Write ), Read, Write].
2.3 Ram ( Memory ) usage persentage [ Available MB, Page/sec ].
2.4 Network INT usage persentage [ Total ( Packets/sec ), Packets Received/sec, 
Packets Sent/sec].

So, is there the sample config ( CPU, HD, Ram and Network INT ) for reference ?

Many thanks for your help !

Edward.
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to