Commit Graph

25 Commits

Author SHA1 Message Date
b1746c6626 monfront - fix check id variable name
The field name was wrong and therefore actions weren't completed and the
redirect was wrong.
2019-01-24 13:30:05 +01:00
80b7d7cbe4 monfront - firefox has no event.path
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-24 12:01:21 +01:00
02e838e2fe monfront - add highlight to selected rows
The selected rows are now properly highlighted. See #7 for more
information.
2019-01-24 11:41:18 +01:00
18e4ba6ae4 monfront - add line select
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-24 11:26:26 +01:00
e8e67f091a monfront - link to node checks from check detail
This way it is possible to jump between a node and its checks.
2019-01-24 09:25:00 +01:00
a9634bbcaa monfront - fix referer
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-24 09:18:46 +01:00
6a5c0b92bd monfront - add notifications to check details
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-11 23:02:58 +01:00
aed518ea76 monfront - remove showNode and showGroup
There is just no information that could possibily be shown there, that
isn't already shown somewhere else.
2019-01-11 19:54:06 +01:00
203ca756e1 monfront - send an okay notification when check is acknowledged
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-11 13:03:07 +01:00
f804446ad3 monfront - fix group order
The adding of the order by clause happend in the wrong position and
therefore made the resultset unuseable.
2019-01-10 09:50:18 +01:00
73c7353082 monfront - sort result list
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-10 07:10:02 +01:00
ea658177ee monfront - add hover background color
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-10 05:50:02 +01:00
bfe455d936 monfront - add css to make check detail view nicer
Now all the fields are shown in a column like view, which makes viewing
them much nicer to the eye.
2019-01-10 05:48:25 +01:00
96d853fad6 monfront - add check detail view
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-09 20:17:49 +01:00
7c541189fe monfront - fix actions on checks
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-03 19:48:17 +01:00
db3a7cdda9 monfront - add some cleanup and search
Monfront now has a basic search functionality for nodes. It also got
some nicer design to make it more useable.
2019-01-03 13:44:21 +01:00
c646179fa9 monfront - show groups
This is the first step to view the group status. The templates were
split into multipe parts, to make reuse easier.
2019-01-02 16:09:04 +01:00
887e8ea089 monfront - fix mute options
After the notifications were extracted the mute option didn't work
anymore. With this fix, they are back to working.
2018-12-14 19:52:21 +01:00
e151f056ad monfront - remove notify flag
This will be replaced with a different system in the long term.
2018-12-12 14:06:16 +01:00
feee448af6 monfront - add missing column to unhandled checks
The unhandled checks didn't contain the mapping id, which caused an
error at scan time.
2018-12-11 13:33:06 +01:00
564ec5c2a3 monfront - add a timeout with reload
This finally adds a reload to the frontend, so that one hasn't to reload
manually all the time.
2018-12-11 13:25:01 +01:00
dece1ac2dc add level mappings
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-11 12:37:30 +01:00
6c2bea5365 monfront - make fake groups in frontend
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-10 09:34:45 +01:00
3400167c98 monfront - add initial work for unhandled links
This will return the unhandled groups/checks/whatever but is still work
in progress.
2018-11-29 10:56:20 +01:00
3b8e27706b monfront - add initial version
This version can already show the list of checks, their last state and
add ways to manipulate the check or active check.
2018-11-20 21:48:16 +01:00