Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

nhooyr/systemd-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages