1 | # |
---|
2 | # Licensed to the Apache Software Foundation (ASF) under one |
---|
3 | # or more contributor license agreements. See the NOTICE file |
---|
4 | # distributed with this work for additional information |
---|
5 | # regarding copyright ownership. The ASF licenses this file |
---|
6 | # to you under the Apache License, Version 2.0 (the |
---|
7 | # "License"); you may not use this file except in compliance |
---|
8 | # with the License. You may obtain a copy of the License at |
---|
9 | # |
---|
10 | # http://www.apache.org/licenses/LICENSE-2.0 |
---|
11 | # |
---|
12 | # Unless required by applicable law or agreed to in writing, software |
---|
13 | # distributed under the License is distributed on an "AS IS" BASIS, |
---|
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
15 | # See the License for the specific language governing permissions and |
---|
16 | # limitations under the License. |
---|
17 | # |
---|
18 | |
---|
19 | # HDFS properties |
---|
20 | hdfs.upload.dir = /failmon |
---|
21 | hadoop.conf.path = ../../../conf |
---|
22 | |
---|
23 | # Hadoop Log file properties |
---|
24 | log.hadoop.enabled = true |
---|
25 | log.hadoop.filenames = /home/hadoop/hadoop-0.17.0/logs/ |
---|
26 | # set to non-zero only for continous mode: |
---|
27 | log.hadoop.interval = 0 |
---|
28 | log.hadoop.dateformat = \\d{4}-\\d{2}-\\d{2} |
---|
29 | log.hadoop.timeformat = \\d{2}:\\d{2}:\\d{2} |
---|
30 | |
---|
31 | # System Log file properties |
---|
32 | log.system.enabled = true |
---|
33 | log.system.filenames = /var/log/messages |
---|
34 | # set to non-zero only for continous mode: |
---|
35 | log.system.interval = 0 |
---|
36 | log.system.dateformat = (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s+(\\d+) |
---|
37 | log.system.timeformat = \\d{2}:\\d{2}:\\d{2} |
---|
38 | |
---|
39 | # Network Interfaces |
---|
40 | nic.enabled = true |
---|
41 | nic.list = eth0, eth1 |
---|
42 | # set to non-zero only for continous mode: |
---|
43 | nic.interval = 0 |
---|
44 | |
---|
45 | # CPUs & Motherboard |
---|
46 | cpu.enabled = true |
---|
47 | # set to non-zero only for continous mode: |
---|
48 | cpu.interval = 0 |
---|
49 | |
---|
50 | # Disk devices. For all devices listed under disks.list, the corresponding |
---|
51 | # property disk./dev/xxx.source specifies where the output of |
---|
52 | # "sudo smartctl --all /dev/xxx" can be read by a user. If this property is |
---|
53 | # missing, super-user privileges are assumed and the smartctl command will be |
---|
54 | # invoked itself. |
---|
55 | |
---|
56 | disks.enabled = true |
---|
57 | disks.list = /dev/sda, /dev/sdb, /dev/sdc, /dev/sdd, /dev/hda, /dev/hdb, /dev/hdc, /dev/hdd |
---|
58 | #disks./dev/sda.source = hda.smart |
---|
59 | # set to non-zero only for continous mode: |
---|
60 | disks.interval = 0 |
---|
61 | |
---|
62 | # lm-sensors polling |
---|
63 | sensors.enabled = true |
---|
64 | # set to non-zero only for continous mode: |
---|
65 | sensors.interval = 0 |
---|
66 | |
---|
67 | # Executor thread properties |
---|
68 | executor.interval.min = 1 |
---|
69 | |
---|
70 | # Anonymization properties |
---|
71 | anonymizer.hash.hostnames = false |
---|
72 | anonymizer.hash.ips = false |
---|
73 | anonymizer.hash.filenames = false |
---|
74 | anonymizer.hostname.suffix = apache.org |
---|
75 | |
---|
76 | # Local files options |
---|
77 | local.tmp.filename = failmon.dat |
---|
78 | local.tmp.compression = false |
---|
79 | # set to non-zero only for continous mode: |
---|
80 | local.upload.interval = 0 |
---|