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/ruby | |
# lists hosts whose chef-client hasn't checked in with the server for a while | |
# how many seconds before we alert | |
threshold = 3600 | |
# requires that your user account is set up for Chef's "knife" utility | |
me = ENV["USER"] |