| Line | |
|---|
| 1 |
INTERVAL 60; |
|---|
| 2 |
PORT 81; |
|---|
| 3 |
STATUSFILE /var/run/resmon-status.txt; |
|---|
| 4 |
TIMEOUT 10; |
|---|
| 5 |
|
|---|
| 6 |
# HOSTS {ALLOW/DENY} lists are the coma or blank separated lists of a dotted |
|---|
| 7 |
# decimal IPv4 addresses of the form a.b.c.d. to match incoming machineâs IP |
|---|
| 8 |
# address exactly, or an 'ipaddr/n' where ipaddr is the IP address and n is |
|---|
| 9 |
# the number of one bits in the netmask. the first match gives the result, if |
|---|
| 10 |
# nothing matches IP is allowed. |
|---|
| 11 |
HOSTS ALLOW 10.80.116.112, 127.0.0.1; |
|---|
| 12 |
HOSTS DENY 10.80.117.128/25; |
|---|
| 13 |
HOSTS ALLOW 10.80.116.0/23; |
|---|
| 14 |
HOSTS DENY 0.0.0.0/0; |
|---|
| 15 |
|
|---|
| 16 |
# Resmon health check. Shows the hostname, svn revision and |
|---|
| 17 |
# any problems with modules or the configuration file. |
|---|
| 18 |
Core::Resmon { |
|---|
| 19 |
resmon : noop |
|---|
| 20 |
} |
|---|
| 21 |
|
|---|
| 22 |
#Core::Cpu { |
|---|
| 23 |
# local : noop |
|---|
| 24 |
#} |
|---|
| 25 |
|
|---|
| 26 |
#Core::Load { |
|---|
| 27 |
# local : noop |
|---|
| 28 |
#} |
|---|
| 29 |
|
|---|
| 30 |
#Core::Iostat { |
|---|
| 31 |
# sd0 : noop |
|---|
| 32 |
#} |
|---|
| 33 |
|
|---|
| 34 |
#Core::Memstat { |
|---|
| 35 |
# local : noop |
|---|
| 36 |
#} |
|---|
| 37 |
|
|---|
| 38 |
#Core::TcpService { |
|---|
| 39 |
# ssh : host => 127.0.0.1, port => 22, timeout => 2 |
|---|
| 40 |
#} |
|---|
| 41 |
|
|---|
| 42 |
#Core::File { |
|---|
| 43 |
# /path/to/file : noop |
|---|
| 44 |
#} |
|---|