The script can monitor the following information to facilitate daily statistical inspection:
- Internet connectivity
- Operating system type
- Operating system name
- Operating system version
- framework
- Kernel version
- host name
- Internal IP
- External IP
- Domain Name Server
- Logged in user
- Memory usage
- Exchange partition usage
- Disk usage
- Average load
- System Up Time
One click script code:
yum install sysstat wget -y && wget -N --no-check-certificate https://raw.githubusercontent.com/Lcry/Command-file/master/monitor_ch.sh && chmod +x monitor_ch.sh && ./ monitor_ch.sh
Screenshot of execution results:
Note: The script may not be perfect. In v0.1 version, the following improvements will be made later when there is time to send mailbox alarms and schedule tasks.
The End label: shel , The server , monitor
Link to this article: https://www.51it.wang/ll/239
For commercial reproduction, please contact the author for authorization. For non-commercial reproduction, please indicate the source and link of this article