Skip to content

arsiesys/jenkins-node-state-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins node state exporter

Prometheus exporter for Jenkins nodes

This exporter listen on port 9723 and the endpoint is /metrics

# HELP jenkins_node_busy_status The busy status of a jenkins computer node 0:IDLE 1:BUSY
# TYPE jenkins_node_busy_status gauge
jenkins_node_busy_status{computerName="master",role="worker"} 0
jenkins_node_busy_status{computerName="node1",role="worker"} 0
# HELP jenkins_node_exporter_failure The number of faillure to get/parse api data
# TYPE jenkins_node_exporter_failure counter
jenkins_node_exporter_failure 0
# HELP jenkins_node_maintenance_status The maintenance status of a jenkins computer node 0:ONLINE 1:MAINTENANCE 2:OFFLINE
# TYPE jenkins_node_maintenance_status gauge
jenkins_node_maintenance_status{computerName="master",role="worker"} 0
jenkins_node_maintenance_status{computerName="node1",role="worker"} 2

Available options:

Usage:
  jenkins-node-state-exporter [flags]

Flags:
  -a, --address string            address of the jenkins server (default "http://localhost/jenkins")
      --disable-authentication    disable authentication
      --fetch-interval duration   fetch-interval in seconds (default 30s)
  -h, --help                      help for jenkins-node-state-exporter
  -r, --labelrole string          prefix of the label to parse a role associated with the node (default "role")
  -p, --password string           password of the jenkins user account (default "admin")
      --port int                  port to listen on (default 9827)
  -u, --username string           username of the jenkins user account (default "admin")

About

A prometheus exporter to get your jenkins node status

Resources

License

Stars

Watchers

Forks

Packages

No packages published