aboutsummaryrefslogtreecommitdiff
path: root/cmd
AgeCommit message (Collapse)AuthorFilesLines
2019-01-10monfront - add css to make check detail view nicerGibheer1-8/+7
Now all the fields are shown in a column like view, which makes viewing them much nicer to the eye.
2019-01-09monfront - add check detail viewGibheer1-46/+220
This adds a detail view for a single check. The purpose is to view notifications for this check alone and get the context information on the node it belongs to, the command and settings.
2019-01-07moncheck - make workers configurableGibheer1-2/+3
The default worker count was set to 25, which might be too much depending on the amount of cores available. Now make the default 25 and let people decide on how many they want to use.
2019-01-03monfront - fix actions on checksGibheer1-9/+18
This is related to #6. The muting, enable and disable were not working properly, because the date was not set when the check was updated. With this comes also the first icon to represent the muted status.
2019-01-03monfront - add some cleanup and searchGibheer1-13/+67
Monfront now has a basic search functionality for nodes. It also got some nicer design to make it more useable.
2019-01-02monfront - show groupsGibheer1-64/+138
This is the first step to view the group status. The templates were split into multipe parts, to make reuse easier.
2018-12-14monfront - fix mute optionsGibheer1-3/+5
After the notifications were extracted the mute option didn't work anymore. With this fix, they are back to working.
2018-12-14monwork - add more tests to the fields functionGibheer1-1/+4
2018-12-14monwork - readd stringToShellFieldsGibheer2-1/+75
This function was needed as bytes.Fields had some problems with the quoting. Now there are test cases too so that errors can be found more easily.
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