Skip to content

meteorhacks/comet-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published