root/resmon.conf.sample

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

Implement a timeout for sluggish checks

git-svn-id: https://labs.omniti.com/resmon/trunk@153 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 RESMON {
9   resmon : noop
10 }
11 LOGFILE {
12   # Oracle alert file (look for ORA- lines)
13   /usr/app/oracle/admin/DWP1/bdump/alert_QLP1.log : match => ORA-
14 }
15 TCPSERVICE {
16   ssh : host => 127.0.0.1, port => 22, timeout => 2
17 }
18 NETSTAT {
19   oracle-listener    : localport => 1521, state => LISTEN, atleast => 1
20   www1-dbconnections : localport => 1521, remoteip => 10.0.0.81, atleast => 2, limit => 50
21   www2-dbconnections : localport => 1521, remoteip => 10.0.0.82, atleast => 2, limit => 50
22   www3-dbconnections : localport => 1521, remoteip => 10.0.0.83, atleast => 2, limit => 50
23   www4-dbconnections : localport => 1521, remoteip => 10.0.0.84, atleast => 2, limit => 50
24   www5-dbconnections : localport => 1521, remoteip => 10.0.0.85, atleast => 2, limit => 50
25 }
26 A1000 {
27   fa000_001                             : status => Optimal
28   ag028_003                             : status => Optimal
29   fd032_002                             : status => Optimal
30 }
31 DISK {
32   /data1                                : limit => 95%, warnat => 70%
33   /data2                                : limit => 95%, warnat => 70%
34   /data3                                : limit => 95%, warnat => 70%
35   /data/oradata/QLP2/statspack01        : limit => 95%
36   /data/oradata/QLP2/redo01             : limit => 95%
37   /data/oradata/QLP2/redo03             : limit => 95%
38   /data/oradata/QLP2/redo04             : limit => 95%
39   /data/oradata/QLP2/tools01            : limit => 95%
40   /data/oradata/QLP2/redo02             : limit => 95%
41   /data/oradata/QLP2/users01            : limit => 95%
42   /data/oradata/QLP2/temp01             : limit => 95%
43   /data/oradata/QLP2/data01             : limit => 95%
44   /data/oradata/QLP2/index01            : limit => 95%
45   /data/oradata/QLP2/system01           : limit => 95%
46   /data/oradata/QLP2/arch01             : limit => 95%
47   /data/oradata/QLP2/rbs01              : limit => 95%
48 }
Note: See TracBrowser for help on using the browser.