jenkins 在 8085 端口上运行,可通过浏览器访问。Monit 在尝试访问时总是得到 403。
Remote Host 'jenkins'
status Connection failed
monitoring status Monitored
monitoring mode active
on reboot start
port response time FAILED to [jenkins.internal]:8085 type TCP/IP protocol HTTP
data collected Thu, 04 Nov 2021 09:11:52
这是什么原因?我想 monit 只是在 / 上发出 GET 请求
更新:i5 硬件上的 Ubuntu 18.04,监控配置:
check host jenkins with address jenkins.internal
every 3 cycles
if failed port 8085 protocol http then alert