Category Archives: Monitoring

Boatswain Public BETA-I released

Finally…

It has been almost 3 years (Early August 2015) since we came up with the idea of Boatswain and today our first public beta is…


🌈 Sign up for a Boatswain account 🌈

Why it takes so long?

🐢

Time to market is important.

🙈

I have heard many sincere advice in the past two years from my friends and I would like to thank everyone of them who has spent their time on Boatswain. And most importantly, I would like to express my deep appreciation to Steven Yeung, another Founder of Boatswain. He is the core “Engineer” of the project and without him it definitely needs to take three more years to deliver this release.

I don’t want to make a 30 mins article although i got a lot of words which i want to say. We hope to keep working on Boatswain but we need your help to make it better and if you have any question, suggestion or any comment just drop us a message. Your feedback is most welcome and highly appreciated. Thanks! 🙏

— Originally posted on Boatswain Blog.

My new blog address

GO TO MY NEW BLOG!

Boatswain

Boatswain is a SAAS platform where you could VIEW your Docker application Status, ANALYSE the Logs from all the Containers and GET real time Notification on Events.

Haven’t posted for 3 years. Apologize for not responding since 2015.

I have been working on a SaaS service called Boatswain.

Please follow our twitter @BoatswainIO as well!

Boatswain

collectd – Cannot send out matrics

collectd is a statistics gathering tools which helps system admin to analysis the system conditions. It includes both server and client implementations. The collectd client send metrics to the collectd server.

 

I installed the collectd on a CentOS 7 machine and try to send the metrics to a Graphite instance. But no matter how i changed the setup, the Graphite couldn’t receive any data. Finally, i realized that it is blocked by the SELinux policy.
Continue reading collectd – Cannot send out matrics

StatsD – Installation and integration with Graphite

Previous: Install Graphite under pyenv virtualenv on Ubuntu

 

Compared to Graphite, installing StatsD server is just a piece of cake.

1. Install Node.js. For better management on Node.js, you could consider using nvm.

 

2. Checkout the StatsD project on GitHub.

git clone https://github.com/etsy/statsd.git

 

3. Copy the exampleConfig.js and name it to whatever you like and edit it as follow.
ex. statsdConfig.js.

{
  graphitePort: 2003
, graphiteHost: "<graphite host>"
, port: 8125
, backends: [ "./backends/graphite", "./backends/console" ] // console is for debug
, debug: true // For debug
, graphite: { legacyNamespace: false } // Better group all collected metrics under stats
}

Continue reading StatsD – Installation and integration with Graphite

Install Graphite under pyenv virtualenv on Ubuntu

It took me one and an half day to get the Graphite working…

1. Make sure you have pyenv and pyenv-virtualenv installed.

 

2. Install the following packages.

sudo apt-get install python-dev pkg-config libcairo2-dev memcached

 

3. Install Python 2.7 with enable-shared.

env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 2.7.8

Continue reading Install Graphite under pyenv virtualenv on Ubuntu

Ubuntu – Install Monit

Monit is a opensource monitoring tool on Unix system. The simplest use case would be restarting your service if there is failure.

On Ubuntu, simply run apt-get to install Monit.

sudo apt-get install monit

 

The Monit folder is at /etc/monit. Before you can read anything from Monit, create the /etc/monit/conf.d/monit.conf in order to setup the Monit web interface.

set httpd port 2812 and
  use address localhost
  allow localhost

Continue reading Ubuntu – Install Monit