Skip to main content

Application Monitor

The script is unofficial and not supported by Ultra.cc staff.

This script can be used to automatically restart applications if they go offline unexpectedly. The activity can be logged to a log file or be sent to discord.

Installaion

  • Run the following command via SSH:
bash <(wget -qO- https://scripts.usbx.me/main/Utility%20Scripts/app-monitor-install.sh)
  • You will be given a choice to choose between storing logs and receiving discord notifications. In that case that you plan to receive discord notifications, keep a discord webhook URL ready to be used with the script.
  • The script will ask for a list of applications that you wish to monitor.
  • Example:
Please enter all applications you want to monitor with a single space in between(for example sonarr radarr lidarr):
  • Enter the application names with a space between each one and then hit Enter.

Uninstallation

    • Run the following command via SSH:
bash <(wget -qO- https://scripts.usbx.me/main/Utility%20Scripts/app-monitor-install.sh)
  • Select 1 when promoted to confirm uninstallation.

We are working on a script that aims to improve the existing one's functionality. All feedback for this one is welcome via tickets or discord - it will be used to improve the next version.

Caveats

1) Do not uninstall applications that are being monitored by the Application Monitor script.
  • You should only monitor applications that you do not plan to uninstall. OR Set up the script again before uninstalling a monitored application.
2) An issue that may occur with manual upgrades of docker applications.
  • The script checks all applications periodically and either restarts or upgrades them. In that case that you upgrade an application manually, it will be down for a certain amount of time. If the script happens to run it's check when the application is down due to your manual upgrade action, the script will queue another upgrade. This will result in your application upgrading twice, it's not a major issue but it's not ideal either.