×
Logo
  • News
  • Pricing
  • Contact
  • Client Area
Control Panel

Search

Applications

Client Area

Community

Connection Details

Control Panel

Getting Started

Misc Guides

Rclone

Torrent Clients

Unofficial Application Installers

Unofficial Language Installers

Unofficial SSH Utilities

Share your knowledge, submit a guide!

Ultra.cc Documentation
Ultra.cc Documentation
📘

Traffic Monitor

Traffic Monitor

All unofficial utilities are provided for your convenience. The scripts are provided as-is and may not be updated or maintained by Ultra.cc. Clients are welcome to use and customize unofficial scripts for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff.
Use at your own risk.

This script will monitor your traffic usage and notify via Discord or log file at a threshold set by you.

Prerequisites

  • Command execution via SSH.
  • Discord Webhook URL (Optional).

How It Works

  • The script uses the Traffic Available value returned by the command app-traffic info to calculate traffic usage.
  • First, you will be asked to choose the interval at which the script will check your traffic usage.
  • Then, you will decide between getting notified via Discord and storing the warnings on a file.
  • After that, you will get to set the threshold value at which you should get the warning. This is based on the percentage of available traffic.
  • Optionally, the script can also stop all installed torrent clients on your service once the set threshold value is reached.

This script is experimental. Please do not rely on it to manage your upload traffic usage.

Installation

  • Connect to your Ultra service via SSH.
  • Execute the following command:
bash <(wget -qO- https://scripts.ultra.cc/util-v2/Ultra-Traffic-Monitor/main.sh)
  • Type 1 and confirm with ENTER to proceed with the installation
  • When prompted, type the interval (in minutes) to check your traffic. Press ENTER to confirm.
  • Next, you will be asked if you want threshold warnings to be sent as a Discord notification, or to a text file stored on your service.
    • Type 1 for Discord notification.
      • Paste your Discord Webhook URL when prompted, press ENTER to confirm
    • Type 2 for text file.
  • Next, set the threshold at which you want a warning notification, press ENTER to confirm.
  • Next, you will be asked if you want to stop torrent clients when the traffic threshold has been reached.
    • Type yes or no and press ENTER to confirm
  • A cronjob to check your traffic will be set up to run at the interval your previously selected.
  • Done!

Warning File Location

  • Only applicable to you if you choose to store the warnings to a file instead of Discord notifications.
  • It will be stored at the following location: ~/scripts/traffic_monitor/warning.txt

Uninstallation

  • Connect to your Ultra service via SSH.
  • Execute the following command:
bash <(wget -qO- https://scripts.ultra.cc/util-v2/Ultra-Traffic-Monitor/main.sh)

If you require further assistance, you can open a support ticket here!

Feedback and suggestions regarding this article are welcome on our Discord server

  • Traffic Monitor
  • Prerequisites
  • How It Works
  • Installation
  • Warning File Location
  • Uninstallation
Logo

© 2025 SlashN Services Pte. Ltd. All rights reserved.

Discord