CWP Kontrol Paneli ServicesMonitor'da (systemd) hizmet izleme nasıl etkinleştirilir

LinuxSunucuda, web sitesi için hizmetin kararlı bir şekilde çalışmasını sağlayınSEOÇok önemli.

CWP Kontrol PaneliHizmet izleme araçları aracılığıyla size yardımcı olacaktır.

CWP Kontrol Paneli ServicesMonitor'da (systemd) hizmet izleme nasıl etkinleştirilir

CWP kontrol panelinde ServicesMonitor (systemd) nasıl etkinleştirilir?

CWP'de hizmet izlemeyi etkinleştirmek için:

  1. seninkine bağlanCWP安装
  2. BulmakHizmetler Yapılandırması->HizmetlerMonitor( systemd )Seçenekler
  3. Seç/Gir:
    Enable / Disable- Bu, hizmet izlemeyi etkinleştirir/devre dışı bırakır.
    EmaibildirimlerGönder - Bildirimleri alacağınız e-posta adresini girin.
    Her birini kontrol edin- kontroller arasındaki zaman aralığı
  4. İzlemek istediğiniz hizmeti seçin, örneğin: mariadb.service, monit.service
  5. Tıklamak提交buton.Bir onay mesajı göreceksiniz:
Service Monitoring is not enabled
Enabling monitoring in cron
MAILTO=cwp1@ chenweilaing.com
*/15 * * * * root /usr/local/bin/svcMonitor-systemd
Monitoring Enabled: Yes

Önlemler:

  • 如果sistem durumuhizmetUnknown,Hizmetler için izleme çalışmayacaktır.
  • İzlenecek seçilen hizmetler dosyaya kaydedilecek /usr/local/etc/services-monitor-systemdIn.
  • İzleme cron işleri dosyada bulunabilir/etc/cron.d/svcMonitor-systemdaçmak.

sen de geçebilirsinchk yapılandırmasıHizmetleri manuel olarak ekleme/kaldırma komutu:

chkconfig service_name on
chkconfig service_name off

Örneğin, mevcut tüm hizmetler etkinleştirildiğinde, aşağıdaki gibi cron mesajları görüntüleyeceğiz:

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 Kontrol Paneli Servisleri Etkinleştir (systemd) Video Eğitimi

Aşağıda, bu makaledeki CWP kontrol panelinin ServicesMonitor (systemd) hizmet izlemeyi nasıl etkinleştirdiği açıklanmaktadır.YouTubeEğitim Videosu▼

Umut Chen Weiliang Blogu ( https://www.chenweiliang.com/ ) size yardımcı olan "CWP kontrol panelinde ServicesMonitor (systemd) nasıl etkinleştirilir" paylaştı.

Bu makalenin bağlantısını paylaşmaya hoş geldiniz:https://www.chenweiliang.com/cwl-1414.html

En son güncellemeleri almak için Chen Weiliang'ın blogunun Telegram kanalına hoş geldiniz!

🔔 Kanalın üst dizinindeki değerli "ChatGPT İçerik Pazarlama Yapay Zeka Aracı Kullanım Kılavuzunu" alan ilk kişi olun! 🌟
📚 Bu rehber çok büyük değer içeriyor, 🌟Bu nadir bir fırsat, kaçırmayın! ⏰⌛💨
İsterseniz paylaşın ve beğenin!
Paylaşımlarınız ve beğenileriniz bizim sürekli motivasyonumuz!

 

发表 评论

E-posta hesabınız yayımlanmayacak. 必填 项 已 用 * 标注

yukarı kaydır