Ad Widget

Collapse

100% anomaly rate when expected to be 0%

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • machinelearningdingetjes
    Junior Member
    • Oct 2023
    • 10

    #1

    100% anomaly rate when expected to be 0%

    Hey,

    I've been experimenting a lot with the trendstl function in Zabbix 6.0 and have made a custom item which runs my python script that basically either sends the value 50 or value 100, based on the hour. It is set to switch each hour with the following statement: hour % 2 == 0 : print(50) else print(100).
    I've done this to create seasonal data. See the following picture for the trendline.

    Click image for larger version

Name:	image.png
Views:	170
Size:	42.1 KB
ID:	472455
    ​When using the following trigger: trendstl(<dummy_data>,120h:now/h,96h,24h)>=(1/96), I get this result: 1 >= (1/96), which basically means that it detected a 100% anomaly rate.
    This is the total opposite than my expectation because I expect to see 0 anomalies in this trend.
    Any thoughts on why this might be happening?

    Greetings,
    machinelearningdingetjes
Working...