Ho CentOS 7 e hloka ho hlophisoa bakeng sa memcached Monit monitoringHa ke etsa lenaneo, ke kopana le bothata ba hore memcached ha e khone ho fumana faele ea pid ...

Litlhophiso tsohle tseo re ka li fumanang ho googling li na le mohala ona:
check process memcached with pidfile /var/run/memcached/memcached.pid
empa,/var/run ha ho le ea mong memcached.pid faele, kapa /var/run/memcached foldara.
hlahlobisitsoe /usr/lib/systemd/system/memcached.service
[Service] Type=simple EnvironmentFile=-/etc/sysconfig/memcached ExecStart=/usr/bin/memcached -u $USER -p $PORT -m $CACHESIZE -c $MAXCONN $OPTIONS
- Ka hona, ha ho na tsela ea ho ea faeleng ea .pid.
- Haeba u sheba memcached ntle le faele ea .pid?
- Hape, na faele ee ea .pid e ka ba sebakeng se seng?
CentOS 7 e hlakisa aterese ea sebaka sa faele ea memcache pid joang?
Tharollo ke ho hlakisa aterese ea faele ea memcache pid eo u e boletseng ho tlhophiso ea tlhahlobo ea Monit▼
check process memcached with pidfile /var/run/memcached/memcached.pid
Kenya aterese ea faele ea memcached pid e latelang▼
check process memcached with match memcached
Litlhophiso tsa rona tsa memcached:
check process memcached with match memcached start program = "/usr/bin/systemctl start memcached" stop program = "/usr/bin/systemctl stop memcached" if failed host 127.0.0.1 port 11211 protocol MEMCACHE then restart if cpu > 70% for 2 cycles then alert if cpu > 98% for 5 cycles then restart if 2 restarts within 3 cycles then timeout
Bakeng sa mokhoa oa ho kenya Centos 7 Monit monitoring 5.14, ka kopo sheba thuto e latelang▼
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) o arolelane "memcached ha e fumane faele ea pid? CentOS 7 Hlalosa memcache pid" ho u thusa.
Rea u amohela ho arolelana sehokelo sa sengoloa sena:https://www.chenweiliang.com/cwl-26685.html
Ho notlolla maqheka a patiloeng🔑, rea u amohela ho kenela mocha oa rona oa Telegraph!
Share le ho rata haeba u e rata! Likabelo tsa hau le tseo u li ratileng ke khothatso ea rona e tsoelang pele!
