| Age | Commit message (Collapse) | Author |
|
|
|
To minimize defining the same templates in notification, user can set
default down and up templates under the default section.
|
|
In the main configuration, lilin.cfg, user now can add "notif" section with
kind "smtp" to send notification using user's email.
This require renaming "webhook_url" to "remote_url" to minimize duplicate
field, so different kind of notif can use the same "remote_url" value.
|
|
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
|
|
|
|
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).
|
|
Instead of defining the options in the Service, create it in the
ServiceOptions and pass it to NewService function.
In this way, we can check it, initialize it, and set default value.
The Address option now use URL with scheme, so we can derive the
service type based on the scheme, for example "http://" for HTTP based
service, "tcp://xxx" for TCP based service, and so on.
|