File tree 1 file changed +26
-23
lines changed
1 file changed +26
-23
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,16 @@ hard dependencies between the module that install the service and the monitoring
15
15
## Usage
16
16
17
17
Install the module using:
18
-
19
- puppet module install yuav-monitoring
18
+ ``` puppet
19
+ puppet module install yuav-monitoring
20
+ ```
20
21
21
22
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
+ ```
27
28
This will install the default metrics collector CollectD, and configure it to send metrics to hostname 'influxdb'.
28
29
29
30
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
53
54
### Apache facts
54
55
55
56
Checks if Apache is installed on the system
56
-
57
- $::apache_present
57
+ ``` puppet
58
+ $::apache_present
59
+ ```
58
60
59
61
Checks if apache status page with metrics is available from localhost
60
-
61
- $::apache_statuspage_present
62
-
62
+ ``` puppet
63
+ $::apache_statuspage_present
64
+ ```
63
65
## NTPD facts
64
66
65
67
Checks if ntpd is installed on the system
66
-
67
- $::ntpd_present
68
-
68
+ ``` puppet
69
+ $::ntpd_present
70
+ ```
69
71
## RabbitMQ facts
70
72
71
73
Checks if RabbitMQ is installed on the system
72
-
73
- $::rabbitmq_present
74
-
74
+ ``` puppet
75
+ $::rabbitmq_present
76
+ ```
75
77
Retrieves RabbitMQ management port if enabled
76
-
77
- $::rabbitmq_management_port
78
-
78
+ ``` puppet
79
+ $::rabbitmq_management_port
80
+ ```
79
81
## Redis facts
80
82
81
83
Checks if Redis is installed on the system
82
-
83
- $::redis_present
84
+ ``` puppet
85
+ $::redis_present
86
+ ```
You can’t perform that action at this time.
0 commit comments