Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9342966
rabbitmq.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
978 B
Subscribers
None
rabbitmq.pp
View Options
class
profile
::
rabbitmq
{
include
::
profile
::
munin
::
plugins
::
rabbitmq
$rabbitmq_user
=
lookup
(
'rabbitmq::monitoring::user'
)
$rabbitmq_password
=
lookup
(
'rabbitmq::monitoring::password'
)
package
{
'rabbitmq-server'
:
ensure
=>
installed
}
service
{
'rabbitmq-server'
:
ensure
=>
'running'
,
enable
=>
true
,
require
=>
Package
[
'rabbitmq-server'
],
}
$icinga_checks_file
=
'/etc/icinga2/conf.d/exported-checks.conf'
@@
::
icinga2
::
object
::
service
{
"rabbitmq-server on ${::fqdn}"
:
service_name
=>
'rabbitmq server'
,
import
=>
[
'generic-service'
],
host_name
=>
$::fqdn,
check_command
=>
'rabbitmq_server'
,
vars
=>
{
rabbitmq_port
=>
15672
,
rabbitmq_vhost
=>
'/'
,
rabbitmq_node
=>
$::hostname,
rabbitmq_user
=>
$rabbitmq_user,
rabbitmq_password
=>
$rabbitmq_password,
},
target
=>
$icinga_checks_file,
tag
=>
'icinga2::exported'
,
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Jul 4, 1:08 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3243516
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment