aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-11-30Updated acknowledge form to allow more things to be done.Patrick J Cherry
--HG-- rename : views/_acknowledge_input.haml => views/_alert_actions.haml
2012-11-30Re-set raised_at if the alert has just been unacknowledged.Patrick J Cherry
2012-11-30Added sort to search.Patrick J Cherry
2012-11-30version bumpPatrick J Cherry
2012-11-30Updated web interface to reinstate alert counts, and implement a working ↵Patrick J Cherry
search box.
2012-11-29Version bumpPatrick J Cherry
2012-11-29Tidied up extra spacesPatrick J Cherry
2012-11-29Raised time now set to unacknowledgment time when alerts become unacknowledgedPatrick J Cherry
2012-11-29Tidied up history entriesPatrick J Cherry
2012-11-29Changed UNACKNOWLEDGED to RE-RAISED when alerts are no longer ack'dPatrick J Cherry
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