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

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://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在线免费观看| 少妇38p高潮在线| 亚洲一区日韩精品电影| 熟女少妇久久中文字幕| 黄色国产传媒在线播放| 国产又大又黄又粗的黄色| 国产高跟丝袜av专区| 日韩一区欧美中文字幕| 亚洲国产日韩一区二区在线| 操小姑娘国产精品视频| 91在线人妻一区二区三区| 成人黄色暖暖韩日视频| 久久一区二区三区播放| 亚洲青青草原自拍偷拍| 成熟人妻一区二区三区人妻| 国产不卡视频观看网站| av成人黄色片在线播放| 少妇太爽高潮在线播放| 少妇二区三区精品视频| 国产又黄又粗的视频| 日本一区二区在线高清| 亚洲精品日韩一区二区| 岛国av有码高清在线观看| 18岁以下禁看视频网站| 久久久人妻精品少妇av| 人人妻人人澡人人爽人人精品| 国产自产一区二区三区精品| 美女诱惑丝袜国产国产av丝袜| 日本 一区二区在线| 久久久国产精品视频网站| 乱熟av一区二区三区| 天天干夜夜泡天天操| 99热国产这里只有精品| 日本一区二区高清网址| 无套内谢少妇高朝毛片| 人妻日韩字幕一区二区| 国产一级二级三级在线电影| 国产97精品在线播放|