Network device configuration backups and change alerts for the 21st century - inspired by RANCID!
Branch: master
Clone or download
ned
ned Revert "Add license."
This reverts commit 9ed1b0a.
Latest commit 33b9329 May 22, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
static Initial release Jul 23, 2014
tmpl
.gitignore Initial release Jul 23, 2014
LICENSE Initial release Jul 23, 2014
Makefile Fixed Cisco command per #1 - also added better error messages. Sep 15, 2014
README.md Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
bindata.go Added JunOS. Nov 26, 2014
bindata_test.go Initial release Jul 23, 2014
cisco.go Example of saving non-config data (sho version) Dec 15, 2014
cisco_test.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
expect.go
expect_test.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
external.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
git.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
juniper.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
juniper_test.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
reporting.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
sweet-sample.conf Added JunOS. Nov 26, 2014
sweet.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
util.go Refactor status/errors/reporting, split out device-specific logic. Dec 15, 2014
util_test.go Initial release Jul 23, 2014
webstatus_test.go Initial release Jul 23, 2014

README.md

Network device configuration backups and change alerts for the 21st century - inspired by RANCID!

See: http://gosweet.org

##Features:

  • Stores device configs in Git
  • Simple configuration file
  • Single binary - only runtime dependency is Git
  • Email notifications
  • Built-in web status dashboard
  • Embedded Cisco IOS/ASA and Juniper JunOS support
  • Supports external collection scripts (such as clogin, jlogin, etc.)
  • Currently supports Linux and OSX

##Quickstart:

[router1.example.com]
method = cisco
user = sweetuser
pass = SecretPW4sweet

##Usage:

  sweet [options] <config>
  sweet -h --help
  sweet --version

Options:
  -w, --workspace <dir>     Specify workspace directory [default: ./workspace].
  -i, --interval <secs>     Collection interval in secs [default: 300].
  -c, --concurrency <num>   Concurrent device collections [default: 30].
  -t, --to <email@addr>     Send change notifications to this email.
  -f, --from <email@addr>   Send change notifications from this email.
  -s, --smtp <host:port>    SMTP server connection info [default: localhost:25].
  --insecure                Accept untrusted SSH device keys.
  --push                    Do a "git push" after committing changed configs.
  --syslog                  Send log messages to syslog rather than stdout.
  --timeout <secs>          Device collection timeout in secs [default: 60].
  --web                     Run an HTTP status server.
  --weblisten <host:port>   Host and port to use for HTTP status server [default: localhost:5000].
  --version                 Show version.
  -h, --help                Show this screen.

##Authors:

##Contributors: