cancel
Showing results for 
Search instead for 
Did you mean: 

ICMON File Pattern for Including Today and Yesterday

SAPSupport
Employee
Employee
0 Kudos
209

We want to validate a file with date format $TODAY$ and $YESTERDAY$. The file names we have a created/changed between 11 PM to 2AM (i.e. over today and yesterday).

We are not able to do it because we need to put $TODAY$ or $YESTERDAY$ in file format pattern but this file sometimes comes before 12am and sometime after 12am. Therefore we need 2 conditions. How can we put 2 conditions in one example like this? Can we put 'OR' expression


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

There are two approaches here:

  1. You can create just one channel and two interfaces for each file pattern ($TODAY$ & $YESTERDAY$). You will have to give each interface a different name and this will give you two returns in the ICMON UI but it should return the expected metrics. 
  2. You can modify the extractors to collect the data based on the specific hours you need. In step 5.3 of the ICMON configuration, select the metric level line. Under the "Data Collection" tab, there should be an "advanced" option. This brings up an option "Collect only from (HH:MM:SS)", here you enter values over two days e.g. 23:00:00 to 2:00:00 in your case.

 

Answers (0)