0

Is there a way to monitor ec2 instances without using cloudwatch? I ask this since ec2 instances are basically VPS's, and using output from commands like top, vmstat, htop in scripts may not give the clear picture as the CPU cycles are shared between other instances as well.

What should one keep in mind while monitoring CPU usage on a VPS?, should one have alerts based on top load or % of CPU used by user processes coupled with other factors like processes waiting on disk io, hardware interrupts?

closed as too broad by Ward, kasperd, Rex, mdpc, HopelessN00b Aug 23 '14 at 6:00

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1

Monitor it like any other server (Nagios, opennms etc). The output of top etc. will be specific to your container, rather than the hypervisor.

As for the second part of your question; that is personal preference. I would not personally set up alerting based off CPU load, as it does not definitively indicate a problem.

Not the answer you're looking for? Browse other questions tagged or ask your own question.