You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write an alert where there is Critical, Warning, Info and OK. I'm running into an issue where the cpu usage will occasionally go between ok and info and i do not want to be alerted if that happens, but i do if it goes from warning down to info. It looks like there might be a way to get PreviousLevel (i've seen it here: #2668 and #2715 (where there looks to be "previousLevel" available.
I'm not seeing that in my data: {"Name":"","TaskName":"test-task","Group":"host=xxxxxx","Tags":{"host":"xxxxxx"},"ServerInfo":{"Hostname":"localhost","ClusterID":"xxxxxx","ServerID":"xxxxxx"},"ID":":host=xxxxxx","Fields":{"cpulist":"cpu0","status":"CHECK","timeframe":"30 minutes","used":0.16255418860727153},"Level":"INFO","Time":"2023-03-24T17:30:59.663545193-05:00","Duration":10797827655742,"Message":":host=xxxxxx is INFO"}
is there a way to get previous level when using a batch query so i can put some extra logic in my info alert?
The text was updated successfully, but these errors were encountered:
I'm trying to write an alert where there is Critical, Warning, Info and OK. I'm running into an issue where the cpu usage will occasionally go between ok and info and i do not want to be alerted if that happens, but i do if it goes from warning down to info. It looks like there might be a way to get PreviousLevel (i've seen it here: #2668 and #2715 (where there looks to be "previousLevel" available.
I'm not seeing that in my data:
{"Name":"","TaskName":"test-task","Group":"host=xxxxxx","Tags":{"host":"xxxxxx"},"ServerInfo":{"Hostname":"localhost","ClusterID":"xxxxxx","ServerID":"xxxxxx"},"ID":":host=xxxxxx","Fields":{"cpulist":"cpu0","status":"CHECK","timeframe":"30 minutes","used":0.16255418860727153},"Level":"INFO","Time":"2023-03-24T17:30:59.663545193-05:00","Duration":10797827655742,"Message":":host=xxxxxx is INFO"}
is there a way to get previous level when using a batch query so i can put some extra logic in my info alert?
The text was updated successfully, but these errors were encountered: