TailWatch driver monitors the log file for activities and then depending on the activity, it takes action. The chkservd driver determines if a certain process is online and whether to restart the process based on connection-based monitoring and process-based monitoring.
However, there is a common chkservd issue which takes place when one does not monitor or did not disable a service but it still continues to appear as offline in WHM’s Service Manager Interface.
To fix the problems, one needs to perform the following steps:
The other TailWatch drivers excepting the chkservd driver do not maintain their own log files or configuration.
One needs to pass command line flags to the /usr/local/cpanel/libexec/tailwatchd file to control the TailWatch process.
One needs to run the command to avail the full list of flags:
Adding a new driver is needed to add custom functionality to TailWatch Full documentation, and examples for customizations are contained in the PerlDoc for TailWatch module.
One needs to run the command to access the documentation:
/usr/local/cpanel/libexec/tailwatchd – perldoc
One can place new drivers in the /usr/local/cpanel/Cpanel/TailWatch directory and then can restart it to load the new drivers.
TailWatch is a technical driver which is used to troubleshoot many technical problems. The problems encountered can be fixed with the above steps. One can again continue to use it in WHM and cPanel servers.