root/resmon.conf.sample

Revision 562babdb752cd8df1de4e53d6c95a1c51e5bcdcd, 1.8 kB (checked in by Mark Harrison <mark@omniti.com>, 5 years ago)

Slight change to the sample config file.

We don't have many modules yet to actually use in the sample config, so I just
commented out most of the old style checks and fully qualify the resmon check
name.

git-svn-id: https://labs.omniti.com/resmon/branches/resmon2@290 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

  • Property mode set to 100755
Line 
1 INTERVAL 60;
2 PORT 81;
3 STATUSFILE /var/run/resmon-status.txt;
4 TIMEOUT 10;
5
6 # Resmon health check. Shows the hostname, svn revision, and any problems with
7 # modules or the configuration file.
8 Core::Resmon {
9   resmon : noop
10 }
11 # The following checks are old style resmon and need updating
12 #LOGFILE {
13 #  # Oracle alert file (look for ORA- lines)
14 #  /usr/app/oracle/admin/DWP1/bdump/alert_QLP1.log : match => ORA-
15 #}
16 #TCPSERVICE {
17 #  ssh : host => 127.0.0.1, port => 22, timeout => 2
18 #}
19 #NETSTAT {
20 #  oracle-listener    : localport => 1521, state => LISTEN, atleast => 1
21 #  www1-dbconnections : localport => 1521, remoteip => 10.0.0.81, atleast => 2, limit => 50
22 #  www2-dbconnections : localport => 1521, remoteip => 10.0.0.82, atleast => 2, limit => 50
23 #  www3-dbconnections : localport => 1521, remoteip => 10.0.0.83, atleast => 2, limit => 50
24 #  www4-dbconnections : localport => 1521, remoteip => 10.0.0.84, atleast => 2, limit => 50
25 #  www5-dbconnections : localport => 1521, remoteip => 10.0.0.85, atleast => 2, limit => 50
26 #}
27 #A1000 {
28 #  fa000_001                            : status => Optimal
29 #  ag028_003                            : status => Optimal
30 #  fd032_002                            : status => Optimal
31 #}
32 #DISK {
33 #  /data1                               : limit => 95%, warnat => 70%
34 #  /data2                               : limit => 95%, warnat => 70%
35 #  /data3                               : limit => 95%, warnat => 70%
36 #  /data/oradata/QLP2/statspack01       : limit => 95%
37 #  /data/oradata/QLP2/redo01            : limit => 95%
38 #  /data/oradata/QLP2/redo03            : limit => 95%
39 #  /data/oradata/QLP2/redo04            : limit => 95%
40 #  /data/oradata/QLP2/tools01           : limit => 95%
41 #  /data/oradata/QLP2/redo02            : limit => 95%
42 #  /data/oradata/QLP2/users01           : limit => 95%
43 #  /data/oradata/QLP2/temp01            : limit => 95%
44 #  /data/oradata/QLP2/data01            : limit => 95%
45 #  /data/oradata/QLP2/index01           : limit => 95%
46 #  /data/oradata/QLP2/system01          : limit => 95%
47 #  /data/oradata/QLP2/arch01            : limit => 95%
48 #  /data/oradata/QLP2/rbs01             : limit => 95%
49 #}
Note: See TracBrowser for help on using the browser.