From 7cac2d91bc5894ca2febac638501f1b42fc57f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 11 Sep 2018 20:57:32 +0300 Subject: [PATCH] Add "What Can I Monitor" section in the Welcome page. --- CHANGELOG.md | 5 ++++ static/css/welcome.css | 4 +++ templates/front/welcome.html | 55 +++++++++++++++++++++++++++++++++++- 3 files changed, 63 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 884dc4ee..73726349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## Unreleased + +### Improvements +- Content updates in the "Welcome" page. + ## 1.1.0 - 2018-08-20 ### Improvements diff --git a/static/css/welcome.css b/static/css/welcome.css index 72b6b2ab..180ff5cd 100644 --- a/static/css/welcome.css +++ b/static/css/welcome.css @@ -93,6 +93,10 @@ font-size: 12px; } +.use-cases li { + line-height: 200%; +} + .page-welcome .tab-content { border: 1px solid #ddd; border-top: 0; diff --git a/templates/front/welcome.html b/templates/front/welcome.html index 5c5b34d3..186d7104 100644 --- a/templates/front/welcome.html +++ b/templates/front/welcome.html @@ -318,6 +318,7 @@

Integrations
Set up additional ways to get notified: +

@@ -325,10 +326,12 @@

Email
 

+ {% if enable_sms %}
SMS icon

SMS
 

+ {% endif %}
Webhook icon

Webhooks
 

@@ -337,22 +340,30 @@ Slack icon

Slack
Chat

+ {% if enable_telegram %}
Telegram icon

Telegram
Chat

+ {% endif %} + {% if enable_pushover %}
Pushover icon

Pushover
Push Notifications

+ {% endif %} + {% if enable_pushbullet %}
Pushbullet icon

Pushbullet
Push Notifications

+ {% endif %} + {% if enable_pd %}
PagerDuty icon

PagerDuty
Incident Management

+ {% endif %}
HipChat icon

HipChat
Chat

@@ -361,10 +372,12 @@ VictorOps icon

VictorOps
Incident Management

+ {% if enable_discord %}
Discord icon

Discord
Chat

+ {% endif %}
OpsGenie icon

OpsGenie
Incident Management

@@ -374,9 +387,49 @@

PagerTree
Incident Management

- +
+
+

What Can I Monitor With {% site_name %}?

+
+
+

Cron Jobs

+

{% site_name %} monitoring is a great fit for cron jobs and cron-like systems + (systemd timers, Jenkins build jobs, Windows Scheduled Tasks, wp-cron, uwsgi cron-like + interface, Heroku Scheduler, ...). A failed cron job often has no immediate visible + consequences, and can go unnoticed for a long time.

+ +

Specific examples:

+
    +
  • Filesystem backups
  • +
  • Database backups
  • +
  • Daily, weekly, monthly report emails
  • +
  • SSL renewals
  • +
  • Business data import and sync
  • +
  • Antivirus scans
  • +
  • Dynamic DNS updates
  • +
+
+
+

Processes, Services, Servers

+ +

{% site_name %} monitoring can be used for lightweight server monitoring: + ensuring a particular system service, or the server as a whole is alive and healthy. + Write a shell script that checks for a specific condition, and pings {% site_name %} + if successful. Run the shell script regularly.

+ +

Specific examples:

+
    +
  • Check a specific docker container is running
  • +
  • Check a specific application process is running
  • +
  • Check database replication lag
  • +
  • Check system resources: free disk, free RAM, ...
  • +
  • Send simple, unconditional "I'm alive" messages from your server (or your NAS, + router, Raspberry Pi, ...)
  • +
+
+