So I was finally able to create a trigger for my log file : {NHVM12:log[C:\Users\app_admin\Desktop\Python-Scripts\logs\results.log,^.*Exception.*$].str()}=1
unless I am doing something wrong this should look for Exception word in my log file. I set the severity to disaster just for testing right now and when I look at the trigger it shows OK in green instead of PROBLEM. I know the log file has an error in it with exception so now I am trying to figure out why it says OK in green instead of PROBLEM in red.
This is what I setup as my item : log[C:\Users\app_admin\Desktop\Python-Scripts\logs\results.log,^.*Exception.*$]
unless I am doing something wrong this should look for Exception word in my log file. I set the severity to disaster just for testing right now and when I look at the trigger it shows OK in green instead of PROBLEM. I know the log file has an error in it with exception so now I am trying to figure out why it says OK in green instead of PROBLEM in red.
This is what I setup as my item : log[C:\Users\app_admin\Desktop\Python-Scripts\logs\results.log,^.*Exception.*$]