Skip to content

Commit

Permalink
Add checks for monitoring if dlrn is up to date
Browse files Browse the repository at this point in the history
  • Loading branch information
David Moreau-Simard committed Jul 24, 2016
1 parent 0d02f41 commit ca912a9
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions templates/hiera-defaults.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,21 @@ sensu::checks:
custom:
broadcast: '#rdo'
retry_occurrences: '120'
check-delorean-update-primary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-primary.rdoproject.org/centos7-master/current/build.log 21600"
subscribers: 'master'
check-delorean-update-backup:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-backup.rdoproject.org/centos7-master/current/build.log 86400"
check-delorean-update-centos-master-primary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-primary.rdoproject.org/centos7-master/current/build.log 7200"
subscribers: 'dlrn-primary'
check-delorean-update-centos-master-secondary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-backup.rdoproject.org/centos7-master/current/build.log 7200"
subscribers: 'master'
check-delorean-update-centos-mitaka-primary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-primary.rdoproject.org/centos7-mitaka/current/build.log 21600"
subscribers: 'dlrn-primary'
check-delorean-update-centos-mitaka-secondary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-backup.rdoproject.org/centos7-mitaka/current/build.log 21600"
subscribers: 'master'
check-delorean-update-centos-liberty-primary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-primary.rdoproject.org/centos7-liberty/current/build.log 21600"
subscribers: 'dlrn-primary'
check-delorean-update-centos-liberty-secondary:
command: "/usr/local/bin/check-http-file-age.sh http://trunk-backup.rdoproject.org/centos7-liberty/current/build.log 21600"
subscribers: 'master'

0 comments on commit ca912a9

Please sign in to comment.