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
hello,
I've tested 0.5.2.41, 0.5.3.4 and 0.6.0.1 and with all of them I'm not able to use empty-state option.
My goal is to check a single file and if its timestamp is older than 30min to raise an alarm. If it is fresh/recent (less than 30min old) then I need an OK state and not Unknown as returned when no files are found.
When the file is older than 30min, the command returns critical as expected.
But when the files is fresh, the CheckFiles reports no file found and issues Unknown - 3
I want no files found to return OK, thus I try to use 'empty-state=ok' which is not availbale as it seems
Anyone has any ideas how to achieve this? I need to check single file timestamp, if older than X min then warn/crit. If it is fresh enough I need OK state.
hello,
I've tested 0.5.2.41, 0.5.3.4 and 0.6.0.1 and with all of them I'm not able to use empty-state option.
My goal is to check a single file and if its timestamp is older than 30min to raise an alarm. If it is fresh/recent (less than 30min old) then I need an OK state and not Unknown as returned when no files are found.
When the file is older than 30min, the command returns critical as expected.
But when the files is fresh, the CheckFiles reports no file found and issues Unknown - 3
I want no files found to return OK, thus I try to use 'empty-state=ok' which is not availbale as it seems
Thanks!
The text was updated successfully, but these errors were encountered: