aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-22remove old schema fileGibheer1-85/+0
This file is incompatible with all the following schema files. Therefore remove it and make the installation a bit smoother.
2022-11-11update dependenciesGibheer142-2292/+16032
2022-11-08update dependenciesGibheer211-11259/+28220
2021-12-02cmd/monfront - import monfront from separate repositoryGibheer427-4/+197845
This is the import from the separate monfront repository. The history could not be imported, but this should suffice.
2021-12-02cmd/moncheck - fix missing return valueGibheer1-3/+5
2021-12-02cmd/moncheck - switch to monzero.CheckerGibheer1-85/+15
This switches the internals of the moncheck instance to using the monzero.Checker API. This way we can reuse it completely and also see if it works properly.
2021-12-02add basic infrastructure for writing a checkerGibheer2-0/+188
These are the first components to interact with the database in a predefined way to write a checker instance. CheckExec serves as an example implementing the Executor interface.
2019-08-12support new checker apiGibheer3-16/+14
With this, it is now possible to support multiple check instances and balance the load.
2019-08-12make build the defaultGibheer1-3/+3
2019-05-28disable CGO support because of build errorsGibheer1-2/+2
2019-05-28fill in state_change columnGibheer1-2/+6
Any time the state of the check changes, we need to refresh the column. This will be used in the frontend. This way it is much faster than using the notifications and also doesn't rely on the last of it being still around.
2019-04-10cmd/moncheck: use mapping only for notificationsGibheer1-16/+9
This should make the frontend much easier to handle than before. It isn't the best solution, but it makes it easier in the frontend for now.
2019-04-09fix idle in transactionGibheer1-18/+8
It happend all the time, that connections were hanging in idle in transaction state. This was caused by a rollback stuck behind a sleep loop to wait for the next bunch of checks to run. This also replaces a Query() call with QueryRow, as we only expect a single row and this cleans up the code a bit.
2019-03-13move monfront to separate repositoryGibheer3-881/+0
Monfront was forked into its own repository to make it easier to work on.
2019-03-08monfront - fix group listGibheer1-18/+28
It was possible that a node was showing multiple times when it had more than one check. That wasn't the purpose of that list. Now each node only comes up once and its worst state is shown.
2019-03-08monfront - enable jumping from groups to checksGibheer1-7/+8
This allows to view all the important checks for a group much easier.
2019-03-08monfront - add link to list checks from a groupGibheer1-5/+23
2019-01-24monfront - final fix for select allGibheer1-6/+10
There was an issue with the select all in that clicking an input field didn't trigger the marking as the event was not pushed through to the underlying elements.
2019-01-24monfront - add select allGibheer1-22/+46
This commit adds a select all function to select all rows of a list to mark them all. This could be used to send a refresh to all these checks or acknowledge them or whatever. Also the referrer handling in checkAction() was moved to the start so that even with an error the same thing happens.
2019-01-24monfront - fix check id variable nameGibheer1-1/+1
The field name was wrong and therefore actions weren't completed and the redirect was wrong.
2019-01-24monfront - firefox has no event.pathGibheer1-6/+12
Because Firefox has no attribute path for an event to represent the element chain of the target, we need to iterate through the parents.
2019-01-24monfront - add highlight to selected rowsGibheer1-0/+7
The selected rows are now properly highlighted. See #7 for more information.
2019-01-24monfront - add line selectGibheer1-3/+20
As in #7 requested, it is now possible to select a row by clicking on the row itself. This should make it much easier to select a larger number of rows.
2019-01-24monfront - link to node checks from check detail0.1Gibheer1-1/+1
This way it is possible to jump between a node and its checks.
2019-01-24monfront - fix refererGibheer1-1/+2
Somewhen in the last couple years, something called a referer policy was introduced. This avoided the correct relocation after any action was sent. Now with the fix, the redirect properly works.
2019-01-11monfront - add notifications to check detailsGibheer1-9/+56
This adds the first basic listing of notifications to the check details. No idea how many of them should be listed here, but having the list at all for a start should be okay.
2019-01-11monfront - remove showNode and showGroupGibheer1-10/+0
There is just no information that could possibily be shown there, that isn't already shown somewhere else.
2019-01-11add missing table to database schemaGibheer1-2/+9
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-11monfront - send an okay notification when check is acknowledgedGibheer1-0/+20
When a check is acknowledged, no more further notifications should be sent. But for the notified system, it should be made clean, that it is taken care of and no further actions need to be done, therefore send an okay, even when the check isn't okay.
2019-01-11moncheck - add hostname to notificationsGibheer1-5/+10
This can help with determining which exact check connection broke the check.
2019-01-10monfront - fix group orderGibheer1-8/+9
The adding of the order by clause happend in the wrong position and therefore made the resultset unuseable.
2019-01-10monfront - sort result listGibheer1-1/+11
The result list should be ordered for the state when unhandled entries should be returned. Else it is getting weird to figure out, which issue is the most important to fix.
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.