diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-08-01 10:19:21 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-08-01 10:19:21 +0100 |
commit | 8a45a5152f953c5573bd18a3bd8b0785f3dea513 (patch) | |
tree | abb9828e1a6c4cf727080a61e666873306444f7a /bytemark_policy.txt | |
parent | 499b54c5b81bdd63f622e99a9dc0dbaf08bc8d01 (diff) |
Removed lots of cruft, and merged the example.conf with etc/mauveserver.conf
Diffstat (limited to 'bytemark_policy.txt')
-rw-r--r-- | bytemark_policy.txt | 125 |
1 files changed, 0 insertions, 125 deletions
diff --git a/bytemark_policy.txt b/bytemark_policy.txt deleted file mode 100644 index 22378ae..0000000 --- a/bytemark_policy.txt +++ /dev/null @@ -1,125 +0,0 @@ -server { - ip "0.0.0.0" - port 32741 - log_file STDOUT - log_level 0 - database "sqlite3:///tmp/mauve_test.db" - transmission_id_expire_time 600 - - web_interface { - port 1288 - } -} - -notification_method("xmpp") { - jid "mauveserv@chat.bytemark.co.uk" - password "foo" -} - -notification_method("email") { - # add in SMTP server, username, password etc. - # default to sending through localhost - from "matthew@bytemark.co.uk" - server "bytemail.bytemark.co.uk" - subject_prefix "[Bytemark alerts] " - #deliver_to_file "/tmp/alerts.txt" -} - -notification_method("sms") { - provider "AQL" - - username "bytemark" - password "foo" - from "01904890890" - max_messages_per_alert 3 -} - -person("office") { - #all { xmpp "office@conference.chat.bytemark.co.uk" } - all { email "matthew@bytemark.co.uk" } -} - -person("mbloch") { - urgent { sms("x") } - normal { xmpp("mbloch@chat.bytemark.co.uk") || email("matthew@bytemark.co.uk") } - low { email("matthew@bytemark.co.uk") } -} - -person("ptaphouse") { - urgent { sms("x") } - normal { xmpp("ptaphouse@chat.bytemark.co.uk") || email("pete@bytemark.co.uk") } - low { email("pete@bytemark.co.uk") } -} - -person("chris") { -} - -alert_group { - includes { - source == "supportbot" || source == "managed-monitor" - } - - acknowledgement_time 90.minutes - - level URGENT - - notify("office") { - every 30.minutes - } - - notify("mbloch") { - every 60.minutes - hours_in_day(0..8, 17..23) - unacknowledged(120.minutes) - } -} - -alert_group { - includes { source == "network-crit" } - level URGENT - acknowledgement_time 90.minutes - - notify("office") { every 15.minutes } - notify("ptaphouse") { every 30.minutes } - notify("mbloch") { - every 30.minutes - unacknowledged(95.minutes) - } -} - -alert_group { - includes { source == "networkmonitor" } - acknowledgement_time 7.days - - notify("office") { every 120.minutes } -} - -alert_group { - includes { source == "disks" } - acknowledgement_time 1.day - - notify("chris") { every 4.hours } - notify("mbloch","ptaphouse") { - every 12.hours - unacknowledged 24.hours - } - -} - -alert_group { - includes { source == "pxefs" } - level URGENT - - notify("office") { every 1.hour } - notify("mbloch") { - every 3.hours - unacknowledged 24.hours - } -} - -alert_group("default") { - level LOW - - notify("office") { every 3.hours } -} - |