Enable or disable Webalizer to control whether a supported cPanel server generates Webalizer traffic statistics. This article explains how to change the server setting through the WHM command-line API and verify its value.

Check availability

You need root access to a cPanel & WHM server that still provides Webalizer.

Connect to the server using SSH as root. The skipwebalizer setting controls whether Webalizer processing is skipped. Use the WHM API rather than editing /var/cpanel/cpanel.config directly, which may not apply the setting correctly.

Enable Webalizer

Run:

whmapi1 set_tweaksetting key=skipwebalizer value=0

A value of 0 enables Webalizer processing on versions that support it. Check the API response for success or an error.

Disable Webalizer

Run:

whmapi1 set_tweaksetting key=skipwebalizer value=1

A value of 1 disables Webalizer processing. Check the API response before continuing.

Verify the setting

Run:

whmapi1 get_tweaksetting key=skipwebalizer

Confirm that the returned value matches your intended setting. This checks configuration; it does not establish that a new statistics report has already been generated or remove existing reports.

If the feature or setting is unavailable, consult the statistics tools supported by your installed cPanel version. Do not create a configuration entry to try to restore a removed feature.