Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.12
Sv translation
languageru

Подсистема мониторинга позволяет отправлять уведомления по электронной почте для случаев, когда текущее значение индикатора превышает пороговое значение.

Чтобы настроить отправку почтовых уведомлений для выбранных индикаторов:

  1. Зайдите в каталог подсистемы Nagios:
    cd /opt/iw/tm5/etc/nagios/iwmon
  2. Откройте файл iwmon-services.cfg:
    mcedit /opt/iw/tm5/etc/nagios/iwmon/iwmon-services.cfg
  3. Для того чтобы определить нужный индикатор, посмотрите поле service_description.
  4. В секции индикатора измените параметр notifications_enabled на:
    • 1 – если вы хотите включить отправку уведомлений;
    • 0 – если вы хотите выключить отправку уведомлений
      В случае, если в конфигурационном файле отсутствует параметр notifications_enabled, добавьте его вручную.

  5. Сохраните изменения в файле.

  6. Настройте подключение к одному из почтовых серверов:
    • встроенному локальному почтовому серверу Traffic Monitor с анонимным доступом (Posfix или Exim) или
    • внешнему почтовому серверу без шифрования.     
Sv translation
languageen

The monitoring subsystem enables sending email notifications where the current indicator value exceeds the threshold value.

For e-mail notifications to be sent only for selected indicators:

  1. Go to the Nagios subsystem directory:
    cd /opt/iw/tm5/etc/nagios/iwmon
  2. Open the iwmon-services.cfg configuration file:
    mcedit /opt/iw/tm5/etc/nagios/iwmon/iwmon-services.cfg:
  3. To identify the needed indicator, view the service_description field.
  4. In the indicator section, set the notifications_enabled parameter to:
    • 1 – to enable sending notifications;
    • 0 – to disable sending notifications.
      If there is no notifications_enabled parameter in the configuration file, add this parameter manually.
  5. Save changes.

  6. Set up a connection to one of the mail servers:
    • the built-in local Traffic Monitor mail server with anonymous access (Posfix or Exim) OR
    • an external mail server without encryption.