一个稳定的系统,每天在同一时刻的 cpu,mem 这些性能数据应该是大致相当的,
有没有办法通过计算同一时间的历史数据,生成一个基准数据区间,
当遇到突发情况业务暴增,或者遭到外部攻击的时候,系统资源肯定是异常增长的,但这个时候传统的触发器并不一定会触发,如果能生成一个超出基准区间的告警会不会对维护自己的环境有一些帮助。
缺省好像是没有的,但是可以自己做出来,借花献佛一下。
参考一下这个回帖
https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/30678-baseline-monitoring
So, my idea of 'good baselining' is to have configured fixed period:
Than API function to mark week\month\year as baseline or to copy baseline data to dedicated tables should be created.
After that there should be new functions for retrieving baseline data, 'couse it should roll over and over the same data again. Something like w_baseline(key) - get item identified by key from weekly baseline.