Me pehea e taea ai te tirotiro ratonga i roto i te CWP Control Panel ServicesMonitor (systemd)

LinuxI runga i te tūmau, kia mau tonu te haere o te ratonga, mo te paetukutukuSEOHe mea nui.

Paewhiri Mana CWPKa awhina koe i nga taputapu aroturuki ratonga.

Me pehea e taea ai te tirotiro ratonga i roto i te CWP Control Panel ServicesMonitor (systemd)

Me pehea e taea ai te Kaitautoko Ratonga (systemd) ki te paewhiri mana CWP?

Kia taea ai te aroturuki ratonga i CWP:

  1. hono atu ki toCWPTuhinga
  2. kiteaWhirihora Ratonga->RatongaAroturuki( pūnaha )选 noho
  3. Tīpako/Tohu:
    Whakahohea / Muku- Ma tenei ka taea/whakakorehia te aroturuki ratonga.
    Email whakamohiotangaTukuna ki - Whakauruhia te wahitau imeera ka whiwhi panui koe.
    Tirohia ia- te wa i waenga i nga arowhai
  4. Tīpakohia te ratonga e hiahia ana koe ki te aroturuki, hei tauira: mariadb.service, monit.service
  5. pawhiriaTukuapātene.Ka kite koe i tetahi karere whakau:
Service Monitoring is not enabled
Enabling monitoring in cron
MAILTO=cwp1@ chenweilaing.com
*/15 * * * * root /usr/local/bin/svcMonitor-systemd
Monitoring Enabled: Yes

Tuhipoka:

  • 如果tūnga systemdhe ratongaUnknown,Ka kore e mahi te aro turuki mo nga ratonga.
  • Ko nga ratonga kua tohua hei aroturuki ka tiakina ki te konae /usr/local/etc/services-monitor-systemdi roto i
  • Ka kitea nga mahi cron aroturuki i roto i te konae/etc/cron.d/svcMonitor-systemdWaengatahuri ake.

Ka taea hoki e koe te paahichkconfigTonoa kia taapiri/tangohia nga ratonga:

chkconfig service_name on
chkconfig service_name off

Hei tauira, ina whakahohea nga ratonga katoa e waatea ana, ka whakaatu matou i nga karere cron penei:

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

Paewhiri Mana CWP Whakahohe Ratonga Kaupane (systemd) Akoranga Ataata

Ko nga mea e whai ake nei me pehea e taea ai e te paewhiri mana CWP i roto i tenei tuhinga te aro turuki i nga ratonga ServicesMonitor (systemd)YouTubeAkoranga Ataata▼

发表 评论

Ka kore e whakaputaina to wahitau imeera. 必填 项 已 用 * Tapanga

Panuku ki te Runga