Elastic monitor and restart with WHM chkservd service

  • Thread starter Thread starter philmckrackon
  • Start date Start date

philmckrackon

Guest
Member
I have added the Elastic monnittor to
in /etc/chkserv.d/chkservd.conf
as
elasticsearch:1

and also vied
elasticsearch in /etc/chkserv.d
with line
service[elasticsearch]=9200,curl -XGET 'http://localhost:9200',200,/bin/systemctl restart elasticsearch.service,elasticsearch,root

Am I qurring corrcttly?

THanks,

Continue reading...

Continue reading...
 
Top