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

Web interface wont start #8

Open
photinus opened this issue Apr 21, 2015 · 1 comment
Open

Web interface wont start #8

photinus opened this issue Apr 21, 2015 · 1 comment

Comments

@photinus
Copy link

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.

@nmcclain
Copy link

Yikes - I just confirmed this was broken in 1.3. New version coming soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants