Created
November 27, 2017 02:19
-
-
Save ghoneycutt/9eb72c20e173d69f4676ae1cd538da9b to your computer and use it in GitHub Desktop.
Puppet code snippet to be used on any system acting as a sensu client
This file contains hidden or 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
# If using a multihomed system, you may need to change the interface | |
$ip = $facts['networking']['interfaces']['eth1']['ip'] | |
class { '::sensu': | |
rabbitmq_password => 'correct-horse-battery-staple', | |
rabbitmq_host => '192.168.56.10', | |
rabbitmq_vhost => '/sensu', | |
subscriptions => 'all', | |
client_address => $ip, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment