Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nutjob is a rust service designed to work with NUT (Network UPS Tools) to automatically reboot computers/devices after a power outage.

License

Notifications You must be signed in to change notification settings

fisherjacobc/nutjob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nutjob

A rust service designed to work with NUT (Network UPS Tools) to automatically reboot computers/devices after a power outage.

Features

  • Tracks devices via ping
    • Only wakes devices that were online before the UPS switched to battery
  • Supports NUT (Network UPS Tools) to get information about the attached UPS
  • Persisting state file in case the nutjob service stops early (such as losing power)
  • Supports resolvable hostnames and ARP for pulling MAC addresses

Deployment

Configuration

Make sure you have your configuration file filled out. You can copy the example and modify properties to your liking.

You can easily deploy this as a docker container

docker run -d \
  --name nutjob \
  --restart unless-stopped \
  -v ~/nutjob-config.yaml:/nutjob/config.yaml \
  --network host \
  fisherjacobc/nutjob:latest

License

MIT

Contributing

Contributions are always welcome!

Just make a pull request (or if you find something wrong, also make an issue)!

About

nutjob is a rust service designed to work with NUT (Network UPS Tools) to automatically reboot computers/devices after a power outage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published