B
Barry Hunter
Guest
Hi,
We've installed SphinxSearch ( http://www.sphinxsearch.com/ ) on our server, it works great.
I'm now trying to get the WatchDog module (ala monit) to maintain it.
Plesk doesn't seem to include a way to define new services, so (probably not recommended) I inserted a new row in the psa.module_watchdog_service table.
This how shows in the list of serves on the Watchdog page, but its inactive because "Service monitoring is turned off because it shuts down frequently"
- I think the reason is havent told it how to check its alive. Looking at the monit config file, it mostly uses a pidfile to identify if the service is alive. Alas I can't find an option to tell it where the pid file is for the searchd deamon.
(I've called the monitor 'searchd' which matches the name of the sphinx deamon, in case it could simply look at the processlist)
Alas nothing for searchd is added to the monit config file.
Any ideas? Thanks!
We've installed SphinxSearch ( http://www.sphinxsearch.com/ ) on our server, it works great.
I'm now trying to get the WatchDog module (ala monit) to maintain it.
Plesk doesn't seem to include a way to define new services, so (probably not recommended) I inserted a new row in the psa.module_watchdog_service table.
This how shows in the list of serves on the Watchdog page, but its inactive because "Service monitoring is turned off because it shuts down frequently"
- I think the reason is havent told it how to check its alive. Looking at the monit config file, it mostly uses a pidfile to identify if the service is alive. Alas I can't find an option to tell it where the pid file is for the searchd deamon.
(I've called the monitor 'searchd' which matches the name of the sphinx deamon, in case it could simply look at the processlist)
Alas nothing for searchd is added to the monit config file.
Any ideas? Thanks!