aboutsummaryrefslogtreecommitdiff
path: root/example.conf
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-01-30 12:30:44 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-01-30 12:30:44 +0000
commita75a1088aaa150a5521e1acfa3a372520f3c3995 (patch)
tree11ec8c3cbb227305630924f62d2a49bb99399388 /example.conf
parent82d493d723c8a3c50b6fdbe3931a49b6b48443b4 (diff)
parent8ed82944ebd764f1986b3155990b895045b584bc (diff)
Merge
Diffstat (limited to 'example.conf')
-rw-r--r--example.conf33
1 files changed, 11 insertions, 22 deletions
diff --git a/example.conf b/example.conf
index 1c80744..4123d8e 100644
--- a/example.conf
+++ b/example.conf
@@ -5,7 +5,7 @@ server {
#
# This is where our database lives. SQLite is the default.
#
- database "sqlite3://./alerts.db"
+ database "sqlite3::memory:"
#
# This is our hostname. It gets used when URLs are generated, and in the heartbeat alert.
@@ -27,7 +27,7 @@ server {
#
# This is how long the UDP server will sleep between looking for packets.
#
- sleep_interval 1
+ poll_every 1
}
@@ -40,7 +40,7 @@ server {
# This is the length of time the processor will sleep between checking for
# new packets from the UDP listener.
#
- sleep_interval 1
+ poll_every 1
#
# In order to make sure the same transmission isn't received more then
@@ -65,7 +65,7 @@ server {
#
# This is where the template files live.
#
- document_root "/usr/share/mauvealert/"
+ # document_root "/usr/share/mauvealert/"
#
# This is used in the cookie, to prevent session-stealing.
@@ -73,17 +73,6 @@ server {
session_secret "PLEASE CHANGE ME"
}
- #
- # The timer checks for alerts set to be raised/cleared in the future, or
- # alert reminders, and triggers notifications thereof.
- #
- timer {
- #
- # This determines how often the timer thread checks for new reminders/notifications
- #
- sleep_interval 1
- }
-
#
# This is where the mauve server sends its own heartbeat. Useful for
@@ -98,7 +87,7 @@ server {
#
# This is how long to wait before the alert is raised
#
- raise_at 600
+ raise_after 600
#
# These two fields have sensible defaults set, but more informative
# messages can be set here.
@@ -165,10 +154,10 @@ logger {
# XMPP instant messaging. This are the credentials to log into the XMPP
# account that mauve will use.
#
-notification_method ("xmpp") {
- jid "mauve@chat.example.com/mauve"
- password "mauvespassword"
-}
+#notification_method ("xmpp") {
+# jid "mauve@chat.example.com/mauve"
+# password "mauvespassword"
+#}
#
# Email messaging.
@@ -180,8 +169,8 @@ notification_method ("email") {
}
person("office_chat") {
- xmpp "muc:mauve-test@conference.chat.bytemark.co.uk/MauveAlert"
- all { xmpp }
+# xmpp "muc:mauve-test@conference.chat.bytemark.co.uk/MauveAlert"
+# all { xmpp }
# suppress_notifications_after(310 => 1.minute)
}