4.1.8
by Clint Byrum
Adding basic README |
1 |
In order to monitor anything in your juju environment for working PING |
2 |
and SSH, just relate the services to this service. |
|
3 |
||
4 |
juju deploy nagios central-monitor |
|
5 |
juju deploy mysql big-db |
|
6 |
juju deploy statusnet microblog |
|
7 |
juju add-reation big-db microblog |
|
8 |
juju add-relation big-db central-monitor |
|
9 |
juju add-relation mocroblog central-monitor |
|
10 |
||
11 |
This should result in your Nagios monitoring all of the service units. |
|
12 |
||
21
by Clint Byrum
documenting new stuff |
13 |
monitors interface |
14 |
==================
|
|
15 |
||
16 |
The monitors interface expects three fields: |
|
17 |
||
18 |
* monitors - YAML matching the monitors yaml spec. See |
|
19 |
example.monitors.yaml for more information. |
|
20 |
* target-id - Assign any monitors to this target host definition. |
|
21 |
* target-address - Optional, specifies the host of the target to |
|
22 |
monitor. This must be specified by at least one unit so that the |
|
23 |
intended target-id will be monitorable. |
|
24 |
||
25 |
nrpe
|
|
26 |
====
|
|
27 |
||
28 |
There is an NRPE subordinate charm which must be used for any local |
|
29 |
monitors. See the 'nrpe' charm's README for information on how to |
|
30 |
make use of it. |