在linuxసర్వర్లో, వెబ్సైట్ కోసం సేవను స్థిరంగా నడుపుతూ ఉండండిSEOచాలా ముఖ్యమైన.
CWP కంట్రోల్ ప్యానెల్సేవా పర్యవేక్షణ సాధనాల ద్వారా మీకు సహాయం చేస్తుంది.
CWP నియంత్రణ ప్యానెల్లో ServicesMonitor (systemd)ని ఎలా ప్రారంభించాలి?
CWPలో సేవా పర్యవేక్షణను ప్రారంభించడానికి:
- మీతో కనెక్ట్ అవ్వండిCWPసంస్థాపన
- కనుగొనండిసేవలు కాన్ఫిగరేషన్->సర్వీసెస్ మానిటర్( systemd )选项
- ఎంచుకోండి/నమోదు చేయండి:
ప్రారంభించు / ఆపివేయి- ఇది సేవా పర్యవేక్షణను ఎనేబుల్/డిజేబుల్ చేస్తుంది.
Email నోటిఫికేషన్లువీరికి పంపండి - మీరు నోటిఫికేషన్లను స్వీకరించే ఇమెయిల్ చిరునామాను నమోదు చేయండి.
ప్రతిదాన్ని తనిఖీ చేయండి- తనిఖీల మధ్య సమయ విరామం - మీరు పర్యవేక్షించాలనుకుంటున్న సేవను ఎంచుకోండి, ఉదాహరణకు: mariadb.service, monit.service
- క్లిక్ చేయండి提交బటన్.మీరు నిర్ధారణ సందేశాన్ని చూస్తారు:
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 కంట్రోల్ ప్యానెల్ సేవలు మానిటర్ (systemd) వీడియో ట్యుటోరియల్ని ప్రారంభించండి
ఈ కథనంలోని CWP కంట్రోల్ ప్యానెల్ సర్వీస్ మానిటర్ సర్వీసెస్మానిటర్ (సిస్టమ్డ్)ని ఎలా ప్రారంభిస్తుందిYouTubeవీడియో ట్యుటోరియల్▼
హోప్ చెన్ వీలియాంగ్ బ్లాగ్ ( https://www.chenweiliang.com/ ) "CWP కంట్రోల్ ప్యానెల్లో సర్వీసెస్మానిటర్ (సిస్టమ్డ్)ని ఎలా ప్రారంభించాలి" అని భాగస్వామ్యం చేసారు, ఇది మీకు సహాయకరంగా ఉంటుంది.
ఈ కథనం యొక్క లింక్ను భాగస్వామ్యం చేయడానికి స్వాగతం:https://www.chenweiliang.com/cwl-1414.html
తాజా నవీకరణలను పొందడానికి చెన్ వీలియాంగ్ బ్లాగ్ యొక్క టెలిగ్రామ్ ఛానెల్కు స్వాగతం!
📚 ఈ గైడ్లో భారీ విలువ ఉంది, 🌟ఇది ఒక అరుదైన అవకాశం, దీన్ని మిస్ చేయకండి! ⏰⌛💨
నచ్చితే లైక్ చేసి షేర్ చేయండి!
మీ భాగస్వామ్యం మరియు ఇష్టాలు మా నిరంతర ప్రేరణ!