meteorhacks/comet-agent

Name: comet-agent

Owner: meteorhacks

Description: Comet Agent

Created: 2013-10-29 04:05:32.0

Updated: 2013-12-23 08:29:47.0

Pushed: 2013-11-07 09:02:59.0

Homepage: null

Size: 336

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

comet-agent Build Status

Server monitoring helper

Logging Service Manager

Logging Service Manager takes care of tailing log files and sending them to particular services. (papertrail,spunkstorm)

Metrics Service Manager

takes care of tracking metrics and sending them to particular services. (librato)

usage

comet-agent ./config.json

config.json

"logs": {
    "logFiles": {
        "haproxy": "/tmp/log/haproxy.log",
        "app": "/tmp/log/app.log"
    },
    "services": {
        "papertrail": {
            "host": "logs.papertrailapp.com",
            "port": PAPERTRAIL_PORT
        },
        "splunkstorm": {
            "apiKey": "YOUR_SPLUNKSTORM_API_KEY",
            "projectId": "YOUR_PROJECT_ID"
        }
    },
    "watchFileInterval": 1000
},
"metrics": {
    "providers": {
        "system": {
            "interval": 2000
        }
    },
    "services": {
        "librato": {
            "email": "YOUR_EMAIL",
            "token": "YOUR_LIBRATO_TOKEN"
        }
    }
}


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.