Commit Graph

12 Commits

Author SHA1 Message Date
Gibheer d00e3f4a41 remove old schema file
This file is incompatible with all the following schema files. Therefore
remove it and make the installation a bit smoother.
2022-11-22 21:23:26 +01:00
Gibheer fa05045d31 cmd/monfront - import monfront from separate repository
This is the import from the separate monfront repository. The history
could not be imported, but this should suffice.
2021-12-02 17:54:14 +01:00
Gibheer 168c425fb6 add missing table to database schema
The checks_notify table was missing and needs to be added. As this is
still alpha software, there is no need for a migration step yet.
2019-01-11 13:04:35 +01:00
Gibheer 7e387d55b9 add missing unique constraint
There was a unique constraint missing on the active_checks table.
2018-12-12 13:33:30 +01:00
Gibheer 6274230442 fix some syntax errors in the schema definition 2018-12-12 13:25:40 +01:00
Gibheer af843d76e1 moncheck - move notifications to dedicated table
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-11 20:21:14 +01:00
Gibheer 5661459628 add alarm mapping to notifications 2018-12-11 13:24:42 +01:00
Gibheer dece1ac2dc add level mappings
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-11 12:37:30 +01:00
Gibheer 3f4b1b2421 add new schema
This still needs some cleanup, but oh well. The most important thing is,
that it works for now.
2018-12-10 10:48:21 +01:00
Gibheer f759b2f993 remove unique constraint on notifications
That constraint would hinder the addition of multiple notifications, so
it needs to be removed.
2018-11-16 20:08:12 +01:00
Gibheer 6da89f825c add unique index on check_id 2018-11-16 11:16:30 +01:00
Gibheer bfd2b5d324 initial commit 2018-11-16 10:39:21 +01:00