Hi there,
Urgent help needed.
I am trying to monitor Jenkins jobs which are triggered periodically using NagiosXI trial version.
My configuration is as follows:
check_jenkins_cron.pl -j jenkinsjobname -l jenkinsurl -w 60 -c 120
And I have set jenkins job to trigger every minute for testing purpose and its successful.
Still the plugin outputs as below:
CRITICAL - 'jenkinsjobname' has not run successfully for 15h 56m 31s. No runs since. http://jenkins:8080/job/jobname/59/
Anyone knows whats wrong with it?
Thanks in Advance,
Poonam Davari
check_jenkins_cron.pl is not detecting succesful builds
-
- Posts: 2
- Joined: Wed Jun 12, 2019 3:45 am
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_jenkins_cron.pl is not detecting succesful builds
Are the times synced on the XI server and the Jenkins server?
run the following on each from the CLI
do they match including timezone?
run the following on each from the CLI
Code: Select all
date
-
- Posts: 2
- Joined: Wed Jun 12, 2019 3:45 am
Re: check_jenkins_cron.pl is not detecting succesful builds
Now it seems working fine.
I haven't changed anything in setup and as I checked both servers time is in sync.
Yesterday I did not check that, so not sure what was the issue before.
I haven't changed anything in setup and as I checked both servers time is in sync.
Yesterday I did not check that, so not sure what was the issue before.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_jenkins_cron.pl is not detecting succesful builds
That's odd but glad it's working.puni21davari wrote:Now it seems working fine.
I haven't changed anything in setup and as I checked both servers time is in sync.
Yesterday I did not check that, so not sure what was the issue before.
Locking thread