.pdf)
WHM Plugins
eximstats, chchkservd, antirelayd and cpbandwd. Each of those older processes performed very similar functions. By merging the common functionality into a single process, system resource requirements are reduced.
antirelayd
cpbandwd
chkservd
eximstats
/usr/local/cpanel/bin/eximstats, are modified to no longer function after the upgrade. These scripts will eventually be removed by a later update. Attempting to start the older process will result in failure and a message being displayed informing the user to use TailWatch instead.
The chkservd monitors for antirelayd, cpbandwd and eximstats are removed by the upgrade. The chkservd monitor then simply monitors the tailwatchd service to ensure all enabled drives are loaded and running. You can control which drivers are enabled via WHM -> Service Configuration -> Service Manager.
chkservd is the driver used to determine if a process is online and whether it needs to be restarted. You can decide which services are monitored via the WHM -> Service Configuration -> Service Manager interface.
chkservd checks each service once every 5 minutes to determine if it is online. It will detail it's findings to the chkservd log file. This file can be found at:
chkservd will move onto the next. If a service is offline, it will attempt to restart it via the cPanel restart scripts located in:
clamd.
clamd can be replaced with any other service.
chkservd restart file: chkservd configuration file with your preferred text editor. You may need to remove the line for clamd. The chkservd configuration file can be found at: chkservd: /usr/local/cpanel/bin/tailwatchd. The full list of flags is obtainable using the -help flag:
/usr/local/cpanel/bin/tailwatchd - Driver based real time log processing
--help This screen--version Show version of Cpanel::TailWatch--version=long Same as --version but also include active driver modules versioninformation also.--status Status information--status=long Same as --status but also include information about the PID if its running--stop Stop current tailwatch daemon--start Start tailwatch daemon--restart Start tailwatch daemon, stopping it first if necessary--trace log the first 10,000 lines the drivers collectively process--trace=n log the first 'n' lines the drivers collectively processTrace only takes effect on --[re]start.--start --trace (equivalent to --start --trace=10000)--restart --trace='perl -e 'print 12+3-4+5+67+8+9;''--start --trace=1729--status --trace (--trace has no effect here)--debug This tells all driver's to log() debug messages.Debug only takes effect in --[re]start. Typically the message should be prefaced with‘[debug]’ and are about processed lines that result in an entry of some sort--perldoc This shows the POD for Cpanel::TailWatch
/usr/local/cpanel/Cpanel/TailWatch. Once the drivers are in place, restarting TailWatch will load the new drivers, providing the functionality they provide. Copyright © cPanel 2000–2011.