aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-12-12monwork - ignore missing notify columnGibheer1-3/+3
The notify column was removed when moving everything into the notification tables.
2018-12-12fix some syntax errors in the schema definitionGibheer1-4/+4
2018-12-12add makefile to create releaseGibheer1-0/+44
This adds a makefile to build a release of the programs.
2018-12-12monfront - add example configGibheer1-0/+4
2018-12-11moncheck - move notifications to dedicated tableGibheer2-14/+20
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-11extend the README with a configuration sectionGibheer1-0/+47
This section should give a short introduction on how to configure the system. There should be a frontend to do the same thing later.
2018-12-11monfront - add missing column to unhandled checksGibheer1-1/+1
The unhandled checks didn't contain the mapping id, which caused an error at scan time.
2018-12-11monfront - add a timeout with reloadGibheer1-0/+3
This finally adds a reload to the frontend, so that one hasn't to reload manually all the time.
2018-12-11add alarm mapping to notificationsGibheer1-1/+2
2018-12-11moncheck - add alarm mapping to notificationGibheer1-1/+1
This should enable the notifier to make a decent decision on what to do.
2018-12-11moncheck - add mapping levelsGibheer1-12/+27
This adds mapping levels to the check runner. When the exit code is returned, the actual level is looked up using the configured mapping. After that, the state is entered into the table and added the same way to the notifications.
2018-12-11add level mappingsGibheer3-24/+104
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-11monwork - make updates for nodes and commandsGibheer1-0/+54
This change triggers updates for checks when a node or command was updated. This way everything gets adjusted without much work.
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-12-10monwork - fix an issue with configuration generationGibheer1-3/+5
New checks were not added to the active_checks, because they were never touched before.
2018-12-10monfront - make fake groups in frontendGibheer1-2/+8
It would have been nice to use rowgrouping for the node name, but somehow it wasn't easy to get the rowcount. So this should do for now.
2018-12-10moncheck - add PATH environmentGibheer1-3/+12
This adds the path environment configuration to control which programs to call.
2018-11-29monfront - add initial work for unhandled linksGibheer1-10/+93
This will return the unhandled groups/checks/whatever but is still work in progress.
2018-11-29moncheck - add timeout to example configGibheer1-0/+1
2018-11-29moncheck - add timeout optionGibheer1-8/+12
Before the timeout for checks was static. With this change it is finally an option to configure.
2018-11-20monfront - add initial versionGibheer1-0/+254
This version can already show the list of checks, their last state and add ways to manipulate the check or active check.
2018-11-20moncheck - add function to remove acknowledgeGibheer1-1/+18
An acknowledge should be set to false when the alarm switches to an ok state.
2018-11-19ignore live config filesGibheer1-0/+3
2018-11-19add example config filesGibheer3-4/+8
2018-11-19remove debug outputGibheer1-1/+0
This output was poluting the log and wasn't necessary.
2018-11-18moncheck: fix error reporting of daedlinesGibheer1-18/+79
The deadlines were wrong all over the place, so this commit finally fixes that.
2018-11-16monwork - add new serverGibheer1-0/+172
This server generates active checks from the check configuration.
2018-11-16moncheck - adjust queries to take less dataGibheer1-3/+7
With selecting only the bare minimum we get much nicer performance.
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 commitGibheer6-0/+270