nagios检测http

时间:2023-03-09 08:57:45
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 nagios检测http218.207.182.118 -p 8080 -u "/fss/"
        contact_groups                  admins
        notifications_enabled           1
        }