##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
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
# /etc/puppetlabs/code/environments/development/manifests/site.pp | |
# replace `sensu-server.example.com` with the FQDN of the system. | |
node 'sensu-server.example.com' { | |
## Begin dependencies for Sensu server | |
require ::epel | |
$dependencies = [ | |
'nagios-plugins-ntp', # Not strictly needed. Used to demo a check. |
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
# 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, | |
} |
OlderNewer