bipbip
Agent to collect server metrics and send them to the CopperEgg RevealMetrics platform. Plugins for different metrics available. Will spawn a child process for every plugin and server you tell it to monitor.
Installation
gem install bipbip
Configuration
Pass the path to your configuration file to bipbip
using the -c
command line argument.
bipbip -c /etc/bipbip/config.yml
The configuration file should list the services you want to collect data for:
logfile: /var/log/bipbip.log
loglevel: INFO
frequency: 15
include: services.d/
copperegg:
apikey: YOUR_APIKEY
services:
-
plugin: memcached
hostname: localhost
port: 11211
-
plugin: mysql
hostname: localhost
port: 3306
username: root
password: root
-
plugin: redis
hostname: localhost
port: 6379
-
plugin: gearman
hostname: localhost
port: 4730
-
plugin: apache2
url: http://localhost:80/server-status?auto
-
plugin: nginx
url: http://localhost:80/server-status
Include configuration
In your configuration you can specify a directory to include service configurations from:
include: services.d/
This will include files from /etc/bipbip/services.d/
and load them into the services
configuration.
You could then add a file /etc/bipbip/services.d/memcached.yml
:
plugin: memcached
hostname: localhost
port: 11211