Giter Site home page Giter Site logo

scollector-docker's Introduction

scollector-docker

Bosun's scollector in a tiny Docker image powered by Alpine Linux.

Bosun's scollector is a replacement for OpenTSDB's TCollector and can be used to send metrics to a Bosun, OpenTSDB server and Prometheus scollector exporter. More info at: http://bosun.org/scollector/

How to use this image

Print help:

docker run --rm diyan/scollector --help

The most simple usage:

docker run -d --name=scollector \
  diyan/scollector \
  -h=bosun-host:9107

scollector-docker's People

Contributors

diyan avatar

Watchers

 avatar

scollector-docker's Issues

scollector: Not generating syslog or not sending data #1572

Hi Diyan,
Can you please help.. I posted the below on bosun's github issue tracker but since I am in need of urgent help posting to you to since you seem to have been working with this already.

I have a vagrant + docker container setup. There are a total of 7 docker containers running-

  • 6 docker containers have different services/application with 1 container having scollector installation (installed via dockerfile such as- FROM golang ADD . /go/src/main RUN go get bosun.org/cmd/scollector
  • the 7th container has Bosun server (on localhost:8070, installation from docker registry)

scollector -h "http://localhost:8070" 2016/02/03 00:44:11 error: log_unix.go:10: Unix syslog delivery error 2016/02/03 00:44:11 error: main.go:247: stat /scollector: no such file or directory 2016/02/03 00:44:11 info: main.go:195: OpenTSDB host: http://localhost:8070 2016/02/03 00:44:11 error: interval.go:62: c_systemd: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory 2016/02/03 00:44:11 error: queue.go:105: Post http://localhost:8070/api/put: dial tcp [::1]:8070: getsockopt: connection refused 2016/02/03 00:44:11 info: queue.go:124: restored 39, sleeping 5s 2016/02/03 00:44:16 error: queue.go:105: Post http://localhost:8070/api/put: dial tcp [::1]:8070: getsockopt: connection refused 2016/02/03 00:44:16 info: queue.go:124: restored 500, sleeping 5s 2016/02/03 00:44:21 error: queue.go:105: Post http://localhost:8070/api/put: dial tcp [::1]:8070: getsockopt: connection refused 2016/02/03 00:44:21 info: queue.go:124: restored 500, sleeping 5s 2016/02/03 00:44:26 error: interval.go:62: c_systemd: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory 2016/02/03 00:44:27 error: queue.go:105: Post http://localhost:8070/api/put: dial tcp [::1]:8070: getsockopt: connection refused 2016/02/03 00:44:27 info: queue.go:124: restored 500, sleeping 5s ^C2016/02/03 00:44:31 error: metadata.go:244: Post http://localhost:8070/api/metadata/put: dial tcp [::1]:8070: getsockopt: connection refused 2016/02/03 00:44:31 error: queue.go:105: Post http://localhost:8070/api/put: dial tcp [::1]:8070: getsockopt: connection refused
I see 3 possible errors

  • No syslog been generated,
  • Syslog not being found
  • Access between the containers might be failing

I can see some metrics on the bosun web interface which are basically from the the host on the 7th container but not from other containers. Could somebody help me to understand what am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.