systemd-monitor

command module
v0.0.0-...-2cfe9a1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

README

systemd-monitor

systemd-monitor tails the journal log for unit failures and sends out email notifications.

Install

go get github.com/nhooyr/systemd-monitor

Usage

[$] systemd-monitor --help
Usage of systemd-monitor:
  -c string
	   path to configuration file (default "/usr/local/etc/systemd-monitor/config.toml")

Example

[[accounts]]
username = "user@domain.com"
password = "durp"
addr = "host:port"
[[accounts.destinations]]
     name = "Hoora Foo"
     email = "user@domain.com"
[accounts.backup]
     username = "user@gmail.com"
     password = "bar"
     addr = "smtp.gmail.com:587"
     [[accounts.backup.destinations]]
          name = "Ding Doodle"
          email = "user@domain.com"

Its very self explanatory but if you have any questions, feel free to email me.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL