README ¶ gowatch Gowatch is swatch alternative implemented in go. Config file_path = "/path/to/some/logfile" verbose = true [[rules]] name = "test1" regexp_patterns = [ "(?i)OutOfMemory", ] patterns = [ "some text", "other text", ] commands = [ "mail -s \"test mail\" [email protected]", ] backoff = 30 [[rules]] name = "test2" patterns = [ "FATAL", ] commands = [ "service foobar restart", ] [[rules]] name = "test3" patterns = [ "WARNING", ] commands = [ "service foobar restart", ] window_sec = 30 max_in_window = 10 backoff = 30 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files gowatch.go Click to show internal directories. Click to hide internal directories.