Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(20242)

Issue 7241058: Implement nagios support

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by abentley-home
Modified:
11 years, 2 months ago
Reviewers:
mp+145970, rharding
Visibility:
Public.

Description

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)

Patch Set 1 #

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

Messages

Total messages: 2
abentley-home
Please take a look.
11 years, 2 months ago (2013-01-31 20:15:56 UTC) #1
rharding
11 years, 2 months ago (2013-01-31 20:27:24 UTC) #2
lgtm but I'd like to move the new files into a scripts directory. I've started
one in my branch as well. Things like the run-write-errors and update-nrpe.py
could find a home there and help prevent polluting the root of the file tree.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b