CWP ਕੰਟਰੋਲ ਪੈਨਲ ਸਰਵਿਸਿਜ਼ ਮਾਨੀਟਰ (ਸਿਸਟਮਡ) ਵਿੱਚ ਸੇਵਾ ਨਿਗਰਾਨੀ ਨੂੰ ਕਿਵੇਂ ਸਮਰੱਥ ਕਰੀਏ

ਵਿਚਲੀਨਕਸਸਰਵਰ 'ਤੇ, ਵੈਬਸਾਈਟ ਲਈ, ਸੇਵਾ ਨੂੰ ਸਥਿਰਤਾ ਨਾਲ ਚੱਲਦਾ ਰੱਖੋSEOਬਹੁਤ ਹੀ ਮਹੱਤਵਪੂਰਨ.

CWP ਕੰਟਰੋਲ ਪੈਨਲਸੇਵਾ ਨਿਗਰਾਨੀ ਸਾਧਨਾਂ ਰਾਹੀਂ ਤੁਹਾਡੀ ਮਦਦ ਕਰੇਗਾ।

CWP ਕੰਟਰੋਲ ਪੈਨਲ ਸਰਵਿਸਿਜ਼ ਮਾਨੀਟਰ (ਸਿਸਟਮਡ) ਵਿੱਚ ਸੇਵਾ ਨਿਗਰਾਨੀ ਨੂੰ ਕਿਵੇਂ ਸਮਰੱਥ ਕਰੀਏ

CWP ਕੰਟਰੋਲ ਪੈਨਲ ਵਿੱਚ ServicesMonitor (systemd) ਨੂੰ ਕਿਵੇਂ ਸਮਰੱਥ ਕਰੀਏ?

CWP ਵਿੱਚ ਸੇਵਾ ਨਿਗਰਾਨੀ ਨੂੰ ਸਮਰੱਥ ਕਰਨ ਲਈ:

  1. ਤੁਹਾਡੇ ਨਾਲ ਜੁੜੋਸੀ.ਡਬਲਿਊ.ਪੀਇੰਸਟਾਲੇਸ਼ਨ
  2. ਲੱਭੋਸੇਵਾਵਾਂ ਸੰਰਚਨਾ->ਸੇਵਾਵਾਂ ਮਾਨੀਟਰ( systemd )选项
  3. ਚੁਣੋ / ਦਾਖਲ ਕਰੋ:
    ਅਯੋਗ ਨੂੰ ਯੋਗ- ਇਹ ਸੇਵਾ ਨਿਗਰਾਨੀ ਨੂੰ ਸਮਰੱਥ/ਅਯੋਗ ਕਰ ਦੇਵੇਗਾ।
    Email ਸੂਚਨਾਵਾਂਨੂੰ ਭੇਜੋ - ਈਮੇਲ ਪਤਾ ਦਰਜ ਕਰੋ ਜਿੱਥੇ ਤੁਹਾਨੂੰ ਸੂਚਨਾਵਾਂ ਪ੍ਰਾਪਤ ਹੋਣਗੀਆਂ।
    ਹਰ ਚੈੱਕ ਕਰੋ- ਚੈਕਾਂ ਵਿਚਕਾਰ ਸਮਾਂ ਅੰਤਰਾਲ
  4. ਉਹ ਸੇਵਾ ਚੁਣੋ ਜਿਸ ਦੀ ਤੁਸੀਂ ਨਿਗਰਾਨੀ ਕਰਨਾ ਚਾਹੁੰਦੇ ਹੋ, ਉਦਾਹਰਨ ਲਈ: mariadb.service, monit.service
  5. ਕਲਿੱਕ ਕਰੋ提交ਬਟਨ।ਤੁਸੀਂ ਇੱਕ ਪੁਸ਼ਟੀਕਰਨ ਸੁਨੇਹਾ ਵੇਖੋਗੇ:
Service Monitoring is not enabled
Enabling monitoring in cron
MAILTO=cwp1@ chenweilaing.com
*/15 * * * * root /usr/local/bin/svcMonitor-systemd
Monitoring Enabled: Yes

