summaryrefslogtreecommitdiff
path: root/lib/custodian/alerts
AgeCommit message (Collapse)Author
2017-09-20Update our metric-submission.Steve Kemp
We'll want to handle timeouts more cleanly now, and use TCP.
2017-03-16Use the subject-prefix if it is present.Steve Kemp
2016-04-22More rubocop fixes.Steve Kemp
2015-12-18Removed debugging print.Steve Kemp
2015-11-16Keep 8k history-transitions.Steve Kemp
2015-11-16Updated the redis-alerter to store more useful-state.Steve Kemp
This will make visualization more simple.
2015-04-16Mark unused variables with underscore-prefix.Steve Kemp
This stops warnings when running with "ruby -w".
2015-04-16Correctly use the result of the resolution in the alert.Steve Kemp
There was a bug in that we used the same local-variable "result" for two purposes, trashing the intended use-case.
2015-04-16Resolve hostnames for both A + AAAA.Steve Kemp
The Bytemark-specific notifier, using mauve, appends some text to the bottom of each alert: http://example.com/ resolves to 1.2.3.4 which is INSIDE|OUTSIDE bytemark This text was previously limited to the IPv4 address, but now is repeated for each family which resolves successfully. This closes #10568. This fixes #10568.
2015-03-09Removed trailing whitespace from the codeSteve Kemp
2015-03-09Remove spaces inside blocks.Steve Kemp
2015-03-09Whitespace fixups.Steve Kemp
These were all identified and suggested by rubocop.
2015-03-09Removed spaces inside parenthesis.Steve Kemp
2015-03-09Prefer single-quotes when you don't need interpolation.Steve Kemp
So "foo" is less good than 'foo'.
2015-03-09Do not terminate expressions with ";".Steve Kemp
Ruby is not Perl, much as I sometimes wish it were.
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.Steve 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 integersSteve Kemp
2012-12-12 The suppression periods are now configurable tooSteve 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.Steve 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