question

ChuaLiangWei-4173 avatar image
0 Votes"
ChuaLiangWei-4173 asked ·

SCOM 2012 R2 Unix/Linux log file monitoring

can we monitoring Linux log file and capturing keywords on file name that not permanent for SCOM 2012 R2. Date and Time will change everytime the file created.

path = /orabackup/rmanBackup/LOG/rman_1_Mar_21_12_15_3_ELM92DMO.log


Expression= Successfull Archive backup of ELM92DMO

msc-operations-manager-linux
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

XinGuo-MSFT avatar image
0 Votes"
XinGuo-MSFT answered ·

Hi,

We could use regular expression to detect the log file names.

SCOM 2007R2 – UNIX Text Log Monitoring


· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

file name can use regular expression? where to can I find expression list.



0 Votes 0 ·
CyrilAzoulay avatar image
0 Votes"
CyrilAzoulay answered ·

According to that post, you can use standard linux regexes : https://www.reddit.com/r/sysadmin/comments/226yol/scom_unixlinux_log_file_monitoring_management/

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.