This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/ruby | |
# Ruby script to download metrics from Jenkins | |
# Jason Fowler March 2015 | |
# cron for job: | |
#*/30 * * * * /usr/local/bin/ruby /home/ubuntu/buildmetrics/buildmetrics.rb | |
require 'json' | |
require 'jenkins_api_client' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
############################### | |
# Autoconfig for Icinga | |
# to emulate service discovery | |
# Jason Fowler, Avid Technology | |
# March 2016 | |
# | |
# IMPORTANT: - please do a "pip -R requirements.txt" to import all the python tools | |
# - you need a ".boto" file in your home directory containing your AWS access and secret keys |