HoLinuxHo seva, boloka ts'ebeletso e sebetsa ka mokhoa o tsitsitseng, bakeng sa sebaka sa marang-rangSEOE bohlokoa haholo.
Sehlopha sa Taolo sa CWPE tla u thusa ka lisebelisoa tsa tlhahlobo ea lits'ebeletso.
Mokhoa oa ho nolofalletsa ServicesMonitor (systemd) ho phanele ea taolo ea CWP?
Ho nolofalletsa tlhokomelo ea litšebeletso ho CWP:
- hokela ya haoCWP安装
- sheba holimoLitšebeletso tsa Config->ServicesMonitor( systemd )Khetha
- Khetha/kena:
Etsa / thibela- Sena se tla etsa hore / tima ts'ebeletso ea tlhokomelo.
Email litsebisoRomela ho - Kenya aterese ea lengolo-tsoibila moo u tla fumana litemoso.
Sheba ntho e 'ngoe le e 'ngoe- nako karohano pakeng tsa licheke - Khetha tšebeletso eo u batlang ho e beha leihlo, mohlala: mariadb.service, monit.service
- tobetsa提交konopo.U tla bona molaetsa oa netefatso:
Service Monitoring is not enabled Enabling monitoring in cron MAILTO=cwp1@ chenweilaing.com */15 * * * * root /usr/local/bin/svcMonitor-systemd Monitoring Enabled: Yes
Tlhokomeliso:
- 如果boemo ba systemdtšebeletso ke
Unknown
,Tlhokomelo e ke ke ea sebetsa bakeng sa litšebeletso. - Litšebeletso tse khethiloeng tsa ho beha leihlo li tla bolokoa faeleng
/usr/local/etc/services-monitor-systemd
ka hare. - Tlhokomelo ea mesebetsi ea cron e ka fumanoa faeleng
/etc/cron.d/svcMonitor-systemd
Boharenghlaha.
U ka boela ua fetachkconfigLaela ho kenya / ho tlosa lits'ebeletso ka letsoho:
chkconfig service_name on
chkconfig service_name off
Mohlala, ha lits'ebeletso tsohle tse fumanehang li lumelletsoe, re tla bonts'a melaetsa ea cron joalo ka:
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 Control Panel Enable ServicesMonitor (systemd) Video Tutorial
Se latelang ke kamoo phanele ea taolo ea CWP e nolofalletsang lits'ebeletso tsa tlhokomelo ea lits'ebeletso ServicesMonitor (systemd) sengolong senaYouTubeLithuto tsa video▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) o ile a arolelana "How to Enable ServicesMonitor (systemd) ho CWP Control Panel", e leng thuso ho uena.
Rea u amohela ho arolelana sehokelo sa sengoloa sena:https://www.chenweiliang.com/cwl-1414.html
Rea u amohela ho mocha oa Telegraph oa blog ea Chen Weiliang ho fumana lintlha tsa morao-rao!
📚 Tataiso ena e na le boleng bo boholo, 🌟Ona ke monyetla o sa tloaelehang, se ke oa o fetoa! ⏰⌛💨
Share le rata haeba u rata!
Ho arolelana le lintho tseo u li ratang ke khothatso ea rona e tsoelang pele!