为了方便自己测试和监控,写了三个监控的脚本。
分别监控:
- 主机【cpu,mem,disk,fs,net】
- oracle
- mysql
脚本如下:
hmon.py: monitor Linux os system including cpu,memory,disk,net,file system at a regular interval.
mmon.py: monitor MySQL DataBase with innodb engine on Linux platform at a regular interval.
omon.py: monitor Oracle DataBase on Linux platform at a regular interval.
mon.sh: convenient way to retieve monitor [OS/MySQL/Oracle] Datas.
pidmon: monitor Linux process.
github项目地址:https://github.com/xpchild/Monitor
[主机/oracle/msyql] 监控脚本,码迷,mamicode.com
时间: 2024-10-10 09:18:29