How to Monitor Jenkins Server Using eG Enterprise?
Jenkins server can be monitored in an agent-based or an agentless manner. Agent-based is the recommended approach.
For agent-based monitoring, make sure that the eG agent is deployed on Master node of the Jenkins server being monitored. The Master node manages and distributes jobs to Slave nodes. The Master node is a main Jenkins server whereas a Slave node is a Java executable that runs on a remote machine. On the other hand, for agentless monitoring of Jenkins server, the eG agent should be deployed on a remote Windows host in the environment. Regardless of the monitoring approach, the eG agent collects metrics using Jenkins REST API. The broad steps in monitoring the Jenkins server are as follows: