Palvelun valvonnan käyttöönotto CWP Control Panel ServicesMonitorissa (systemd)

LinuxPidä palvelu toiminnassa vakaasti palvelimella verkkosivustoa vartenSEOHyvin tärkeä.

CWP ohjauspaneeliAuttaa sinua palvelun seurantatyökalujen kautta.

Palvelun valvonnan käyttöönotto CWP Control Panel ServicesMonitorissa (systemd)

Kuinka ServicesMonitor (systemd) otetaan käyttöön CWP-ohjauspaneelissa?

Palvelun valvonnan käyttöönotto CWP:ssä:

  1. muodosta yhteys omaanCWP安装
  2. Katso ylösPalveluiden konfigurointi-> Palvelunvalvonta( systemd )选项
  3. Valitse/syötä:
    Ota käyttöön poista käytöstä- Tämä ottaa palvelun valvonnan käyttöön tai poistaa sen käytöstä.
    Email ilmoituksetLähetä - Anna sähköpostiosoite, johon saat ilmoitukset.
    Tarkista jokainen- aikaväli tarkastusten välillä
  4. Valitse palvelu, jota haluat seurata, esimerkiksi: mariadb.service, monit.service
  5. klikkaus提交-painiketta.Näet vahvistusviestin:
Service Monitoring is not enabled
Enabling monitoring in cron
MAILTO=cwp1@ chenweilaing.com
*/15 * * * * root /usr/local/bin/svcMonitor-systemd
Monitoring Enabled: Yes

varotoimet:

  • å|,æžœsystemd-tilaPalvelu onUnknown,Seuranta ei toimi palveluille.
  • Valitut seurattavat palvelut tallennetaan tiedostoon /usr/local/etc/services-monitor-systemdsisään.
  • Monitoring cron -työt löytyvät tiedostosta/etc/cron.d/svcMonitor-systemdkeskikokoinenilmestyä.

Voit myös läpäistächkconfigKomento lisätä/poistaa palveluita manuaalisesti:

chkconfig service_name on
chkconfig service_name off

Esimerkiksi kun kaikki saatavilla olevat palvelut ovat käytössä, näytämme cron-viestejä, kuten:

From: (Cron Daemon) <[email protected]>
Subject: Cron <root@cwp1> /usr/local/bin/svcMonitor-systemd

Restarted service amavisd.service on cwp1 at Sat Mar 31 01:00:01 EDT 2018 Job for amavisd.service failed because the control process exited with error code. See “systemctl status amavisd.service” and “journalctl -xe” for details.

Restarted service arp-ethers.service on cwp1 at Sat Mar 31 01:00:03 EDT 2018 Restarted service [email protected] on cwp1 at Sat Mar 31 01:00:04 EDT 2018 Failed to stop [email protected]: Unit name [email protected] is missing the instance name.

See system logs and ‘systemctl status [email protected]‘ for details.

Failed to get load state of [email protected]: Unit name [email protected] is missing the instance name.

Failed to start [email protected]: Unit name [email protected] is missing the instance name.

See system logs and ‘systemctl status [email protected]‘ for details.

Restarted service console-shell.service on cwp1 at Sat Mar 31 01:00:05 EDT 2018 Restarted service garb.service on cwp1 at Sat Mar 31 01:00:06 EDT 2018 Restarted service [email protected] on cwp1 at Sat Mar 31 01:00:07 EDT 2018 Failed to stop [email protected]: Unit name [email protected] is missing the instance name.

See system logs and ‘systemctl status [email protected]‘ for details.

Failed to get load state of [email protected]: Unit name [email protected] is missing the instance name.

Failed to start [email protected]: Unit name [email protected] is missing the instance name.

See system logs and ‘systemctl status [email protected]‘ for details.

Restarted service ntalk.service on cwp1 at Sat Mar 31 01:00:09 EDT 2018 Job for ntalk.service failed because a configured resource limit was exceeded. See “systemctl status ntalk.service” and “journalctl -xe” for details.

Restarted service rdisc.service on cwp1 at Sat Mar 31 01:00:10 EDT 2018 Job for rdisc.service failed because the control process exited with error code. See “systemctl status rdisc.service” and “journalctl -xe” for details.

Restarted service [email protected] on cwp1 at Sat Mar 31 01:00:17 EDT 2018 Failed to stop [email protected]: Unit name [email protected] is missing the instance name.

See system logs and ‘systemctl status [email protected]‘ for details.

Failed to get load state of [email protected]: Unit name [email protected] is missing the instance name.

Failed to start [email protected]: Unit name [email protected] is missing the instance name.

See system logs and ‘systemctl status [email protected]‘ for details.

Restarted service svnserve.service on cwp1 at Sat Mar 31 01:00:18 EDT 2018 Job for svnserve.service failed because the control process exited with error code. See “systemctl status svnserve.service” and “journalctl -xe” for details.

Restarted service tcsd.service on cwp1 at Sat Mar 31 01:00:19 EDT 2018 Job for tcsd.service failed because the control process exited with error code. See “systemctl status tcsd.service” and “journalctl -xe” for details.

Restarted service vzfifo.service on cwp1 at Sat Mar 31 01:00:20 EDT 2020

CWP-ohjauspaneeli Ota ServicesMonitor (systemd) Video Tutorial käyttöön

Tässä artikkelissa kerrotaan, kuinka CWP-ohjauspaneeli ottaa käyttöön ServicesMonitorin (systemd) palvelun valvonnanYouTubeVideo opetusohjelma▼

Hope Chen Weiliang -blogi ( https://www.chenweiliang.com/ ) jaettu "How to Enable ServicesMonitor (systemd) in CWP Control Panel", josta on sinulle hyötyä.

Tervetuloa jakamaan tämän artikkelin linkki:https://www.chenweiliang.com/cwl-1414.html

Tervetuloa Chen Weiliangin blogin Telegram-kanavalle saadaksesi viimeisimmät päivitykset!

🔔 Saat ensimmäisenä arvokkaan "ChatGPT Content Marketing AI Toolin käyttöoppaan" kanavan ylähakemistoon! 🌟
📚 Tämä opas sisältää valtavasti arvoa, 🌟Tämä on harvinainen tilaisuus, älä missaa sitä! ⏰⌛💨
Jaa ja tykkää jos tykkäät!
Jakamasi ja tykkäyksesi ovat jatkuva motivaatiomme!

 

发表 评论

Sähköpostiosoitettasi ei julkaista. 必填 项 已 用 * 标注

Vieritä ylös