欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

Customcontact

Modify the command file:
# vi /etc/nagios/objects/commands.cfg

10年積累的成都網(wǎng)站設計、網(wǎng)站建設經(jīng)驗,可以快速應對客戶對網(wǎng)站的新想法和需求。提供各種問題對應的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡服務。我雖然不認識你,你也不認識我。但先做網(wǎng)站設計后付款的網(wǎng)站建設流程,更有襄州免費網(wǎng)站建設讓你可以放心的選擇與我們合作。

# 'notify-host-by-email' command definition
define command{
    command_name      notify-host-by-email
    command_line      /usr/bin/printf "\nHost: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time\n" | /bin/mail -s "$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HO
STSTATE$" $CONTACTEMAIL$
    }
# 'notify-service-by-email' command definition
define command{
    command_name      notify-service-by-email
    command_line      /usr/bin/printf "\nHost: $HOSTADDRESS$\nInfo: $SERVICEOUTPUT$\n\nDate/Time\n" | /bin/mail -s "$NOTIFICATIONTYPE$ Service Alert: $SERVICEDES
C$ is $SERVICESTATE$" $CONTACTEMAIL$
    }

Modify the template file:
# vi /etc/nagios/objects/templates.cfg

define contact{
    name                           generic-contact         ;The name of this contact template
    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  notify-service-by-email ;send service notifications via email
    host_notification_commands     notify-host-by-email    ;send host notifications via email
    register                       0                       ;DONT REGISTER THIS DEFINITION - ITS NOT A REAL CONTACT, JUST A TEMPLATE!
    }


Modify the contact file:
# vi /etc/nagios/objects/contacts.cfg

define contact{
    contact_name                   test1              ; Short name of user
    use                            generic-contact
    alias                          network Admin      ; Full name of user
    host_notifications_enabled     1
    service_notifications_enabled  1
    host_notification_period       24x7
    service_notification_period    24x7
    host_notification_options      d,u,r
    service_notification_options   w,u,c,r
    host_notification_commands     notify-host-by-email
    service_notification_commands  notify-service-by-email
    email                          test@163.com
    }
define contact{
    contact_name                   test2              ; Short name of user
    use                            generic-contact
    alias                          network Admin      ; Full name of user
    host_notifications_enabled     1
    service_notifications_enabled  1
    email                          test2@localhost.localdomain
    }
define contact{
    contact_name                   test3              ; Short name of user
    use                            generic-contact
    alias                          system Admin       ; Full name of user
    host_notifications_enabled     1
    service_notifications_enabled  1
    host_notification_period       24x7
    service_notification_period    24x7
    host_notification_options      d,u,r
    service_notification_options   w,u,c,r
    host_notification_commands     notify-host-by-email
    service_notification_commands  notify-service-by-email
    email                          464165559@qq.com
    }
define contactgroup{
    contactgroup_name    Network
    alias                Network Administrators
    members              test1,test2
    }
define contactgroup{
    contactgroup_name    System
    alias                System Administrators
    members              test3
    }


Modify the hosts file to be monitored:
# vi /etc/nagios/Linuxhosts/localhost.cfg

define service{
    use                       local-service,srv-pnp  ; Name of service template to use
    host_name                 Monitor
    service_description       Root Partition
    check_command             check_local_disk!60%!90%!/dev/sda2
    contacts                  test3
    contact_groups            Network
    }


Grammar Checker&&Restart:
# /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg
# service nagios restart

文章標題:Customcontact
網(wǎng)站鏈接:http://www.aaarwkj.com/article12/pcopdc.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供軟件開發(fā)、、Google域名注冊、服務器托管網(wǎng)站收錄

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉載,或轉載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站優(yōu)化排名
日本久久久视频在线观看| 日韩精品一区二区三区夜色| 成人黄色av在线看| 蜜桃av在线观看一区二区| 精品人妻一区二区四区| 国产一区二区三区区别| 日本熟妇一区二区三区高清视频| 亚洲福利一区福利三区| 好吊妞视频这里只有精| 在线国产精品中文字幕| 亚洲av成人在线资源| 亚洲丰满毛茸茸毛茸茸| 亚洲国产日韩一区二区在线| 韩国av电影免费观看| 久久好大好爽要死了欧美| 91成人精品永久在线观看| 亚洲欧美成人自偷自拍一区| 日韩av在线高清播放| 亚洲精品视频一区二区| 涩五月婷婷开心中文字幕| 欧美午夜精品一二三区| 欧美特黄在线免费观看| 不卡的国产在线视频| 欧美日韩国产成人一区| 日韩精品熟女一区二区三区| 欧美女人又粗又长亚洲| 久久精品一偷一偷国产| 美女在线免费观看av| 免费国产成人高清在线视频| 草草影院最新地址在线观看| 九九热视频在线观看色| 精品不卡一区二区三区| 有码不卡中文字幕在线视频 | 91制片国产在线观看| 日日激情综合久久一区| 欧美日韩精品综合国产| 黄片欧美精品在线观看| 日韩一区二区免费看视频| 国产精品黄色91熟女| 欧美日韩在线高清一区二区| 久久久亚洲福利精品午夜|