aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-11-29Removed unused methodPatrick J Cherry
2012-11-29Version bumpPatrick J Cherry
2012-11-29Rewrote how the decision is made to notify and how update types are set.Patrick J Cherry
2012-11-29Version bumpPatrick J Cherry
2012-11-29Added alert suppression to the server code + protobuf.Patrick J Cherry
2012-11-29Added DataMapper.finalize to server setup, which is needed, apparently.Patrick J Cherry
2012-11-28Finalised hack to validations such that they only occur when the object is ↵Patrick J Cherry
dirty.
2012-11-27version bumpPatrick J Cherry
2012-11-27Don't do useless database fetches, when super/dirty_attributes can bePatrick J Cherry
used.
2012-11-27Removed extra unnecessary logger messagePatrick J Cherry
2012-11-27dm-transactions now required.Patrick J Cherry
2012-11-27Re-jigged alert saving / history saving using transactions.Patrick J Cherry
2012-11-27Tell datamapper which is the primary key on the alert_earliest_changesPatrick J Cherry
table
2012-11-27version bumpPatrick J Cherry
2012-11-27Be more picky when setting updated_at/created_at timestamps.Patrick J Cherry
2012-11-27Version bump + changelogPatrick J Cherry
2012-11-27Reverted change to alert_changed now there's the validation monkeyPatrick J Cherry
patch in places.
2012-11-27Monkey patch to cause validations to save anyway, if no error has beenPatrick J Cherry
given.
2012-11-27Make sure nil event_types are no treated as strings.Patrick J Cherry
2012-11-26mergePatrick J Cherry
2012-11-26Updated alert changed to log when saves fail, but saves them anyway.Patrick J Cherry
2012-11-26Changed source list to use IPAddress instead of IPAddr.Patrick J Cherry
2012-11-23Check return value when saving AlertChanged object.Patrick J Cherry
2012-11-23Version bumpPatrick J Cherry
2012-11-23Missed the fact that the alert group was being looked up earlier in ↵Patrick J Cherry
Notifier#notify.
2012-11-23Tidied notifier a little. Alert#cached_alert_group is reset before ↵Patrick J Cherry
notification.
2012-11-23AlertGroup is no longer looked for on raise/clear/ack. It is looked up on ↵Patrick J Cherry
notification. Made Alert#alert_group a bit clearer.
2012-11-23Update web_interface to use public_folder instead of just publicPatrick J Cherry
2012-11-23Updated datamapper to use aggregatesPatrick J Cherry
2012-11-23Version bumpPatrick J Cherry
2012-11-23Minimal DNS now also extends to resolution of items in the sourcePatrick J Cherry
lists too, as well as the hostname/IP being queried.
2012-11-23Added minimal_dns_lookups configuration directive to allow alert-groupPatrick J Cherry
DNS lookups to occur when needed.
2012-11-23Alerts only saved on notificaion if the cached_alert_group hasPatrick J Cherry
changed. Also the save! method is now used to avoid the callbacks which might trigger further notifications.
2012-11-21Make sure notifications only get sent on Alert#save if the state hasPatrick J Cherry
changed in a sane way.
2012-11-21Fixed typoPatrick J Cherry
2012-11-21Updated xmmp notifier to crash mauve on exception (ugh().Patrick J Cherry
2012-11-21The notifier now saves the alert following notification. This shouldPatrick J Cherry
ensure that the cached group gets updated.
2012-11-21Added a server sleep to make sure doesn't spam the logs too much.Patrick J Cherry
2012-11-21Removed dependency on dm-serializer -- I don't think it was everPatrick J Cherry
needed.
2012-11-21Fixed couple of typosPatrick J Cherry
2012-11-21Altered web interface not to issue so many database queries.Patrick J Cherry
2012-11-21Removed duplicate code from Alert#in_source_list, andPatrick J Cherry
SourceList#include. Also cut down on DNS queries, and IPAddr conversions.
2012-11-21Updated alert queries to be more precise.Patrick J Cherry
2012-11-21Fixed all_raised to properly compare the raised_at and cleared_atPatrick J Cherry
times.
2012-07-05Version bumpPatrick J Cherry
2012-07-05Updated configuration for heartbeat to replace poll_every.Patrick J Cherry
Removed poll_every from other classes. Updated tests to reflect this.
2012-07-05Moved http api requests into separate module. Added ability to poll a URL forPatrick J Cherry
lists of IPs.
2012-07-04Added URL-ability for source lists.Patrick J Cherry
2012-07-04Moved HTTP requests into a generic http api client.Patrick J Cherry
2012-07-03Removed ability to freeze threads, since that is not used any more.Patrick J Cherry
Added checks to make sure threads are run at least every two minutes.