Open photinus opened 9 years ago
Trying to start sweet on an ubuntu 14.04 box and while it will pull down the config from my first device, it never starts the web interface.
root@localhost:/usr/local/bin# ./sweet sweet.conf --web --weblisten 0.0.0.0:5000 2015/04/21 09:24:24 Starting 1 collectors. [concurrency=30] 2015/04/21 09:24:24 Waiting for 1 collectors. 2015/04/21 09:24:24 Starting collector: device1.local 2015/04/21 09:24:24 Started all 1 collectors. 2015/04/21 09:24:36 Saving result: device1.local config 2015/04/21 09:24:36 Saving result: device1.local version 2015/04/21 09:24:36 Finished collector: device1.local 2015/04/21 09:24:36 All 1 collectors finished. 2015/04/21 09:24:36 Committed changes to git. 2015/04/21 09:24:36 Starting reporter. 2015/04/21 09:24:36 device1.local: changes! version: +5 -5
2015/04/21 09:24:36 Finished reporter.
web = true
weblisten = 10.1.1.3:5000 timeout = 120
default-method = cisco default-user = configuser default-pass = configpass
[device.local] method = cisco ip = 10.1.1.4
Any thoughts? Using 1.3, tried both the .deb and the pre-compiled 64 bit version.
Yikes - I just confirmed this was broken in 1.3. New version coming soon.
Trying to start sweet on an ubuntu 14.04 box and while it will pull down the config from my first device, it never starts the web interface.
root@localhost:/usr/local/bin# ./sweet sweet.conf --web --weblisten 0.0.0.0:5000 2015/04/21 09:24:24 Starting 1 collectors. [concurrency=30] 2015/04/21 09:24:24 Waiting for 1 collectors. 2015/04/21 09:24:24 Starting collector: device1.local 2015/04/21 09:24:24 Started all 1 collectors. 2015/04/21 09:24:36 Saving result: device1.local config 2015/04/21 09:24:36 Saving result: device1.local version 2015/04/21 09:24:36 Finished collector: device1.local 2015/04/21 09:24:36 All 1 collectors finished. 2015/04/21 09:24:36 Committed changes to git. 2015/04/21 09:24:36 Starting reporter. 2015/04/21 09:24:36 device1.local: changes! version: +5 -5
2015/04/21 09:24:36 Finished reporter.
Run an HTTP status server.
web = true
Host and port to use for HTTP status server (default: localhost:5000).
DANGER: Be careful if you expose this service - it contains your device configurations!
weblisten = 10.1.1.3:5000 timeout = 120
These global defaults are used if not specified in the device configuration below.
default-method = cisco default-user = configuser default-pass = configpass
[device.local] method = cisco ip = 10.1.1.4
Any thoughts? Using 1.3, tried both the .deb and the pre-compiled 64 bit version.