aboutsummaryrefslogtreecommitdiff
path: root/cmd
AgeCommit message (Collapse)AuthorFilesLines
2018-12-13monwork - bytes.Fields works well enoughGibheer1-30/+1
This function existed to group fields together, but it had an issue and grouped them wrongly. This caused issues later in the check stage.
2018-12-13monwork - add missing continuesGibheer1-0/+2
This can lead to longer run times than necessary.
2018-12-12monfront - remove notify flagGibheer1-4/+3
This will be replaced with a different system in the long term.
2018-12-12moncheck - log the state which wasn't foundGibheer1-3/+4
2018-12-12monwork - ignore missing notify columnGibheer1-3/+3
The notify column was removed when moving everything into the notification tables.
2018-12-11moncheck - move notifications to dedicated tableGibheer1-9/+9
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-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-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 mappingsGibheer2-22/+84
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-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 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-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-16initial commitGibheer1-0/+141