|
Implement nagios support
Change the way errors are reported so that any errors running ingest cause a
file, ~ubuntu/var/ingest-errors, to be created. The presence of this file is
used for a nagios check.
The files in charmsupport are copied almost verbatim from lp:charmsupport r27.
(Exception, the change in lp:~pjdc/charmsupport/hookenv-vs-nrpe was applied.)
Ideally we will switch to a packaged version of charmsupport, but not if its
nagios support is broken!
The shhh.py file is deleted because it is no longer needed.
https://code.launchpad.net/~abentley/charms/precise/charmworld/nagios/+merge/145970
(do not edit description out of merge proposal)
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+376 lines, -83 lines) |
Patch |
|
A |
[revision details]
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
charmsupport/__init__.py
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
charmsupport/hookenv.py
|
View
|
|
1 chunk |
+150 lines, -0 lines |
0 comments
|
Download
|
|
A |
charmsupport/nrpe.py
|
View
|
|
1 chunk |
+169 lines, -0 lines |
0 comments
|
Download
|
|
M |
config.yaml
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
files/nrpe-external-master/check_ingest.sh
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
hooks/config-changed
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
hooks/install
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
hooks/nrpe-external-master-relation-changed
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
hooks/upgrade-charm
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
metadata.yaml
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
revision
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
run-write-errors
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
D |
shhh.py
|
View
|
|
1 chunk |
+0 lines, -81 lines |
0 comments
|
Download
|
|
A |
update-nrpe.py
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 2
|