- 论坛徽章:
- 0
|
六:contact.cfg的配置
define contact{
name mycontact
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r,f,s
host_notification_options d,u,r,f,s
service_notification_commands send_service_alert_email
host_notification_commands send_host_alert_email
register 0
}
define contact{
contact_name ghj
alias abcd
use mycontact
email ******@*****.cn
}
}
define contact{
name phone-template
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c
host_notification_options d
service_notification_commands send_service_alert_sms
host_notification_commands send_host_alert_sms
register 0
}
define contact{
contact_name xyz
alias xyz
use phone-template
address1 136********
}
define contactgroup{
contactgroup_name phone-group
alias phone group
members ghj ,xyz
}
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/84257/showart_1359542.html |
|