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.
Home
/
user-45262
linux911's questions
I commonly run into issues where a GRE tunnel (CentOS server to server, not router based) works and pings fine from both ends but the IP / Range being tunneled does not function.
This almost always turns out to be some routing issue at the tunnel source but it's a joke trying to get these issues solved as the impetus is basically on me, the client to prove to the provider the issue is not with the tunnel itself.
Other than ping and route command read outs what are some methods to troubleshoot such an issue? Please list the tools and example commands if possible.