-
-
Save rightfold/65199128d992df32d52e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(logger everything {:file "/var/log/hahaha"}) | |
(monitor/ping localhost/ping {:host "localhost", :interval #seconds 1, :timeout #seconds 1}) | |
(monitor/ping example.com/ping/foo {:host "example.com", :interval #seconds 1, :timeout #seconds 1}) | |
(filter/only-errors localhost/ping/errors {:source localhost/ping}) | |
(sink/log localhost/ping/errors/log {:source localhost/ping/errors, :logger everything}) | |
(sink/email localhost/ping/errors/email {:source localhost/ping/errors, :recipient "rightfold@gmail.com"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment