修正nagios主机配置文件-创新互联

# cat 172.16.1.1.cfg

创新互联公司是一家专业提供广安企业网站建设,专注与成都做网站、网站建设、H5网站设计、小程序制作等业务。10年已为广安众多企业、政府机构等服务。创新互联专业网站制作公司优惠进行中。

define host{

    use           linux-server

    host_name        172.16.1.1

    alias          172.16.1.1

    address         172.16.1.1

    }

define service{

    use           generic-service

    host_name        172.16.1.1

    service_description   check_ping

    check_command      check_ping!100.0,20%!200.0,50%

    max_check_attempts    5

    normal_check_interval  1

    }

define service{

    use           generic-service

    host_name        172.16.1.1

    service_description   check_ssh

    check_command      check_ssh

    max_check_attempts    5

    normal_check_interval  1

    notification_interval  60

    }

define service{

    use           generic-service

    host_name        172.16.1.1

    service_description   check_http

    check_command      check_http

    max_check_attempts    5

    normal_check_interval  1

    notification_interval  60

}

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       Root Partition

    check_command          check_nrpe!check_root

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       Current Users

    check_command          check_nrpe!check_users

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       Total Processes

    check_command          check_nrpe!check_total_procs

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       check_load

    check_command          check_nrpe!check_load

    max_check_attempts        5

    normal_check_interval      1

}

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       check_disk_opt

    check_command          check_nrpe!check_opt

    max_check_attempts        5

    normal_check_interval      1

}

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       port 12345

    check_command          check_tcp!12345

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       port 12310

    check_command          check_tcp!12310

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       port 12306

    check_command          check_tcp!12306

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       port 12307

    check_command          check_tcp!12307

    }

define service{

    use               generic-service

    host_name            172.16.1.1

    service_description       check_mem

    check_command          check_nrpe!check_mem

    max_check_attempts        5

    normal_check_interval      1

}

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


当前题目:修正nagios主机配置文件-创新互联
浏览地址:http://hbruida.cn/article/ccjode.html