#For run nagios nrpe
#class {'nagios':
# proj_name => 'test',
# services => ['nova-compute','nova-network','libvirt'],
# whitelist => ['127.0.0.1','10.0.97.5'],
# hostgroup => 'compute',
#}
#
#For nagios master
#
#
#class {'nagios::master':
# proj_name => 'test',
# rabbitmq => true,
# nginx => false,
# mysql_user => 'root',
# mysql_pass => 'nova',
# mysql_port => '3307',
# rabbit_user => 'nova',
# rabbit_pass => 'nova',
# rabbit_port => '5673',
# templatehost => {'name' => 'default-host', 'check_interval' => '10'},
# templateservice => {'name' => 'default-service', 'check_interval'=>'10'},
# hostgroups => ['compute', 'controller', 'swift-storage', 'swift-proxy'],
# contactgroups => {'group' => 'admins', 'alias' => 'Admins'},
# contacts => {'user' => 'hotkey', 'alias' => 'Dennis Hoppe',
# 'email' => 'nagios@%{domain}',
# 'group' => 'admins'},
#}