Permalink
Browse files

Fixing cloudwatch param string

  • Loading branch information...
1 parent 2b0400e commit bff64da14db3a4a13dd4aef40d6e96f41f8d57e9 @MainframeEnzo MainframeEnzo committed Jan 3, 2012
Showing with 8 additions and 2 deletions.
  1. +7 −1 README.markdown
  2. +1 −1 submodules/constants.js
View
@@ -5,7 +5,7 @@ This is an EC2 monitoring application using node.js and the Amazon CloudWatch AP
### Prerequisites
-Set ulimits HIGH (4000 at least)
+* Amazon EC2 account
### Setup
@@ -28,6 +28,12 @@ To do a light install:
sudo ~/node-monitor.sh install-debian # Debian
sudo ~/node.monitor.sh install-centos # CentOS
+
+Configure AWS credentials/CloudWatch namespace in config/monitor_config:
+
+ cloudwatch_namespace=<Namespace Instance Metrics>
+ AWS_ACCESS_KEY_ID=<ID>
+ AWS_SECRET_ACCESS_KEY=<Key>
Start the monitor in production mode:
View
@@ -22,7 +22,7 @@ ConstantsManagerModule.prototype.strings.LOCAL_IPV4 = 'local-ipv4';
ConstantsManagerModule.prototype.strings.PUBLIC_HOSTNAME = 'public-hostname';
ConstantsManagerModule.prototype.strings.IP = 'client-ip';
ConstantsManagerModule.prototype.strings.EC2_METADATA_SCRIPT = '../bin/ec2-metadata';
-ConstantsManagerModule.prototype.strings.CLOUDWATCH_ENABLED = 'cloudwatch_enabled';
+ConstantsManagerModule.prototype.strings.CLOUDWATCH_ENABLED = 'cloudwatch';
ConstantsManagerModule.prototype.strings.EC2 = 'ec2';
ConstantsManagerModule.prototype.strings.TRUE = 'true';
ConstantsManagerModule.prototype.strings.CONSOLE = 'console';

0 comments on commit bff64da

Please sign in to comment.