comet-agent

0.1.1 • Public • Published

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": SPLUNCKSTORM_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"
            }
        }
    }
}

Dependents (0)

Package Sidebar

Install

npm i comet-agent

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • pahans