-
Type:
Incident report
-
Resolution: Won't fix
-
Priority:
Trivial
-
None
-
Affects Version/s: 2.0.12
-
Component/s: API (A)
-
None
-
Environment:AIX
I've created the item/trigger below to monitor the logs where the log rotates everyday. it works however, it check all the logs containing the 6 alphabetical characters and not the today's log with the current date. What would be proper item/trigger for the current date without writing and executing a script?
/opt/local/logs/EcissInt1 -rw-r--r-- 1 ecissi1 midware 347833019 Jan 02 13:10 start.020115.log
item:
logrt["/opt/local/logs/EcissInt1/start.[0-9]{6}.log1","Bad connection","ISO-8859-1 from F",200]
trigger:
{berlin:logrt["/opt/local/logs/EcissInt1/start.[0-9]{6}.log","Bad connection","ISO-8859-1 from F",200].nodata(360)}=0