Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
This allows to view all the important checks for a group much easier.
|
|
|
|
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.
|
|
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.
|
|
The field name was wrong and therefore actions weren't completed and the
redirect was wrong.
|
|
Because Firefox has no attribute path for an event to represent the
element chain of the target, we need to iterate through the parents.
|
|
The selected rows are now properly highlighted. See #7 for more
information.
|
|
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.
|
|
This way it is possible to jump between a node and its checks.
|
|
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.
|
|
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.
|
|
There is just no information that could possibily be shown there, that
isn't already shown somewhere else.
|
|
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.
|
|
This can help with determining which exact check connection broke the
check.
|
|
The adding of the order by clause happend in the wrong position and
therefore made the resultset unuseable.
|
|
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.
|
|
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.
|
|
Now all the fields are shown in a column like view, which makes viewing
them much nicer to the eye.
|
|
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.
|
|
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.
|
|
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.
|
|
Monfront now has a basic search functionality for nodes. It also got
some nicer design to make it more useable.
|
|
This is the first step to view the group status. The templates were
split into multipe parts, to make reuse easier.
|
|
After the notifications were extracted the mute option didn't work
anymore. With this fix, they are back to working.
|
|
|
|
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.
|
|
This function existed to group fields together, but it had an issue and
grouped them wrongly. This caused issues later in the check stage.
|
|
This can lead to longer run times than necessary.
|
|
This will be replaced with a different system in the long term.
|
|
|
|
The notify column was removed when moving everything into the
notification tables.
|
|
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.
|
|
The unhandled checks didn't contain the mapping id, which caused an
error at scan time.
|
|
This finally adds a reload to the frontend, so that one hasn't to reload
manually all the time.
|
|
This should enable the notifier to make a decent decision on what to do.
|
|
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.
|
|
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.
|
|
This change triggers updates for checks when a node or command was
updated. This way everything gets adjusted without much work.
|
|
New checks were not added to the active_checks, because they were never
touched before.
|
|
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.
|
|
This adds the path environment configuration to control which programs
to call.
|
|
This will return the unhandled groups/checks/whatever but is still work
in progress.
|
|
Before the timeout for checks was static. With this change it is finally
an option to configure.
|
|
This version can already show the list of checks, their last state and
add ways to manipulate the check or active check.
|
|
An acknowledge should be set to false when the alarm switches to an ok
state.
|
|
This output was poluting the log and wasn't necessary.
|
|
The deadlines were wrong all over the place, so this commit finally
fixes that.
|
|
This server generates active checks from the check configuration.
|
|
With selecting only the bare minimum we get much nicer performance.
|