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
It needs to be able to do a multiline regex match or force a match of all the patterns.
Because that way it would have much more precise matching, I tried making two patterns and requiring two matches, which does work, but will also react if instead of having both patterns it has one of them twice.
If I could do a multiline regex match or require all regex patterns of the same level(ie two critical patterns or two warning patterns) to be included to react.
Example if I had two or more critical patterns, lets say aaa and bbb, and you added an additional parameter I assume to tell it to match all then when I had aaa twice in the log output instead of aaa and bbb it would not react, but if it had aaa and bbb, then check_logfiles would react.
The text was updated successfully, but these errors were encountered:
manoflinux
changed the title
It needs to be able to do a multiline regex match or force a match of of the patterns
It needs to be able to do a multiline regex match or force a match of all the patterns
Nov 6, 2023
It needs to be able to do a multiline regex match or force a match of all the patterns.
Because that way it would have much more precise matching, I tried making two patterns and requiring two matches, which does work, but will also react if instead of having both patterns it has one of them twice.
If I could do a multiline regex match or require all regex patterns of the same level(ie two critical patterns or two warning patterns) to be included to react.
Example if I had two or more critical patterns, lets say aaa and bbb, and you added an additional parameter I assume to tell it to match all then when I had aaa twice in the log output instead of aaa and bbb it would not react, but if it had aaa and bbb, then check_logfiles would react.
The text was updated successfully, but these errors were encountered: