Ispmanager 6 lite, pro, host

Resource monitoring

Resource monitoring is only available in ispmanager host.

Resource monitoring allows configuring notifications based on the data from the Server resources section.

Resource monitoring configuration

  1. Log in to ispmanager with a superuser level account.
  2. Go to the Resource monitoring section.
  3. Configure desirable options:
    • Check the box next to the resource you want to track:
      • Disk space
      • RAM
      • CPU load
    • Notify when reached — specify the resource threshold value at which the superuser will be notified.
    • Resend time period — specify the time in minutes after which a second notification will be sent when the threshold value is reached. The default setting is “1440 min” or 24 hours.
  4. Save the changes.

Resource monitoring notifications

Notifications for each resource type are based on their own template. Notifications for RAM and the CPU load contain a link to the list of all processes at the exact time the limit was reached.

In the panel

Only accounts at the administrator level and above can view the resource monitoring notifications.

Notifications are enabled by default after configuration and are shown in the notification center. For example:

By email and Telegram

The resource monitoring notifications by email and Telegram are only available to superuser accounts.

Unlike the notifications in the panel, notifications by email and Telegram need to be configured separately. 

Technical details for resource monitoring

Notification templates

Notifications for the panel:

  • Disk space: "Disk space usage has reached VALUE% (USED_SPACE GB / TOTAL_SPACE GB)".
  • RAM: "RAM usage has reached VALUE% (USED_CAPACITY GB / TOTAL_CAPACITY GB)".
  • CPU: "CPU load has reached VALUE%".

Notifications for email/Telegram:

  • Disk space: "Disk space usage on the https://DOMAIN_NAME/ispmgr server has reached VALUE% (USED_SPACE GB / TOTAL_SPACE GB)".
  • RAM: "RAM usage on the https://DOMAIN_NAME/ispmgr server has reached VALUE% (USED_CAPACITY GB / TOTAL_CAPACITY GB). View processes".
  • CPU: "CPU load on the https://DOMAIN_NAME/ispmgr server has reached VALUE%. View processes".

 

The template can be changed by the superuser in the core_msg_LANGUAGE.xml file in the /usr/local/mgr5/etc/xml/ directory:

  • <messages name="notify_disk">— the tag with the text for the disk space notifications
  • <messages name="notify_mem"> — the tag with the text for the RAM notifications
  • <messages name="notify_cpu">— the tag with the text for the CPU load notifications

The resource usage values are collected from the logs in the /usr/local/mgr5/var/sysinfostat/ directory.