Jump to content

Recommended Posts

Posted

Помогите, пожалуйста, настроить систему уведомлений, очень надо.

Nagios 3.0a4 (пробовал и др. версии) не отправляет сообщения о восстановлении хостов. С сервисами все работает нормально (после восстановления приходит сообщение OK), где не так настроено?

Вот конфиги:

efine contact{

contact_name user1

alias name1

host_notifications_enabled 1

service_notifications_enabled 1

service_notification_period 24x7

host_notification_period 24x7

service_notification_options w,u,c,r

host_notification_options d,u,r

service_notification_commands service-notify-db

host_notification_commands host-notify-db

email user1@mail.ru

can_submit_commands 1

}

 

define host{

use generic-host_no_local

host_name 192.168.1.1

parents 192.168.1.2

alias 213/5

address 192.168.1.1

check_period 24x7

check_command check-host-alive

contact_groups domain-admins

max_check_attempts 10

notification_interval 240

notification_period 24x7

notification_options d,u,r

}

Вроде опция r везде включена...

Сотояния HOST DOWN и HOST UNREACHABLE фиксируются нормально, но при восстановлении ничего не выдается. Если мало информации дал, выложу нужные конфиги.

Заранее спасибо.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.