/[cricket]/uptime/Defaults
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 /uptime/Defaults

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat May 17 22:57:40 2003 UTC (16 years, 5 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -2 lines
target file changes

1 #
2 # CPU load and resources via ruptime or ssh and uptime
3 # by Dobrica Pavlinusic 2002-2003
4 # by Clifton Royston Dec 1 2000, based on SNMP CPU load and resources
5 # by Mark S. Krenz September 20, 1999
6 #
7 Target --default--
8 directory-desc = "Server uptime info (CPU load, users)"
9 short-desc = "Server uptime"
10 host = ""
11 ssh = ""
12 util-dir = /data/cricket/
13
14 #OID ucdavis_laLoad 1.3.6.1.4.1.2021.10.1.5
15 #OID cmu_loadAvg1 1.3.6.1.4.1.1575.1.5.2.3.0
16 #OID cmu_loadAvg5 1.3.6.1.4.1.1575.1.5.2.4.0
17 #OID host_hrSystemNumUsers 1.3.6.1.2.1.25.1.5.0
18 #OID host_hrSystemProcesses 1.3.6.1.2.1.25.1.6.0
19
20
21 dataSource --default--
22 rrd-ds-type = GAUGE
23 rrd-heartbeat = 1800
24
25 dataSource laLoad-1
26 ds-source = "exec:0:%util-dir%/getload %host% %ssh%"
27
28 dataSource laLoad-5
29 ds-source = "exec:1:%util-dir%/getload %host% %ssh%"
30
31 dataSource laLoad-15
32 ds-source = "exec:2:%util-dir%/getload %host% %ssh%"
33
34 dataSource hrSystemNumUsers
35 ds-source = "exec:3:%util-dir%/getload %host% %ssh%"
36
37
38 graph laLoad-1
39 color = green
40 draw-as = AREA
41 legend = "1 minute cpuload"
42 y-axis = "CPU-load"
43 units = ""
44
45 graph laLoad-5
46 color = red
47 draw-as = LINE2
48 legend = "5 minute cpuload"
49 y-axis = "CPU-load"
50 units = ""
51
52 graph laLoad-15
53 color = blue
54 draw-as = LINE1
55 legend = "15 minute cpuload"
56 y-axis = "CPU-load"
57 units = ""
58
59 graph hrSystemNumUsers
60 precision = 0
61 color = blue
62 draw-as = LINE3
63 legend = "users logged in"
64 y-axis = "users"
65 units = "users"
66
67 targetType cpuload
68 ds = "laLoad-1, laLoad-5, laLoad-15"
69 view = "CPU Load: laLoad-1 laLoad-5 laLoad-15"
70
71 targetType users
72 ds = "hrSystemNumUsers"
73 view = "Number Users: hrSystemNumUsers"
74
75 # html page-header
76 # <img src="images/logo.gif" align=left>
77 # <h1>%auto-title%: %host%</h1>
78 # <h2>%short-desc%</h2>
79 # <br clear=left>

  ViewVC Help
Powered by ViewVC 1.1.26