Score:0

Jenkins returns 403 when monit tries to access

de flag

jenkins is running on port 8085 and accessible via browser. Monit always gets 403 when trying to access.

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

What is the reason for this? I suppose monit simply issues a GET request on /

UPDATE: Ubuntu 18.04 on i5 Hardware, monit config:

check host jenkins with address jenkins.internal
   every 3 cycles
   if failed port 8085 protocol http then alert
Will avatar
id flag
You need to provide a lot more information please ... Ubuntu version, hardware etc.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.