| Age | Commit message (Collapse) | Author |
|
The title will be displayed for window title and as the heading in
the status page.
While at it, remove the status column on the Down History section, since
the value is static.
|
|
The footer contains information about the program.
|
|
This is the first release of lilin project with the following features,
* Monitoring HTTP, TCP, UDP services
* Sending notification when service up or down through,
** Mattermost incoming webhook
|
|
In the README, we add section on how building the program, the main
configuration, and how to monitor the services using configuration.
Inside the _www directory, we create doc/ directory that contains
symlink to README.md as index.md.
This allow us to serve the lilin as page under
https://kilabit.info/project/lilin .
|
|
|
|
Since we use the service ID, derived from file name, change
the class name to sid instead of name.
|
|
Instead of using name, which may contains space, use the
file name as service ID.
In this way, the log file name will match with the service
file name.
|
|
|
|
Add a background color for section "Service status" and "Down history"
to highlight it with other text.
Add background color for service that is down in "Service status".
|
|
|
|
In the main Reports struct, we record the failed ScanReport in separate
slices.
Those slices then displayed on the main page under "Fail history"
section.
|
|
The start method run all the services scanner in the background and
consume the report from it from channel.
Each time new report coming it will notify the Server to update the
index page body.
|
|
Instead of using HTML and JavaScript, generate the web page using
template.
This minimize number of works we do in the future (creating client
in JavaScript and HTTP APIs).
|