nagios检测http

/usr/local/nagios/etc/server/下相应的地址检测加上以下一段    (server下的cfg文件是检测相应服务器的模块)

 define service{
        use                             linux
        host_name                       127.0.0.1
        service_description             jxt
        check_command                   check_http!-I 218.207.182.118 -p 8080 -u "/fss/"
        contact_groups                  admins
        notifications_enabled           1
        } 
 
原文地址:https://www.cnblogs.com/jtlin/p/6232032.html