This question already has an answer here:
Does anyone know of a bash or similar script that will pull stats from a Linux server and display them on a centralized web page or send a report via email every "x" hours?
I've found services that offer something close but they are cost prohibitive and missing some of the stats I'd want and some functions just don't work, etc.
The idea would be to pull:
- CPU load
- RAM and SWAP
- Disk used / free
- TX and RX for a given time period (year to date, month, week and day)
- Active processes
- IPs attempting login (failures from secure log on my CentOS boxes)
I'd like to pull the reports to a central server and display them on a web page but having the reports emailed on a timed basis would be better than nothing.