Unable to monitor Amazon Linux memory with buffers and cache using Amazon CloudWatch Monitoring Scripts -


i followed steps in article, http://docs.aws.amazon.com/awsec2/latest/userguide/mon-scripts.html#mon-scripts-systems monitor server's memory usage , submit data cloudwatch.

one of metrics can used --mem-used-incl-cache-buff collects , sends memoryused metrics, reported in megabytes. option reports used in cache , buffers, memory allocated applications , operating system. memory metric important compare other memory metrics because metric collects memory used in cache , buffers well. other memory metrics collect free , used memory determine whether or not server running out of memory.

unfortunately output when tried run script:

[root@ip-172-31-10-167 ~]# ~/aws-scripts-mon/mon-put-instance-data.pl --mem-used-incl-cache-buff --verify --verbose  error: no metrics specified collection , submission cloudwatch.  more information, run 'mon-put-instance-data.pl --help' 

i've followed prerequisite in documentation ensure required tools installed first. did miss?

i think need is:

~/aws-scripts-mon/mon-put-instance-data.pl --mem-used-incl-cache-buff --mem-used 

--mem-used flag tell script want memory used , --mem-used-incl-cache-buff tells include cache , buffers.

to verify can run these 2 commands , compare output:

~/aws-scripts-mon/mon-put-instance-data.pl --mem-used --verify --verbose ~/aws-scripts-mon/mon-put-instance-data.pl --mem-used-incl-cache-buff --mem-used --verify --verbose 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -