Hetzner - DokuWiki

System Monitor (SysMon)/en

Inhaltsverzeichnis

The Hetzner Server Monitoring (System Monitor/SysMon)

Hetzner clients can use the Server Monitoring System to monitor their servers and have an email sent to them when the status of one of the monitored services changes.

This system can be setup in the Robot, under the "Monitoring" tab of the server.

Conditions

Please note that both "Cookies" and "JavaScript" need to be activated in your browser for both robot.your-server.de and sysmon.your-server.de for the Server Monitoring system to be usable.

In addition the server that gets monitored needs to allow all access from our Monitoring Systems.

Therefore you can query the IP addresses of our systems via DNS (pool.sysmon.hetzner.com):

$ dig pool.sysmon.hetzner.com

;; ANSWER SECTION:
pool.sysmon.hetzner.com. 6768	IN	A	213.133.113.82
pool.sysmon.hetzner.com. 6768	IN	A	188.40.24.211
pool.sysmon.hetzner.com. 6768	IN	A	213.133.113.86
pool.sysmon.hetzner.com. 6768	IN	A	213.133.113.84
pool.sysmon.hetzner.com. 6768	IN	A	213.133.113.83
...
$ dig pool.sysmon.hetzner.com AAAA

;; ANSWER SECTION:
pool.sysmon.hetzner.com. 6744	IN	AAAA	2a01:4f8:0:a101::6:1
pool.sysmon.hetzner.com. 6744	IN	AAAA	2a01:4f8:0:a101::5:1
pool.sysmon.hetzner.com. 6744	IN	AAAA	2a01:4f8:0:a112::c:1
pool.sysmon.hetzner.com. 6744	IN	AAAA	2a01:4f8:0:a101::6:3
pool.sysmon.hetzner.com. 6744	IN	AAAA	2a01:4f8:0:a101::6:2
...

If necessary we may add more in the future.

Make sure that your firewall allows access to the services of your server to be checked by the IP addresses of our Monitoring Systems.

Overview

If you are using the Server Monitoring System for the first time, you should see (with the exception of the IP addresses - you will see your own) the following:

Ueberblick 1.png

Currently neither systems nor contacts have been configured. You will simply see a list of the available systems and their IP addresses.

Contacts

You can add multiple contacts and assign different systems to them.

To add a contact you can click on the green plus sign (add button) next to the "Contacts" label. An input form will appear at the bottom of the contacts list, where you can enter description and address. By clicking on the save button (save button) the contact gets saved and is now available for the single systems.

Kontakte 1.png

Please note that the contact needs to be added to a system before it will be used (see the description lower down).

Systems/Server

If you are using the System Monitor for the first time and have not yet configured any systems, there appears at the top of the page a menu with the IP addresses of systems that are available (see illustration above).

Select the desired system and click on the button right next to it. It then appears in the list called "Configured Systems".

Konfigurierte systeme 1.png

The new system is initially disabled and has no contacts or checks. You should first add checks and contacts before you activate the system.

Right next to the IP address you can enter - through a click on the boxed area - a short description for the system, which will also appear in the email notifications.

Adding checks to a system

First, click on the small black arrow (Down.png) next to the "Checks" label of the system that you want to configure. This shows a list of all the checks that you can add, as well as a green plus sign (add button) to add individual checks.

Click on the plus sign and from the menu that appears choose the desired check type. When you have selected a check type you will see different input fields, depending on the check type.

Konfigurierte systeme 3.png

At the moment the following check types and settings are available:

  • ping - no parameters
  • port
    • port: Network port
    • type: TCP or UDP check - please note that a UDP check is not always possible (default=TCP)
  • http
    • port: Network port (standard=80), optional
    • path: Path to the test file, eg. /test/index.php (default=/), optional
    • hostname: Host or Domain name for the Host header, optional
    • user: Username for basic authorization, optional
    • pass: Password for basic authorization, optional
    • ssl: Should SSL/https be used? - please adjust the port if necessary (443). (default=no)

With the HTTP check only the status codes 200, 301 and 302 are considered to be successful.

  • ftp
    • port: Network port (default=21), optional
    • user: Username for the FTP server, optional
    • pass: Password, optional
  • pop
    • port: Network port (default=110), optional
    • user: Username for the POP server
    • pass: Password
  • imap
    • port: Network port (default=143), optional
    • user: Username for the IMAP server
    • pass: Password
    • ssl: Should SSL/https be used? - please adjust the port if necessary (443). (default=no)
  • smtp
    • port: Network port (default=25), optional
    • user: Username for the SMTP server, optional
    • pass: Password, optional
  • dns
    • port: Network port (default=53), optional
    • type: Query type: ANY A PTR CNAME MX NS SOA HINFO AXFR TXT SPF DNSKEY CERT (default=ANY)
    • zone: Zone/Domain name (default=hetzner.de)

The values ​​in parentheses indicate the default value that is used if nothing is specified.

We recommend that for those checks for which you can enter login details (username/password) you setup a separate user on the server with as few rights as possible and a secure password, solely for the checks.

Editing checks

You can modify existing checks by clicking on the list of previously configured parameters of the respective checks. An entry form will appear with the previous data which you can then change directly, and save by clicking on the save button the change directly and save by clicking on the save button (save button).

Link contacts to a system

First, click on the small black arrow (Down.png) next to the "Contacts" label of the system you want to configure. A list will open with the available contacts. Simply select the desired contact and confirm this by pressing the save button (save button).

Konfigurierte systeme 2.png

If no contacts are shown then that means you haven't configured any. If this is the case then you first need to add contacts as described above.

Setting the check and reminder interval

You can set individually for each of your systems the time interval in which the system should be checked. In addition you can also set the interval at which you want to be reminded of a faulty system.

To change one of the intervals click on the currently displayed interval - a list of options will pop up. Make your choice and press the "OK" button.

Intervalle 1.png

To apply settings click on "activate". Please note that in the event of an error during the check (e.g. your server can not be reached with a ping check) the System Monitor will only show a failure and send an email at the second consecutive failure. On the one hand this will protect you from false alarms, as for instance you could be restarting a service right at the moment that the check happens. On the other hand it means that you will be informed of an error after for example 6 minutes with a check interval of 3 minutes.

Check the status

You can check the current status of the configured systems by reloading the page or by clicking on the update button (reload button) at the top of the page:

Konfigurierte systeme 4.png



© 2017. Hetzner Online GmbH. Alle Rechte vorbehalten.