Coder Social home page Coder Social logo

cloudwatch-librato's People

Contributors

ianshward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cloudwatch-librato's Issues

Cannot launch

Hi there,

Surely this is something I am doing wrong, or a result of my inexperience with node, but I can't seem to get this daemon to startup. Forgive me if this is not the best place to post, I could not locate other means of contacting you

root@master:/home/ubuntu/cloudwatch-librato# node ./index.js --config settings.json

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'step'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (/home/ubuntu/cloudwatch-librato/index.js:4:12)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)

root@master:/home/ubuntu/cloudwatch-librato# uname -a
Linux omitted 3.2.0-31-virtual #50-Ubuntu SMP Fri Sep 7 16:36:36 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

root@master:/home/ubuntu/cloudwatch-librato# which node
/usr/local/bin/node

root@master:~# node --version
v0.6.17

I've tried installing from apt and also from source, and both produce the same error when i run it.

It seems node does work if i start the sample application from their website:
root@master:# cat server.js
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');
root@master:
# node server.js
Server running at http://127.0.0.1:1337/
^Croot@master:~#

root@master:/home/ubuntu/cloudwatch-librato# ls
bin index.js lib package.json README.md settings.example.json settings.json

root@master:/home/ubuntu/cloudwatch-librato# cat settings.json
{
"awskey": "OMITTED",
"awssecret":OMITTED",
"libratoemail": "OMITTED",
"libratotoken": "OMITTED",
"instanceNameTag": "Name",
"metrics": [
{
"MetricName": "RequestCount",
"Namespace": "AWS/ELB",
"Unit": "Count",
"Period": 60,
"Statistic": "Sum",
"Dimensions": {
"us-west-2": [
["LoadBalancerName", "OMITTED", "OR_DEV_ELB"],
],
}
},
{
"MetricName": "HTTPCode_Backend_5XX",
"Namespace": "AWS/ELB",
"Unit": "Count",
"Period": 60,
"Statistic": "Sum",
"Dimensions": {
"us-west-2": [
["LoadBalancerName", "OMITTED", "OR_DEV_ELB"],
],
}
},
{
"MetricName": "Latency",
"Namespace": "AWS/ELB",
"Unit": "Count",
"Period": 60,
"Statistic": "Sum",
"Dimensions": {
"us-west-2": [
["LoadBalancerName", "OMITTED", "OR_DEV_ELB"],
],
}
},
{
"MetricName": "CPUUtilization",
"Namespace": "AWS/EC2",
"Unit": "Percent",
"Period": 60,
"Statistic": "Average",
"Dimensions": {
"us-west-2": "_callback",
}
},
{
"MetricName": "MemoryPercentUsed",
"Namespace": "System/Linux",
"Unit": "Percent",
"Period": 60,
"Statistic": "Average",
"Dimensions": {
"us-west-2": "_callback",
}
},
{
"MetricName": "NetworkOut",
"Namespace": "AWS/EC2",
"Unit": "Bytes",
"Period": 300,
"Statistic": "Average",
"Dimensions": {
"us-west-2": "_callback",
}
},
{
"MetricName": "LoadAverageMinute",
"Namespace": "System/Linux",
"Unit": "Count",
"Period": 60,
"Statistic": "Average",
"Dimensions": {
"us-west-2": "_callback",
}
}
]
}

I appreciate any help/advice as this looks like a really fun integration.

Cheers,
iain

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.