Example Jobs - dhoelzer/DAD GitHub Wiki

DAD now allows you to write Ruby code directly in the Jobs interface. At the moment it is nothing even remotely close to "pretty" but it is functional. Eventually we may turn that into a much fancier editor (like what Codewars provides) and give you the ability to actually do some debugging in the interface. For now, we have some sample jobs that you may find useful.

To make this easy, we've exposed some of the DAD internals with easy APIs. Of course, since we're dropping you into Ruby you can essentially Monkey Patch anything to do anything, but the purpose of the API is to allow you to easily search and generate alerts without having to know SQL or any other "hard" stuff. Examples are below:

Hosts Up

sudo activity

Statistical Alerting

DAD Disk Space Warnings

Responding to Custom Events from Remote Systems

Alerting based on User Activity in a Web Application

Alerting based on Email Activity

Alerting based on Possible Outbound Spamming