1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
|
#####################################################################
# Top-level defaults file for host performance monitoring with the
# Net-SNMP daemon (http://www.net-snmp.org/)
#
# Integrated into Cricket 1.0.4 on 28-mar-2002 by Bert Driehuis,
# with many changes.
#
# Based on this work:
# Started 12-16-99 by James Moore <jam@afn.org>
#
# Change Log :
# 28/01/2000 : UCD-SNMP OID's added
# : default datasource added
# : default graph added
# - Stuart Grimshaw <stuart.grimshaw@blackburn.gov.uk>
# 02-01-2000 : Changed OIDs for UCD load averages
# : Added graphs for ucd disk usage
# - James Moore
#
# To Do :
#
#####################################################################
target --default--
server = ""
snmp-host = %server%
display-name = "%auto-target-name% on %server%"
min-size = 0
max-size = undef
OID hrSystemNumUsers 1.3.6.1.2.1.25.1.5.0
OID hrSystemProcesses 1.3.6.1.2.1.25.1.6.0
OID hrStorageName 1.3.6.1.2.1.25.2.3.1.3
OID hrStorageSize 1.3.6.1.2.1.25.2.3.1.5
OID hrStorageUsed 1.3.6.1.2.1.25.2.3.1.6
# Load averages.
OID ucd_load1min 1.3.6.1.4.1.2021.10.1.3.1
OID ucd_load5min 1.3.6.1.4.1.2021.10.1.3.2
OID ucd_load15min 1.3.6.1.4.1.2021.10.1.3.3
# Memory stats
OID ucd_memswapAvail 1.3.6.1.4.1.2021.4.4.0
OID ucd_memrealAvail 1.3.6.1.4.1.2021.4.6.0
OID ucd_memtotalAvail 1.3.6.1.4.1.2021.4.11.0
# Disk stats (Don't forget the instance number...)
OID ucd_diskfree 1.3.6.1.4.1.2021.9.1.7
OID ucd_diskused 1.3.6.1.4.1.2021.9.1.8
OID ucd_diskpused 1.3.6.1.4.1.2021.9.1.9
# CPU Stats
OID ucd_cpuUser 1.3.6.1.4.1.2021.11.9.0
OID ucd_cpuSystem 1.3.6.1.4.1.2021.11.10.0
OID ucd_cpuIdle 1.3.6.1.4.1.2021.11.11.0
OID ucd_rawCpuUser 1.3.6.1.4.1.2021.11.50.0
OID ucd_rawCpuNice 1.3.6.1.4.1.2021.11.51.0
OID ucd_rawCpuSystem 1.3.6.1.4.1.2021.11.52.0
OID ucd_rawCpuIdle 1.3.6.1.4.1.2021.11.53.0
# Disk I/O
OID ucd_diskIODevice 1.3.6.1.4.1.2021.13.15.1.1.2
#OID ucd_diskIONRead 1.3.6.1.4.1.2021.13.15.1.1.3
#OID ucd_diskIONWrite 1.3.6.1.4.1.2021.13.15.1.1.4
OID ucd_diskIOReads 1.3.6.1.4.1.2021.13.15.1.1.5
OID ucd_diskIOWrites 1.3.6.1.4.1.2021.13.15.1.1.6
##### Datasources #########
datasource hrSystemNumUsers
ds-source = snmp://%snmp%/hrSystemNumUsers
rrd-ds-type = GAUGE
datasource hrSystemProcesses
ds-source = snmp://%snmp%/hrSystemProcesses.%inst%
rrd-ds-type = GAUGE
datasource hrStorageSize
ds-source = snmp://%snmp%/hrStorageSize.%inst%
rrd-ds-type = GAUGE
datasource hrStorageUsed
ds-source = snmp://%snmp%/hrStorageUsed.%inst%
rrd-ds-type = GAUGE
map hr-storage-name
base-oid = hrStorageName
match = %hr-storage-name%
datasource ucd_load1min
ds-source = snmp://%snmp%/ucd_load1min
rrd-ds-type = GAUGE
datasource ucd_load5min
ds-source = snmp://%snmp%/ucd_load5min
rrd-ds-type = GAUGE
datasource ucd_load15min
ds-source = snmp://%snmp%/ucd_load15min
rrd-ds-type = GAUGE
datasource ucd_memswapAvail
ds-source = snmp://%snmp%/ucd_memswapAvail
rrd-ds-type = GAUGE
datasource ucd_memrealAvail
ds-source = snmp://%snmp%/ucd_memrealAvail
rrd-ds-type = GAUGE
datasource ucd_memtotalAvail
ds-source = snmp://%snmp%/ucd_memtotalAvail
rrd-ds-type = GAUGE
datasource ucd_diskfree
ds-source = snmp://%snmp%/ucd_diskfree.%inst%
rrd-ds-type = GAUGE
datasource ucd_diskused
ds-source = snmp://%snmp%/ucd_diskused.%inst%
rrd-ds-type = GAUGE
datasource ucd_diskpused
ds-source = snmp://%snmp%/ucd_diskpused.%inst%
rrd-ds-type = GAUGE
datasource ucd_cpuUser
ds-source = snmp://%snmp%/ucd_cpuUser
rrd-ds-type = GAUGE
datasource ucd_cpuSystem
ds-source = snmp://%snmp%/ucd_cpuSystem
rrd-ds-type = GAUGE
datasource ucd_cpuIdle
ds-source = snmp://%snmp%/ucd_cpuIdle
rrd-ds-type = GAUGE
datasource ucd_rawCpuUser
ds-source = snmp://%snmp%/ucd_rawCpuUser
rrd-ds-type = DERIVE
datasource ucd_rawCpuNice
ds-source = snmp://%snmp%/ucd_rawCpuNice
rrd-ds-type = DERIVE
datasource ucd_rawCpuSystem
ds-source = snmp://%snmp%/ucd_rawCpuSystem
rrd-ds-type = DERIVE
datasource ucd_rawCpuIdle
ds-source = snmp://%snmp%/ucd_rawCpuIdle
rrd-ds-type = DERIVE
datasource ucd_diskIONRead
ds-source = snmp://%snmp%/ucd_diskIONRead.%inst%
rrd-ds-type = DERIVE
datasource ucd_diskIONWrite
ds-source = snmp://%snmp%/ucd_diskIONWrite.%inst%
rrd-ds-type = DERIVE
datasource ucd_diskIOReads
ds-source = snmp://%snmp%/ucd_diskIOReads.%inst%
rrd-ds-type = DERIVE
datasource ucd_diskIOWrites
ds-source = snmp://%snmp%/ucd_diskIOWrites.%inst%
rrd-ds-type = DERIVE
datasource ifInErrors
ds-source = snmp://%snmp%/ifInErrors.%inst%
datasource ifOutErrors
ds-source = snmp://%snmp%/ifOutErrors.%inst%
datasource ifInUcastPackets
ds-source = snmp://%snmp%/ifInUcastPkts.%inst%
datasource ifOutUcastPackets
ds-source = snmp://%snmp%/ifOutUcastPkts.%inst%
map ucd-diskio-device
base-oid = ucd_diskIODevice
match = %ucd-diskio-device%
#### Target Types #########
targetType hr_System
ds = "hrSystemProcesses, hrSystemNumUsers"
view = "Processes: hrSystemProcesses, Users: hrSystemNumUsers"
targetType hr_Storage
ds = "hrStorageUsed, hrStorageSize"
view = "Storage: hrStorageUsed"
targetType ucd_System
ds = "ucd_rawCpuUser, ucd_rawCpuNice, ucd_rawCpuSystem,
ucd_rawCpuIdle, ucd_memrealAvail, ucd_memswapAvail,
ucd_memtotalAvail, ucd_load1min, ucd_load5min, ucd_load15min"
view = "cpu: ucd_rawCpuUser ucd_rawCpuNice ucd_rawCpuSystem,
Memory: ucd_memrealAvail ucd_memswapAvail ucd_memtotalAvail,
Load: ucd_load1min ucd_load5min ucd_load15min"
targetType ucd_Storage
ds = "ucd_diskfree, ucd_diskused, ucd_diskpused"
view = "Storage: ucd_diskfree ucd_diskused,
Percent Used: ucd_diskpused"
targetType ucd_diskIO
ds = "ucd_diskIOReads, ucd_diskIOWrites"
view = "diskIO: ucd_diskIOReads ucd_diskIOWrites"
targetType ucd_diskIO_bsdi
ds = "ucd_diskIOReads"
view = "diskIO: ucd_diskIOReads"
targetType standard-interface
ds = "ifInOctets, ifOutOctets, ifInErrors,
ifOutErrors, ifInUcastPackets, ifOutUcastPackets"
view = "Octets: ifInOctets ifOutOctets,
UcastPackets: ifInUcastPackets ifOutUcastPackets,
Errors: ifInErrors ifOutErrors"
#### Graphs ###############
graph --default--
y-max = undef
width-hint = undef
height-hint = undef
graph ucd_memswapAvail
legend = "Available swap space"
scale = 1024,*
bytes = true
units = "bytes"
rrd-graph-args = --logarithmic
graph ucd_memrealAvail
legend = "Used RAM"
scale = 1024,*
bytes = true
units = "bytes"
graph ucd_memtotalAvail
legend = "Available RAM"
scale = 1024,*
bytes = true
units = "bytes"
graph ucd_load1min
legend = "1 Min Load Av"
si-units= false
graph ucd_load5min
legend = "5 Min Load Av"
si-units= false
graph ucd_load15min
legend = "15 Min Load Av"
si-units= false
graph hrSystemNumUsers
color = dark-green
draw-as = AREA
y-axis = "Users"
units = "Users"
legend = "# of Users"
precision = integer
graph hrSystemProcesses
color = dark-green
draw-as = AREA
y-axis = "Processes"
units = "Processes"
legend = "# of system Processes"
precision = integer
graph hrStorageUsed
draw-as = LINE1
y-axis = "Bytes used"
units = "Bytes"
legend = "Bytes of space used"
bytes = true
scale = %units%
#y-min = %min-size%
y-min = 1048576
y-max = %max-size%
height-hint = undef
width-hint = undef
rrd-graph-args = --logarithmic
graph ucd_diskfree
color = dark-green
draw-as = AREA
y-axis = "Bytes"
legend = "Bytes of space free"
bytes = true
y-max = %max-size%
y-min = 0
scale = 1024,*
graph ucd_diskused
color = red
draw-as = AREA
y-axis = "Bytes"
legend = "Bytes of space used"
bytes = true
y-max = %max-size%
y-min = 0
scale = 1024,*
graph ucd_diskpused
color = blue
draw-as = AREA
y-axis = "%"
units = "%"
legend = "Percent of space used"
graph ucd_cpuUser
draw-as = AREA
y-min = 0
y-max = 100
graph ucd_cpuSystem
draw-as = STACK
y-min = 0
y-max = 100
graph ucd_cpuIdle
draw-as = STACK
y-min = 0
y-max = 100
graph ucd_rawCpuUser
draw-as = AREA
y-min = 0
y-max = 100
graph ucd_rawCpuNice
draw-as = STACK
y-min = 0
y-max = 100
graph ucd_rawCpuSystem
draw-as = STACK
y-min = 0
y-max = 100
graph ucd_rawCpuIdle
draw-as = STACK
y-min = 0
y-max = 100
graph ifInUcastPackets
draw-as = AREA
y-axis = "packets per second"
units = "pkt/sec"
legend = "Average num Packets In"
graph ifOutUcastPackets
y-axis = "packets per second"
units = "pkt/sec"
legend = "Average num Packets Out"
graph ifInErrors
draw-as = AREA
y-axis = "errors per second"
units = "err/sec"
legend = "Average Errors In"
graph ifOutErrors
y-axis = "errors per second"
legend = "Average Errors Out"
units = "err/sec"
|