First of all, I have a cre-1.6.0p13 on a debian 10 system.
I’m using a self written local check that fires a CURL command, that returns the number of HL7-files waiting in the send queue. I am using a numeric threshold to define warns and crits.
(32 Files waiting)
(19 Files waiting)
Now I want to determine, if the queue is working or stuck. I would like to achieve this with something like an inverted flapping detection, that notifies me, if one of the service is stuck at a specific queue file count (e.g. the number does not increase or decrease) for a prolonged period of time (i .e. 15 minutes).
Is there a built-in tool that can check, if the local check output remains the same or varies over time?
Thanks in advance for your ideas!