Skip to content

thekonqueror/stats-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stats-agent

stats-agent is a python daemon to collect cpu, memory and process statistics on cloud instances. Collected data is posted in json format to user specified endpoint for further analysis and storage.

Thanks to amonapp/amonagent for core.py snippet.

Stats-agent collects following information about running instance:

  • Memory usage
  • CPU Utilization
  • Load averages
  • Disk usage
  • Network traffic
  • Uptime
  • WAN IP
  • UUID from user specified file

Stats-agent also creates a new user account with sudo access. This account can be used for remedial actions initiated by API endpoint based on posted values. RSA Key is used for authentication of this account. For added security, SSH access can be limited to API endpoint IP.

Version

1.0.0

Installation

$ wget https://code.stats.io/install.sh
$ bash install.sh

License

MIT

About

Python agent for collecting statistics on cloud instances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published