1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
[monitor]
monitors=tests/monitors-windows.ini
interval=5
pidfile=monitor.pid
[reporting]
alerters=slack,sms,mail,ses,elks,pushover,execute,syslog,slack2,pushbullet,telegram,sns
loggers=db1,db2,file1,file2,file3,file4,html,json,network
[slack]
type=slack
url=https://hooks.slack.com/services/haha/nope/thisisjustatest
channel=testing
dry_run=1
[slack2]
type=slack
url=https://hooks.slack.com/services/haha/nope/thisisjustatest
username=testing
dry_run=1
[db1]
type=db
db_path=monitor.db
[db2]
type=dbstatus
db_path=monitor2.db
depend=filestat
[file1]
type=logfile
filename=monitor1.log
[file2]
type=logfile
filename=monitor2.log
only_failures=1
[file3]
type=logfile
filename=monitor3.log
buffered=0
[file4]
type=logfile
filename=monitor4.log
dateformat=iso8601
[sms]
type=bulksms
username=a
password=b
target=123456789012
dry_run=1
[mail]
type=email
host=test.jamesoff.net
from=james@jamesoff.net
to=james@jamesoff.net
username=username
password=password
ssl=starttls
dry_run=1
[ses]
type=ses
from=james@jamesoff.net
to=james@jamesoff.net
dry_run=1
aws_region=us-east-1
aws_access_key=a
aws_secret_key=b
[sns]
type=sns
number=1234
aws_region=us-east-1
aws_access_key=a
aws_secret_key=b
[elks]
type=46elks
username=a
password=b
target=1
sender=+12345678
dry_run=1
[pushover]
type=pushover
token=a
user=b
dry_run=1
[html]
type=html
filename=status.html
header=header.html
footer=footer.html
folder=html
upload_command=/bin/true
[execute]
type=execute
fail_command=echo hello from fail execute alerter
success_command=echo hello from success execute alerter
catchup_command=echo hello from catchup execute alerter
[syslog]
type=syslog
[json]
type=json
filename=output.json
[network]
type=network
host=127.0.0.1
port=6789
key=examplekey
[pushbullet]
type=pushbullet
token=abc123
dry_run=1
[telegram]
type=telegram
token=test
chat_id=test
dry_run=1
|