Skip to content

Commit de0adda

Browse files
committed
Merge branch 'master' of github.com:Yuav/puppet-monitoring
2 parents aa05351 + 2fb3c09 commit de0adda

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

README.md

+26-23
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ hard dependencies between the module that install the service and the monitoring
1515
## Usage
1616

1717
Install the module using:
18-
19-
puppet module install yuav-monitoring
18+
```puppet
19+
puppet module install yuav-monitoring
20+
```
2021

2122
simply include the module
22-
23-
class { 'monitoring':
24-
collectd_network_server_hostname => 'influxdb',
25-
}
26-
23+
```puppet
24+
class { 'monitoring':
25+
collectd_network_server_hostname => 'influxdb',
26+
}
27+
```
2728
This will install the default metrics collector CollectD, and configure it to send metrics to hostname 'influxdb'.
2829

2930
Using defaults, the module will enable the following collectd plugins:
@@ -53,31 +54,33 @@ services, the fact values will be updated to reflect this new state before insta
5354
### Apache facts
5455

5556
Checks if Apache is installed on the system
56-
57-
$::apache_present
57+
```puppet
58+
$::apache_present
59+
```
5860

5961
Checks if apache status page with metrics is available from localhost
60-
61-
$::apache_statuspage_present
62-
62+
```puppet
63+
$::apache_statuspage_present
64+
```
6365
## NTPD facts
6466

6567
Checks if ntpd is installed on the system
66-
67-
$::ntpd_present
68-
68+
```puppet
69+
$::ntpd_present
70+
```
6971
## RabbitMQ facts
7072

7173
Checks if RabbitMQ is installed on the system
72-
73-
$::rabbitmq_present
74-
74+
```puppet
75+
$::rabbitmq_present
76+
```
7577
Retrieves RabbitMQ management port if enabled
76-
77-
$::rabbitmq_management_port
78-
78+
```puppet
79+
$::rabbitmq_management_port
80+
```
7981
## Redis facts
8082

8183
Checks if Redis is installed on the system
82-
83-
$::redis_present
84+
```puppet
85+
$::redis_present
86+
```

0 commit comments

Comments
 (0)