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

Web interface wont start #8

@photinus

Description

@photinus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions