| 53 |
|
# Any hosts not specified by now have the default |
| 54 |
|
# config as given in this file. |
| 55 |
|
|
| 56 |
– |
# Another component of the system is the mySQL |
| 57 |
– |
# database part of the server call the DBInterface. |
| 58 |
– |
# This has it's own config so the passwords for the |
| 59 |
– |
# mySQL database can be kept seperate. |
| 60 |
– |
#config.mySQL=mySQL.conf |
| 56 |
|
|
| 62 |
– |
|
| 57 |
|
############################################################ |
| 58 |
|
#### Misc system-wide configuration |
| 59 |
|
############################################################ |
| 67 |
|
# The internal Queue's can be monitored. This specifies |
| 68 |
|
# the interval, in seconds, at which their state should |
| 69 |
|
# be monitored. |
| 70 |
< |
Queue.MonitorInterval=15 |
| 70 |
> |
Queue.MonitorInterval=300 |
| 71 |
|
# The maximum size a Queue can be before items are |
| 72 |
|
# dropped when new ones arrive. |
| 73 |
|
Queue.SizeLimit=1000 |
| 120 |
|
# And the names of the plugins to be loaded. |
| 121 |
|
Filter.Plugins=TypeChecker;EnforceEssentialData;SourceChecker |
| 122 |
|
|
| 129 |
– |
# The special filter known as the "Root Filter" needs |
| 130 |
– |
# a name within the system. |
| 131 |
– |
RootFilter.name=root |
| 132 |
– |
|
| 123 |
|
# Every Filter, except the root, needs a parent to |
| 124 |
|
# send their data to. This is usually the root filter, |
| 125 |
|
# although in more complex setups it might be another |
| 151 |
|
|
| 152 |
|
|
| 153 |
|
############################################################ |
| 154 |
< |
#### Root filter interfaces configuration |
| 154 |
> |
#### Root filter configuration |
| 155 |
|
############################################################ |
| 156 |
|
|
| 157 |
< |
# The Root FIlter can send data to various upstream |
| 158 |
< |
# data processors. There are two of these at present |
| 159 |
< |
# in the server - the DBInterface and the ClientInterface. |
| 170 |
< |
# Their component names are given here as defined below. |
| 171 |
< |
# (the DBInterface is switched off - commented - by default) |
| 172 |
< |
#RootFilter.dbInterfaceName=database |
| 173 |
< |
RootFilter.realtimeInterfaceName=realtimeclients |
| 157 |
> |
# The special filter known as the "Root Filter" needs |
| 158 |
> |
# a name within the system. |
| 159 |
> |
RootFilter.name=root |
| 160 |
|
|
| 161 |
|
|
| 162 |
|
############################################################ |
| 166 |
|
# The client interface listens for connections from clients |
| 167 |
|
# on a TCP port. It is specified here. |
| 168 |
|
ClientInterface.listenPort=4510 |
| 183 |
– |
# The component name for the Client Interface. This should |
| 184 |
– |
# match the name specified to the Root Filter above. |
| 185 |
– |
ClientInterface.name=realtimeclients |
| 169 |
|
|
| 170 |
+ |
# The client interface needs to connect to another one to |
| 171 |
+ |
# receive data. There is a special client interface in the |
| 172 |
+ |
# root filter which is the top of the tree. |
| 173 |
+ |
ClientInterface.parent=root |
| 174 |
+ |
|
| 175 |
|
# The Client Interface has two channels, control and data. |
| 176 |
|
# Each of these can have an ACL for allowing connections. |
| 177 |
|
# As per previous examples in this configuration file they |
| 182 |
|
|
| 183 |
|
|
| 184 |
|
############################################################ |
| 185 |
< |
#### Database interface configuration |
| 185 |
> |
#### LocalClient Configuration |
| 186 |
|
############################################################ |
| 187 |
|
|
| 188 |
< |
# The name for the Database Interface. This should match |
| 189 |
< |
# the name given to the Root Filter. |
| 202 |
< |
DBInterface.name=database |
| 188 |
> |
# The parent for the Local Client |
| 189 |
> |
Client.parent=clientinterface1 |
| 190 |
|
|
| 191 |
|
|
| 192 |
|
############################################################ |
| 220 |
|
Monitor.PluginsPackage=uk.org.iscream.cms.server.client.monitors |
| 221 |
|
# And which ones should be loaded. |
| 222 |
|
Monitor.Plugins=CPU;Load;Process;Disk;Memory;Swap;Services;\ |
| 223 |
< |
Heartbeat;Queue;UserCount;WebFeeder; |
| 223 |
> |
Heartbeat;Queue;UserCount;WebFeeder;DiskIO;\ |
| 224 |
> |
NetIO;Paging; |
| 225 |
|
|
| 226 |
|
# Alerts timeout after a given time in seconds and go up |
| 227 |
|
# to the next level. These can be overridden for monitors |
| 247 |
|
Monitor.Load.threshold.LOWER=10.0 |
| 248 |
|
Monitor.Load.threshold.UPPER=20.0 |
| 249 |
|
|
| 250 |
+ |
# Paging monitor threshold values |
| 251 |
+ |
Monitor.Paging.threshold.LOWER=1000 |
| 252 |
+ |
Monitor.Paging.threshold.UPPER=5000 |
| 253 |
+ |
|
| 254 |
|
# Process Count threshold values |
| 255 |
|
Monitor.Process.threshold.LOWER=500 |
| 256 |
|
Monitor.Process.threshold.UPPER=1000 |
| 273 |
|
# Disk monitor threshold values |
| 274 |
|
Monitor.Disk.threshold.LOWER=90 |
| 275 |
|
Monitor.Disk.threshold.UPPER=95 |
| 276 |
+ |
Monitor.DiskInode.threshold.LOWER=90 |
| 277 |
+ |
Monitor.DiskInode.threshold.UPPER=95 |
| 278 |
|
# Thresholds given are PERCENTAGE or VALUE |
| 279 |
|
# where PERCENTAGE is a percentage of disk in use |
| 280 |
|
# and VALUE is an absolute value of space free |
| 281 |
|
Monitor.Disk.thresholdMeasure=PERCENTAGE |
| 282 |
+ |
Monitor.DiskInode.thresholdMeasure=PERCENTAGE |
| 283 |
+ |
|
| 284 |
+ |
# DiskIO monitor threshold values (in bytes) |
| 285 |
+ |
Monitor.DiskIO.rbytes.threshold.LOWER=10000000 |
| 286 |
+ |
Monitor.DiskIO.rbytes.threshold.UPPER=50000000 |
| 287 |
+ |
Monitor.DiskIO.wbytes.threshold.LOWER=10000000 |
| 288 |
+ |
Monitor.DiskIO.wbytes.threshold.UPPER=50000000 |
| 289 |
+ |
|
| 290 |
+ |
# NetIO monitor threshold values (in bytes) |
| 291 |
+ |
Monitor.NetIO.rxbytes.threshold.LOWER=10000000 |
| 292 |
+ |
Monitor.NetIO.rxbytes.threshold.UPPER=50000000 |
| 293 |
+ |
Monitor.NetIO.txbytes.threshold.LOWER=10000000 |
| 294 |
+ |
Monitor.NetIO.txbytes.threshold.UPPER=50000000 |
| 295 |
|
|
| 296 |
|
# Queue monitor threshold values |
| 297 |
|
Monitor.Queue.threshold.LOWER=50 |