Is there a something lilke an inverted flapping detection?

Hi again,

So I expanded my local check.
I created a 2 files for each channel to be monitored:

  • [CHANNELNAME.cache]
  • [CHANNELNAME.refresh]

I then set the script to write out the current filecount (variable “x”) in the channel queue to the corresponding .cache file
When the script runs again, it will read the .cache file’s content and imports it as variable “y”
These to variables are then compared and if they do not match or are both “0” then nothing the .refresh file gets overwritten. It they match (meaning: file count in queue stays the same) nothing happens.

Here I made an entry in the fileinfo.cfg /[…]/*.refresh and set the maximum file age in the WATO to 15 minutes.

Heres a part of my script:

And the file age checks look like this:

Now it’s working as intended.