ਨੋਟ:

  • 如果systemd ਸਥਿਤੀਸੇਵਾ ਹੈUnknown,ਸੇਵਾਵਾਂ ਲਈ ਨਿਗਰਾਨੀ ਕੰਮ ਨਹੀਂ ਕਰੇਗੀ।
  • ਨਿਗਰਾਨੀ ਲਈ ਚੁਣੀਆਂ ਗਈਆਂ ਸੇਵਾਵਾਂ ਨੂੰ ਫਾਈਲ ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਕੀਤਾ ਜਾਵੇਗਾ /usr/local/etc/services-monitor-systemdਵਿੱਚ.
  • ਮਾਨੀਟਰਿੰਗ ਕਰੋਨ ਨੌਕਰੀਆਂ ਫਾਈਲ ਵਿੱਚ ਲੱਭੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ/etc/cron.d/svcMonitor-systemdਹਾਜਰ ਹੋਇਆ.

ਤੁਸੀਂ ਵੀ ਪਾਸ ਕਰ ਸਕਦੇ ਹੋchkconfigਸੇਵਾਵਾਂ ਨੂੰ ਹੱਥੀਂ ਜੋੜਨ/ਹਟਾਉਣ ਲਈ ਹੁਕਮ:

chkconfig service_name on
chkconfig service_name off

ਉਦਾਹਰਨ ਲਈ, ਜਦੋਂ ਸਾਰੀਆਂ ਉਪਲਬਧ ਸੇਵਾਵਾਂ ਸਮਰੱਥ ਹੁੰਦੀਆਂ ਹਨ, ਤਾਂ ਅਸੀਂ ਕ੍ਰੋਨ ਸੁਨੇਹੇ ਪ੍ਰਦਰਸ਼ਿਤ ਕਰਾਂਗੇ ਜਿਵੇਂ ਕਿ:

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 ਕੰਟਰੋਲ ਪੈਨਲ ਸੇਵਾ ਮਾਨੀਟਰ (ਸਿਸਟਮਡ) ਵੀਡੀਓ ਟਿਊਟੋਰਿਅਲ ਨੂੰ ਸਮਰੱਥ ਬਣਾਓ

ਹੇਠਾਂ ਦਿੱਤਾ ਗਿਆ ਹੈ ਕਿ ਕਿਵੇਂ ਇਸ ਲੇਖ ਵਿੱਚ CWP ਕੰਟਰੋਲ ਪੈਨਲ ਸਰਵਿਸ ਮਾਨੀਟਰਿੰਗ ਸਰਵਿਸਿਜ਼ ਮਾਨੀਟਰ (ਸਿਸਟਮਡ) ਨੂੰ ਸਮਰੱਥ ਬਣਾਉਂਦਾ ਹੈYouTube 'ਵੀਡੀਓ ਟਿਊਟੋਰਿਅਲ▼

ਹੋਪ ਚੇਨ ਵੇਇਲਿਯਾਂਗ ਬਲੌਗ ( https://www.chenweiliang.com/ ) ਨੇ "CWP ਕੰਟਰੋਲ ਪੈਨਲ ਵਿੱਚ ServicesMonitor (systemd) ਨੂੰ ਕਿਵੇਂ ਸਮਰੱਥ ਕਰੀਏ" ਸਾਂਝਾ ਕੀਤਾ, ਜੋ ਤੁਹਾਡੇ ਲਈ ਮਦਦਗਾਰ ਹੈ।

ਇਸ ਲੇਖ ਦਾ ਲਿੰਕ ਸਾਂਝਾ ਕਰਨ ਲਈ ਸੁਆਗਤ ਹੈ:https://www.chenweiliang.com/cwl-1414.html

ਹੋਰ ਲੁਕਵੇਂ ਗੁਰੁਰ🔑 ਨੂੰ ਅਨਲੌਕ ਕਰਨ ਲਈ, ਸਾਡੇ ਟੈਲੀਗ੍ਰਾਮ ਚੈਨਲ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣ ਲਈ ਸਵਾਗਤ ਹੈ!

ਜੇ ਚੰਗਾ ਲੱਗੇ ਤਾਂ ਸ਼ੇਅਰ ਅਤੇ ਲਾਈਕ ਕਰੋ! ਤੁਹਾਡੇ ਸ਼ੇਅਰ ਅਤੇ ਪਸੰਦ ਸਾਡੀ ਨਿਰੰਤਰ ਪ੍ਰੇਰਣਾ ਹਨ!

 

ਇੱਕ ਟਿੱਪਣੀ ਪੋਸਟ

您的邮箱地址不会被公开. ਲੋੜੀਂਦੇ ਖੇਤਰ ਵਰਤੇ ਜਾ ਰਹੇ ਹਨ * ਲੇਬਲ

ਚੋਟੀ ੋਲ