Monitoring alerts

  • What is the time difference between pressing the ON button and the reception of the mails?

    3 minutes:

    Code
    root@NASLG2:~# date
    Fri Apr  5 18:37:01 CEST 2024
    root@NASLG2:~# reboot
    root@NASLG2:~# Connection to 192.168.1.10 closed by remote host.
    Connection to 192.168.1.10 closed.



    Regarding which services do you get the mails?

    collectd

    nginx

    rrdcached


    Etc

  • What is the output of

    journalctl -u nginx?

    as example

    Code
    root@NASLG2:~# journalctl -u nginx
    Mar 30 05:41:21 NASLG2 systemd[1]: Stopping nginx.service - A high performance web server and a reverse proxy server...
    Mar 30 05:41:21 NASLG2 systemd[1]: nginx.service: Deactivated successfully.
    Mar 30 05:41:21 NASLG2 systemd[1]: Stopped nginx.service - A high performance web server and a reverse proxy server.
    Mar 30 05:41:21 NASLG2 systemd[1]: nginx.service: Consumed 40.507s CPU time.
    -- Boot 6fc0889755404259a302a7bd08e19e21 --
    Apr 01 07:36:49 NASLG2 systemd[1]: Stopping nginx.service - A high performance web server and a reverse proxy server...
    Apr 01 07:36:50 NASLG2 systemd[1]: nginx.service: Deactivated successfully.
    Apr 01 07:36:50 NASLG2 systemd[1]: Stopped nginx.service - A high performance web server and a reverse proxy server.
    Apr 01 07:36:50 NASLG2 systemd[1]: nginx.service: Consumed 1.541s CPU time.
    • Offizieller Beitrag

    Strange. After the boot there should be a "Starting nginx.service..."


    Here one example from my system

    Code
    -- Boot 1c9a134eb29e47718c97b8de765a1f2b --
    Mar 25 18:20:58 omv7 systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
    Mar 25 18:20:59 omv7 systemd[1]: Started nginx.service - A high performance web server and a reverse proxy server.
    Mar 25 18:22:23 omv7 systemd[1]: Stopping nginx.service - A high performance web server and a reverse proxy server...
    Mar 25 18:22:23 omv7 systemd[1]: nginx.service: Deactivated successfully.
    Mar 25 18:22:23 omv7 systemd[1]: Stopped nginx.service - A high performance web server and a reverse proxy server.
    -- Boot 0cd24d712f434c418ff31cda541c1311 --

    What is the output of systemctl status nginx?

  • What is the output of systemctl status nginx?

  • This still happens, by the way...

    Just disable the "Proccess Monitoring" and get rid of it for good.

    These are probably triggered by delays on the boot proccess and emails are being generated before everything is running.


    I came from a Pi4 system (then CM4) and the excess monitoring only gives a "false sense that things are failing" (IMHO)

    Now on a x64 system, I just keep it the same way:



  • ErikDB

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!