/[cricket]/w2k/Default
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /w2k/Default

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Wed Sep 11 16:47:40 2002 UTC (21 years, 6 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
monitor Windows 2000 boxes using SNMP

1 # This is mostly based on information from
2 # http://www.grzyby.pl/monitor/windows2000.htm
3 #
4 Target --default--
5 rrd-datafile = %dataDir%/%auto-target-name%.rrd
6 target-type = w2k
7
8 snmp-host = %auto-target-name%
9 snmp-community = public
10
11 # Compaq MIB -- probably wrong! [I got it from web, but it doesn't work for me]
12 #OID cpqHoCpuUtilFiveMin0 1.3.6.1.4.1.232.11.2.3.1.1.3.0
13 #OID cpqHoCpuUtilFiveMin1 1.3.6.1.4.1.232.11.2.3.1.1.3.1
14 #OID cpqHoFileSysSpaceUsed0 1.3.6.1.4.1.232.11.2.4.1.1.4.0
15 #OID cpqHoFileSysSpaceUsed1 1.3.6.1.4.1.232.11.2.4.1.1.4.1
16
17 # standard Windows 2000 SNMP MIB
18
19 # host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1
20 OID hrProcessorLoad1 1.3.6.1.2.1.25.3.3.1.2.1
21 # host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.2
22 OID hrProcessorLoad2 1.3.6.1.2.1.25.3.3.1.2.2
23
24 # host.hrSystem.hrSystemNumUsers
25 OID hrSystemNumUsers 1.3.6.1.2.1.25.1.5.0
26 # host.hrSystem.hrSystemProcesses.0
27 OID hrSystemProcesses 1.3.6.1.2.1.25.1.6.0
28
29 datasource --default--
30 rrd-ds-type = GAUGE
31 rrd-heartbeat = 1800
32 precision = integer
33
34 datasource cpu1
35 ds-source = snmp://%snmp%/hrProcessorLoad1
36
37 datasource cpu2
38 ds-source = snmp://%snmp%/hrProcessorLoad2
39
40 datasource users
41 ds-source = snmp://%snmp%/hrSystemNumUsers
42
43 datasource proc
44 ds-source = snmp://%snmp%/hrSystemProcesses
45
46 graph cpu1
47 units = "%"
48 y-axis = "CPU Percent CPU utilization"
49 # legend = "The average, over the last minute, of the percentage of time that this processor was not idle"
50 # fixed y-axis, since this is a percentage
51 # y-min = 0
52 # y-max = 100
53 scale 100,*
54
55 graph cpu2
56 units = "%"
57 y-axis = "CPU Percent CPU utilization"
58 # legend = "The average, over the last minute, of the percentage of time that this processor was not idle"
59 # fixed y-axis, since this is a percentage
60 # y-min = 0
61 # y-max = 100
62 scale 100,*
63
64 graph users
65 bytes = 1
66 si-units = false
67 draw-as = LINE3
68 # legend = "The number of process contexts currently loaded or running on this system"
69
70 graph proc
71 bytes = 1
72 si-units = false
73 draw-as = LINE3
74 # legend = "The number of user sessions for which this host is storing state information"
75
76 #graph DASDUsed0
77 # bytes = 1
78 # si-units = false
79 # draw-as = LINE3
80 # y-axis = "MegaBytes"
81 # legend = "Disk 0 Space Used"
82 #graph DASDUsed1
83 # bytes = 1
84 # si-units = false
85 # draw-as = LINE3
86 # y-axis = "MegaBytes"
87 # legend = "Disk 1 Space Us
88
89 targetType w2k
90 ds = "cpu1, cpu2, users, proc"
91 view = "cpu: cpu1 cpu2, users: users, proc: proc"
92

  ViewVC Help
Powered by ViewVC 1.1.26