Page 1 of 1

Jenkins monitoring with CloudBees Jenkins

Posted: Wed Jul 18, 2018 5:00 pm
by ntalreja
I was wondering if anybody used Jenkins monitors with CloudBees Jenkins. CB Jenkins has this concept of Jenkins Operations Center and URL for Master is forwarded to CB JOC (Jenkins Operations Center) which is a 'designated Master' for authentication. This forwarding is 'part' of it so we noticed that we could not use https://github.com/Ericbla/check_jenkins which otherwise works without authentication stuff. May be I missing something here? Help will be appreciated.

Re: Jenkins monitoring with CloudBees Jenkins

Posted: Thu Jul 19, 2018 7:19 am
by scottwilkerson
I am not familiar with Cloudbees but I did find this article from a founder which included a link to a plugin and claims they use Nagios extensively.
https://www.cloudbees.com/blog/health-c ... ur-jenkins

Re: Jenkins monitoring with CloudBees Jenkins

Posted: Fri Jul 27, 2018 6:20 pm
by ntalreja
I think we are looking for monitoring long running jobs, hung jobs etc.

There are Nagios Plugins:

https://github.com/jonlives/nagios-jenkins-plugin (does support username and pwd but no luck with it yet as it forwards the link to JOC (jenkins Operation Center for authentication then it sends back to the Jenkins master after successful authentication - works more like Web Single Sign On thing and).

https://github.com/Ericbla/check_jenkins (no username and pwd can be sent as an option)

If somebody can additional recommended Nagios Plugin/community plugins or advise how to modify existing ones to fit our needs, that wil be appreciated.

Re: Jenkins monitoring with CloudBees Jenkins

Posted: Mon Jul 30, 2018 7:09 am
by scottwilkerson
I'll add the Nagios plugin development guidelines if you look into modifying the plugin yourself
https://nagios-plugins.org/doc/guidelines.html