aboutsummaryrefslogtreecommitdiff
path: root/schema
AgeCommit message (Collapse)AuthorFilesLines
2018-12-12add missing unique constraintGibheer1-3/+1
There was a unique constraint missing on the active_checks table.
2018-12-12fix some syntax errors in the schema definitionGibheer1-4/+4
2018-12-11moncheck - move notifications to dedicated tableGibheer1-5/+11
It would be nice to support multiple notification mechanisms with a way to disable all or part of them. So for now, this is bound to the check but may change again in the future. Apart from that, all notifications get written to the notification table, so that the notifiers can do their job and ACK their own notifications.
2018-12-11add alarm mapping to notificationsGibheer1-1/+2
2018-12-11add level mappingsGibheer1-2/+20
This allows to map the command exit codes to any other output level which can then be reported by the notification plugin. With the provided colors, the frontend will show them accordingly.
2018-12-10add new schemaGibheer1-0/+84
This still needs some cleanup, but oh well. The most important thing is, that it works for now.
2018-11-16remove unique constraint on notificationsGibheer1-1/+1
That constraint would hinder the addition of multiple notifications, so it needs to be removed.
2018-11-16add unique index on check_idGibheer1-1/+1
2018-11-16initial commitGibheer1-0/+78