Bandwidth statistics are not updated for VPS from specific SolusVM node

Applicable to:

  • SolusVM

Symptoms

Bandwidth statistics are not updated for VPS in SolusVM > Virtual Servers > VPS from specific SolusVM node.

Cause

Cron task /etc/cron.d/solusvm_traffic_accounting_slv on the affected SolusVM node is empty:

# cat /etc/cron.d/solusvm_traffic_accounting_slv
#

Resolution

  1. Access the affected SolusVM node over SSH.

  2. Add the following content to /etc/cron.d/solusvm_traffic_accounting_slv:

    CONFIG_TEXT: Cron Job for SolusVM traffic counting (v2)
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    */5 * * * * root /usr/bin/php /usr/local/solusvm/includes/data_aggr.php >/dev/null 2>&1
    */1 * * * * root /usr/bin/php /usr/local/solusvm/includes/bw_setrules.php >/dev/null 2>&1
    # END

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.