|
From: McNutt, S. <Ste...@ah...> - 2000-12-19 16:57:25
|
You have a couple of options, none of them pretty.
First off, the base MS SNMP agent is not going to give you very much. some
network interface stats, operating system version, some LANMAN stuff, that's
about it.
For disk/cpu/filesystem type stuff the easiest thing to do is use third
party SNMP extensions. Most commerically manufactured servers (Compaq, IBM,
HP etc) come with extenstions which can be loaded onto the box. If you have
home brew boxes or machines where the vendor did not provide an SNMP agent
extension for you, you can try some from another vendor.
Now the hard/crappy way. There is an NT reskit utility called perf to mib
that can be used to compille perfmon counters into the mib tree of the base
agent. it's a painful and ugly solution that does not scale well, produces
inaccurate numbers, and does not support multiple CPUs. Some people use it
anyway.
After you've got your perf to mib stuff set up or your agent extensions
loaded, you are going to have to build up your own data dictionaries from
scratch. I'll include some excerpts from my dictionaries for Compaq Servers
to give you an idea.
HTH,
-s
Target --default--
rrd-datafile = %dataDir%/%auto-target-name%-%inst%.rrd
cpqserver = %auto-target-name%
snmp-host = %cpqserver%
snmp-community = public
OID cpqHoCpuUtilFiveMin0 1.3.6.1.4.1.232.11.2.3.1.1.3.0
OID cpqHoCpuUtilFiveMin1 1.3.6.1.4.1.232.11.2.3.1.1.3.1
OID cpqHoFileSysSpaceUsed0 1.3.6.1.4.1.232.11.2.4.1.1.4.0
OID cpqHoFileSysSpaceUsed1 1.3.6.1.4.1.232.11.2.4.1.1.4.1
datasource cpu5min0 ds-source =
snmp://%snmp%/cpqHoCpuUtilFiveMin0
datasource cpu5min1 ds-source =
snmp://%snmp%/cpqHoCpuUtilFiveMin1
datasource DASDUsed0 ds-source =
snmp://%snmp%/cpqHoFileSysSpaceUsed0
datasource DASDUsed1 ds-source =
snmp://%snmp%/cpqHoFileSysSpaceUsed1
graph cpu5min0
units = "%"
y-axis = "CPU Percent CPU utilization"
legend = "CPU 0, 5 minute CPU utilization"
# fixed y-axis, since this is a percentage
y-min = 0
y-max = 100
graph cpu5min1
units = "%"
y-axis = "CPU Percent CPU utilization"
legend = "CPU 1, 5 minute CPU utilization"
# fixed y-axis, since this is a percentage
y-min = 0
y-max = 100
graph DASDUsed0
bytes = 1
si-units = false
draw-as = LINE3
y-axis = "MegaBytes"
legend = "Disk 0 Space Used"
graph DASDUsed1
bytes = 1
si-units = false
draw-as = LINE3
y-axis = "MegaBytes"
legend = "Disk 1 Space Us
-----Original Message-----
From: tom...@au...
[mailto:tom...@au...]
Sent: Tuesday, December 19, 2000 11:07 AM
To: dri...@pl...; cri...@li...
Subject: RE: [cricket-users] Example Config
I looked in the Contrib. section, I didn't see anything about monitoring NT
servers.
-----Original Message-----
From: Bert Driehuis [ mailto:dri...@pl...
<mailto:dri...@pl...> ]
Sent: Monday, December 18, 2000 5:01 PM
To: cri...@li...
Subject: Re: [cricket-users] Example Config
On Mon, 18 Dec 2000 tom...@au... wrote:
> Could someone send me an example of a Defaults and target file for
> monitoring NT CPU/DISK/Network etc.? I have been looking through the
> archives but didn't find anything... .
Check out the contrib web site. I think there's some info there.
Cheers,
-- Bert
Bert Driehuis -- dri...@pl... -- +31-20-3116119
If the only tool you've got is an axe, every problem looks like fun!
_______________________________________________
cricket-users mailing list
cri...@li...
http://lists.sourceforge.net/mailman/listinfo/cricket-users
<http://lists.sourceforge.net/mailman/listinfo/cricket-users>
|