Ad Widget

Collapse

unable to create trigger for log item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jvanasco
    Junior Member
    • May 2019
    • 1

    #1

    unable to create trigger for log item

    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.*$]
    Last edited by jvanasco; 31-05-2019, 21:50.
Working...