File: bogart.conf

package info (click to toggle)
scotty 2.1.9-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 9,984 kB
  • ctags: 4,313
  • sloc: ansic: 35,946; sh: 12,591; tcl: 8,122; yacc: 2,442; makefile: 898; lex: 370
file content (40 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
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
#!/usr/local/bin/scotty -nf
## -*- tcl -*-
##

##
## Define some SNMP aliases. Note, the SNMP montoring jobs will only
## accept alias names and no host names. This simplifies the management
## of SNMP parameters.
##

snmp alias ciscobs "-address 134.169.2.1"
snmp alias rzts1   "-address 134.169.246.2"
snmp alias sulu	   "-address 134.169.34.3"
snmp alias orpheus "-address 134.169.34.21"

##
## Define lists of hosts that will be used to do the monitoring
## stuff.
##

set ntp		"ra sol sulu"
set icmp	"ra ciscobs.rz.tu-bs.de"
set snmp	"ciscobs rzts1 sulu orpheus"

##
## Start the monitoring jobs at the desired intervals.
##

foreach host $ntp {
    MonitorNtp $host 5
}

foreach host $icmp {
    MonitorIcmpRtt $host 300
}

foreach alias $snmp {
    MonitorSnmpScalars system $alias 86400
    MonitorSnmpScalars ip $alias 300
}