summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts
AgeCommit message (Collapse)Author
2015-03-09Don't use parenthesis aroudn conditions in an if.Steve Kemp
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Omit the parentheses in defs when the method doesn't accept any arguments.Steve Kemp
This is neater.
2015-03-09Minor indentation fixup.Steve Kemp
2015-03-09Avoid arguments we're not using.Steve Kemp
Having methods take arguments which are ignored is a misleading thing, prefix with "_" to make that explicit, or remove.
2015-03-04Explictly convert the class to a string.Steve Kemp
This is required under Ruby 1.8, as I discovered when deploying to offsite3.
2015-02-18Store the test-class in the redis-state.Steve Kemp
We need to do this such that we can show all possible results of a test in the status-page. There might be three back-ends with different results and if we filter by class-type we'll be able to see that.
2015-02-17Deal with multiple test-implementations.Steve Kemp
As soon as we allow multiple test-implementations we get into a mess, as Mauve regards an ID as unique and that is based upon the test-definition not the implementing method We want to allow: * HTTPS test to succeed. * SSL-check to fail. Which means multiple tests of type "https" will have different IDs. Force this by adding on the class of the implementation.
2015-02-12Make the test-definition available to the redis-alerter.release-0.23Steve Kemp
2015-02-12Updated to require JSONSteve Kemp
2015-02-12Updated to store the test results in a set.Steve Kemp
The redis-state "alerter" saves state in a useful way for the future, and will now save an array of hashes - each has corresponding to a useful result.
2015-02-06Explicitly report time in MSSteve Kemp
2015-02-05Better alerting metric for graphite.Steve Kemp
We now record: custodian.$type.$host.test_duration [time]
2015-02-05Don't trash the alert-subject.Steve Kemp
2013-10-08 Updated to send via UDP, without system.Steve Kemp
2013-10-07 fixed escaping.Steve Kemp
2013-10-04 Ensure we quit netcat after sending.Steve Kemp
2013-10-04 Show the test-target in the graphite listSteve Kemp
2013-10-04 Graphite alerter.Steve Kemp
2013-07-11 Read the alert-source for mauve-notifier form the settings object.Steve Kemp
2013-05-15 Updated comment so they match the functionality of the code.Steve Kemp
2013-04-25 Correct the body of emails on raise()/clear().Steve Kemp
Credit to reddit user knothead for spotting this bug. Fixes #4386.
2013-01-24 fixedSteve Kemp
2013-01-24 New releaseSteve Kemp
2013-01-24 Store the duration of tests.Steve Kemp
2012-12-19 Ensure that our notification periods are integersrelease-0.8-8Steve Kemp
2012-12-12 The suppression periods are now configurable toorelease-0.8-6Steve Kemp
2012-12-12 The suppression period varies between working and out of hoursSteve Kemp
2012-12-12 Use the SHA1 hash of the input line as the alert ID for mauve.release-0.8-5Steve Kemp
2012-12-10 Use the parser-input as the alert-idSteve Kemp
2012-12-06 We don't set the .detail field unless we're raising an alert.Steve Kemp
This will mean historically we can see what the failure reason was.
2012-11-29 * Added mauve suppression to the mauve alert class.Patrick J Cherry
* Added debian recommendation for mauvealert-client
2012-11-27 Expire keys sanely.Steve Kemp
2012-11-26 The target is used to specify the redis hostname - use it.Steve Kemp
2012-11-26 Don't attempt to raise/clear with redis/mauve unless they were loaded.Steve Kemp
2012-11-26 Updated to make the requirement of redis soft, as it will probably beSteve Kemp
not used.
2012-11-26 Ensure we can be loaded, even if there is no redis rubygem present.Steve Kemp
2012-11-26 Added the redis-alerter.Steve Kemp
2012-11-25 Use the user-supplied text, if present.Steve Kemp
2012-11-24 Implemented outgoing mail sending.Steve Kemp
2012-11-24 Renamed class to avoid collision.Steve Kemp
2012-11-24 Misc update.Steve Kemp
2012-11-24 Replaced Custodian::Alerter with a full mauve-specific notifier.Steve Kemp
2012-11-24 Added new alert-type, to merely write to a file.Steve Kemp
2012-11-24 Show the email address we'd notifySteve Kemp
2012-11-24 Updated to document what it would doSteve Kemp
2012-11-24 Initial/stub implementation of a factory for generating alerting objects.Steve Kemp