The invention discloses a threshold setting method, system, device and computer readable storage medium. After acquiring the historical data of target performance, it will judge whether the target peak value meets the preset threshold standard. If it meets, it will normally set the target peak value as the current alarm threshold, and if it does not meet, there is no need for manual work. Setting, but using the preset threshold determination method to set the threshold, so as to achieve the full automatic setting of the threshold. After the threshold setting is completed, the result of the determination including the current alarm threshold is added to the log. Therefore, even though there is no human participation in the process of setting the alarm threshold, the operators and maintenance personnel can also understand the situation of the threshold setting, so that the current alarm threshold can be adjusted according to the analysis of the situation of the threshold setting. Accuracy of threshold after automatic threshold setting.
【技术实现步骤摘要】
一种阈值设置方法及相关装置
本专利技术涉及计算机
,更具体地说,涉及一种阈值设置方法、系统、装置及计算机可读存储介质。
技术介绍
在计算机设备的正常运行过程中,其性能值(例如CPU温度等)也会变化在正常的范围内。为了保证设备的运行稳定,会对设备的各项性能进行监控,合理的确定监控的性能对象,以及为其设置合理的阈值,在性能超过阈值时就及时报警,从而可以及时的发现设备的问题,尽可能的把潜在问题在萌芽状态解决,并消除隐患。因此,阈值的合理设置尤为重要。目前,设置阈值的方法通常需要运维人员获取到历史性能数据,然后根据历史性能数据手动的设置阈值。但是此种方法需要运维人员比对各项数据,然后凭经验和比对结果来设置阈值,从而在设置阈值的过程中,运维人员的工作量较大,而且由于人为的比对结果和经验值都不够准确,这就导致了设置的阈值不够客观准确,可能会造成重要问题的遗漏,亦或是轻微问题的重复告警,影响利用阈值对设备监控的结果。因此,如何设置合理的阈值,是本领域技术人员需要解决的问题。
技术实现思路
本专利技术的目的在于提供一种阈值设置方法、系统、装置及计算机可读存储介质,以解决如何设置 ...
【技术保护点】
1.一种阈值设置方法,其特征在于,包括:获取目标性能的历史数据,确定所述历史数据的目标峰值;判断所述目标峰值是否满足与所述目标性能对应的预设阈值标准;若是,则将所述目标峰值确定为所述目标性能的当前报警阈值;若否,则利用与所述预设阈值标准对应的预设阈值确定方法确定所述目标性能的当前报警阈值;将包括当前报警阈值的当前报警阈值确定结果添加至日志。
【技术特征摘要】
1.一种阈值设置方法,其特征在于,包括:获取目标性能的历史数据,确定所述历史数据的目标峰值;判断所述目标峰值是否满足与所述目标性能对应的预设阈值标准;若是,则将所述目标峰值确定为所述目标性能的当前报警阈值;若否,则利用与所述预设阈值标准对应的预设阈值确定方法确定所述目标性能的当前报警阈值;将包括当前报警阈值的当前报警阈值确定结果添加至日志。2.根据权利要求1所述的方法,其特征在于,所述确定所述历史数据的目标峰值,包括:在所述历史数据中确定数值大于预设数据的所有历史数据,作为备选峰值;在所述备选峰值中确定目标峰值。3.根据权利要求1或2所述的方法,其特征在于,所述判断所述目标峰值是否满足与所述目标性能对应的预设阈值标准,包括:判断所述目标峰值是否小于最大安全运行值;若是,则判断所述目标峰值是否在预设运行范围内。4.根据权利要求3所述的方法,其特征在于,所述利用与所述预设阈值标准对应的预设阈值确定方法确定所述目标性能的当前报警阈值,包括:当所述目标峰值不小于所述最大安全运行值时,将所述目标性能的当前报警阈值保持不变;则所述将包括当前报警阈值的当前报警阈值确定结果添加至日志,包括:将包括当前报警阈值的当前报警阈值确定结果作为更新失败记录添加至日志。5.根据权利要求3所述的方法,其特征在于,所述利用与所述预设阈值标准对应的预设阈值确定方法确定所述目标性能的当前报警阈值,包括:当所述目标峰值不在所述预设运行范围内时,将所述预设运...
【专利技术属性】
技术研发人员:张志华,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。