Hi Guru’s,
I am attempting to monitor log files on a Linux host which seems to work if I include the entire path. I have about 20 lines, one for each log file. I am adding them daily.
/opt/tibco/bw/6.2/domains/TIBCO-US-LM-01/appnodes/CorporateEmailTrackAppspace/CorporateEmailTrackAppnode-1/log/bwappnode.log
/opt/tibco/bw/6.2/domains/TIBCO-US-LM-01/appnodes/DataAgentDBTimerAppSpace/DataAgentDBTimerAppNode-1/log/bwappnode.log
/opt/tibco/bw/6.2/domains/TIBCO-US-LM-01/appnodes/EnrichmentProcessAppspace/EnrichmentProcessAppnode-1/log/bwappnode.log
What I would rather have is something similar to what is listed here. In section 2.6
https://mathias-kettner.de/checkmk_logfiles.html#Logwatch%20on%20Linux%20and%20UNIX
Every time we deploy a new application I have to manually change the logwatch.cfg file. I want to have all log files in the path included without a manual change.
Here is what I have, am I even close?
/opt/tibco/bw/6.2/domains/.log regex=/[a-z]+[A-Z]+[0-9]-.log$
Thanks, Greg