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
I am using check_logfiles alot & am quite happy with it. What I could not resolve so far is this:
If a critical match is found in line n, I want to hold off ringing the alarm and evaluate the next line n+1 instead. If it matches pattern ABC, I want to ignore and ring the alarm if it does not.
So if my critical pattern was ERROR, I want that these 2 would be ignored:
ERROR global catastrophical error:
just a test though
But here, a critical error should be raised:
ERROR global catastrophical error:
somethin really bad happened that should be investigated
Any hint how this can be done with a supersmartscript?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I am using check_logfiles alot & am quite happy with it. What I could not resolve so far is this:
If a critical match is found in line n, I want to hold off ringing the alarm and evaluate the next line n+1 instead. If it matches pattern ABC, I want to ignore and ring the alarm if it does not.
So if my critical pattern was
ERROR
, I want that these 2 would be ignored:But here, a critical error should be raised:
Any hint how this can be done with a supersmartscript?
Thanks!
The text was updated successfully, but these errors were encountered: