There are definite planing differences between monitoring dedicated server and cloud server. One of them is that – components and sensors are not physical. Another point is that 6GB RAM OpenVZ server instance costs $7/month, whereas a 32 GB RAM dedicated server costs not exactly lesser with good networking. So, slight more RAM consumption is not very bad in case of a cloud server. Glances is a Free Set of Tools For Server Monitoring, Written in Python. It is Great Option For Cloud Server Monitoring as RAM is Not Costly and Setup is Really Easy.
It is actually important to monitor the CPU, current bandwidth usage, I/O on disks etc. There is eZ server monitor as alternative and free. Actually eZ server monitor lacks some features. It is no way bad though. Glances and eZ server monitor both can either be accessed through CLI or a web interface.
How To Setup Cloud Server Monitoring With Glances
Glances need Python, psutil and optional dependencies, we think these are more than sufficient for cloud server instance:
---
matplotlib (for graphical/chart support)
netifaces (for the IP plugin)
py-cpuinfo (for the Quicklook CPU info module)
pymdstat (for RAID support)
pysnmp (for SNMP support)
pystache (for the action script feature)
pyzmq (for the ZeroMQ export module)
requests (for the Ports plugin)
scandir (for the Folders plugin)
statsd (for the StatsD export module)
zeroconf (for the autodiscover mode)
These dependencies probably not needed for a cloud server :
nvidia-ml-py (for the GPU plugin)
pika (for the RabbitMQ/ActiveMQ export module)
potsdb (for the OpenTSDB export module)
py3sensors (for hardware monitoring support)
wifi (for the wifi plugin)
batinfo (for battery monitoring support)
bernhard (for the Riemann export module)
bottle (for Web server mode)
cassandra-driver (for the Cassandra export module)
couchdb (for the CouchDB export module)
docker (for the Docker monitoring support)
elasticsearch (for the Elastic Search export module)
hddtemp (for HDD temperature monitoring support)
influxdb (for the InfluxDB export module)
This is their official Github repository :
1 | https://github.com/nicolargo/glances |
And here is auto install script :
1 | https://github.com/nicolargo/glancesautoinstall |
Look at my edit on line 89 :
1 | https://github.com/AbhishekGhosh/glancesautoinstall/edit/master/install.sh |
You can install my modified version of installation script :
1 | curl -L https://raw.githubusercontent.com/AbhishekGhosh/glancesautoinstall/master/install.sh | /bin/bash |
Run with this command on CLI :
1 | glances |
You can read their documentation too.
Tagged With computer and internet , Computers Internet Commercial Services , paperuri:(7d25e582fa16fc0bb531780583bfde21)