163c121232
Change-Id: I4235f6e837c85a062fda3fad188cd9339f15243d
63 lines
1.5 KiB
Plaintext
Executable File
63 lines
1.5 KiB
Plaintext
Executable File
[DEFAULT]
|
|
#logging, make sure that the user under whom the server runs has permission
|
|
#to write to the directory.
|
|
log_file=notification.log
|
|
log_dir=/var/log/kiloeyes/
|
|
log_level=DEBUG
|
|
default_log_levels = kiloeyes=DEBUG
|
|
|
|
service = notification_engine
|
|
threads = 3
|
|
|
|
[notificationengine]
|
|
topic = alarms
|
|
doc_type = notificationmethods
|
|
index_strategy = fixed
|
|
index_prefix = admin
|
|
processor = notification_processor
|
|
|
|
[fixed_strategy]
|
|
index_name =
|
|
|
|
[mailsender]
|
|
username = kiloeyes.notification@gmail.com
|
|
password = notification
|
|
smtp_host = smtp.gmail.com
|
|
port = 25
|
|
use_tls = true
|
|
|
|
[kafka_opts]
|
|
#The endpoint to the kafka server, you can have multiple servers listed here
|
|
#for example:
|
|
#uri = 10.100.41.114:9092,10.100.41.115:9092,10.100.41.116:9092
|
|
uri = 192.168.1.191:9092
|
|
|
|
#consumer group name
|
|
group = datapoints_group
|
|
|
|
#how many times to try when error occurs
|
|
max_retry = 1
|
|
|
|
#wait time between tries when kafka goes down
|
|
wait_time = 1
|
|
|
|
#use synchronized or asynchronized connection to kafka
|
|
async = False
|
|
|
|
#send messages in bulk or send messages one by one.
|
|
compact = False
|
|
|
|
#How many partitions this connection should listen messages on, this
|
|
#parameter is for reading from kafka. If listens on multiple partitions,
|
|
#For example, if the client should listen on partitions 1 and 3, then the
|
|
#configuration should look like the following:
|
|
# partitions = 1
|
|
# partitions = 3
|
|
#default to listen on partition 0.
|
|
partitions = 0
|
|
|
|
[es_conn]
|
|
uri = http://192.168.1.191:9200
|
|
time_id =
|
|
drop_data = False
|