Merge lp://staging/~nick-moffitt/charm-helpers/nrpe-servicegroup-comments into lp://staging/charm-helpers

Proposed by Nick Moffitt
Status: Merged
Merged at revision: 744
Proposed branch: lp://staging/~nick-moffitt/charm-helpers/nrpe-servicegroup-comments
Merge into: lp://staging/charm-helpers
Diff against target: 31 lines (+10/-0)
2 files modified
charmhelpers/contrib/charmsupport/nrpe.py (+7/-0)
tests/contrib/charmsupport/test_nrpe.py (+3/-0)
To merge this branch: bzr merge lp://staging/~nick-moffitt/charm-helpers/nrpe-servicegroup-comments
Reviewer Review Type Date Requested Status
Barry Price Approve
Stuart Bishop (community) Approve
Review via email: mp+323326@code.staging.launchpad.net

Description of the change

I'm working on better ways to collect nagios checks than the current rsync model, and right now that means as much info as possible goes into the nrpe configs. The result is that servicegroup data need to be written in specially-formatted comments in the nrpe.d config files, just before the alerts they describe.

To post a comment you must log in.
Revision history for this message
Stuart Bishop (stub) wrote :

specially-formatted comments probably need a comment in nrpe.py explaining that they are specially-formatted, or someone will stomp you.

Otherwise, sure. I've done worse... but it would be nice if you could store this data somewhere else in a real format.

review: Approve
Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

Well, the whole goal is to make the nrpe configs the complete representation of what needs to be replicated. This allows us to monitor everything that can be monitored. Part of the goal of this is to increase coverage, while making something more rigorous and perfect for data definition is best left to the prometheus monitoring systems.

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

I'll add the warning though, as that's a good point.

740. By Nick Moffitt

Add a warning to the nrpe files

741. By Nick Moffitt

merge

742. By Nick Moffitt

Make the warning a bit stronger at barryprice's urging

Revision history for this message
Barry Price (barryprice) wrote :

Makes sense, +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches