aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-01-10monfront - add hover background colorGibheer1-0/+1
With some monitors, the view may be too wide to make out, which line belongs to what. For that purpose, add a background color when the mouse is hovering over a line.
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 configurableGibheer2-3/+11
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-07fix the release scriptGibheer1-4/+4
The config directory was pushed into a subdirectory, when it wasn't necessary. This lead to a double monzero path mention.
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-12use GOOS to compile for correct environmentGibheer1-3/+3
2018-12-12add missing unique constraintGibheer1-3/+1
There was a unique constraint missing on the active_checks table.
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