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
Sometimes it's not enough only for check for file size, creation/modify date etc. from files in a directory. Therefore it is sometimes necessary to additionally search for a file content (pattern). It would be great to have such a possibility with an additional parameter.
Because I forked the check already for us with such a new param, I will create a PR with this change.
The text was updated successfully, but these errors were encountered:
After, the function Get-IcingaDirectoryAll() needs a new parameter like [string]$FileContainPattern
and then in the code must be added something like this to filter again the the file list
Sometimes it's not enough only for check for file size, creation/modify date etc. from files in a directory. Therefore it is sometimes necessary to additionally search for a file content (pattern). It would be great to have such a possibility with an additional parameter.
Because I forked the check already for us with such a new param, I will create a PR with this change.
The text was updated successfully, but these errors were encountered: