• Stars
    star
    108
  • Rank 319,430 (Top 7 %)
  • Language
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Dockerfile for Sensu on CentOS

docker-sensu-server

CentOS and sensu. It runs redis, rabbitmq-server, uchiwa, sensu-api, sensu-server and ssh processes.

Installation

Install from docker index or build from Dockerfile

docker pull hiroakis/docker-sensu-server

or

git clone https://github.com/hiroakis/docker-sensu-server.git
cd docker-sensu-server
docker build -t yourname/docker-sensu-server .

Run

docker run -d -p 10022:22 -p 3000:3000 -p 4567:4567 -p 5671:5671 -p 15672:15672 hiroakis/docker-sensu-server

How to access via browser and sensu-client

rabbitmq console

uchiwa

sensu-client

To run sensu-client, create client.json (see example below), then just run sensu-client process.

These are examples of sensu-client configuration.

  • /etc/sensu/config.json
{
  "rabbitmq": {
    "host": "sensu-server-ipaddr",
    "port": 5671,
    "vhost": "/sensu",
    "user": "sensu",
    "password": "password",
    "ssl": {
      "cert_chain_file": "/etc/sensu/ssl/cert.pem",
      "private_key_file": "/etc/sensu/ssl/key.pem"
    }
  }
}
  • /etc/sensu/conf.d/client.json
{
  "client": {
    "name": "sensu-client-node-hostname",
    "address": "sensu-client-node-ipaddr",
    "subscriptions": [
      "common",
      "web"
    ]
  },
  "keepalive": {
    "thresholds": {
      "critical": 60
    },
    "refresh": 300
  }
}

ssh login

ssh hiroakis@localhost -p 10022
password: hiroakis

License

MIT

More Repositories

1

tornado-websocket-example

HTML
233
star
2

esa-go

esa client library for API v1 written in golang
Go
13
star
3

go-check-ssl-certificates

The go-check-ssl-certificates checks the ssl certificates
Go
9
star
4

cyberspace.vim

A dark color scheme for vim
Vim Script
8
star
5

en

en. An environment variable management tool for Circle CI
Go
8
star
6

go-sql-sniffer

The go-sql-sniffer extracts the SQL packet from tcpdump packet.
Go
7
star
7

simple-bbs-cassandra

Python
7
star
8

fluent-plugin-sendgrid-event

Ruby
6
star
9

twslacker

notify twitter stream to slack
Ruby
4
star
10

dstat-agent

Go
3
star
11

go-requests

A HTTP library for Go, inspired by requests module written in Python. The usage is similer to Python requests.
Go
3
star
12

dotfiles

my dotfiles
Vim Script
3
star
13

bb

Go
3
star
14

cubism-example

3
star
15

go-bigquery

Go
2
star
16

ec2-instances-excel

Python
2
star
17

mackerel-agent-checks-plugins

Go
2
star
18

vscode-gocyclo

vscode-gocyclo is a VSCode extension that displays the cyclomatic complexities of functions in Go source code
TypeScript
2
star
19

bouncer

Ruby
1
star
20

inventoryfile

Inventoryfile. A parser for ansible inventory file which is an INI like formatted file.
Ruby
1
star
21

host-management-app

This project is created for my angular.js study :)
Python
1
star
22

vim-breakline

An easy line splitter.
Vim Script
1
star
23

sendgrid-reporter

Go
1
star
24

tor-status-proxy

Go
1
star
25

combinatorics

Generate all possible combinations of r elements in a given string slice of size n
Go
1
star
26

sendgrid-bigquery

insert sendgrid event notification to google bigquery
Python
1
star
27

munin-riak

munin plugin for Riak
Python
1
star
28

goflow

A flowchart generator for Go
Go
1
star