This predefined module is created to write log messages when the import status of data feeds did not receive any new data for a certain amount of time.
It can be configured as predefined activity in a workflow file:
Code Block | ||||
---|---|---|---|---|
| ||||
<activity>
<predefinedActivity>import status checker</predefinedActivity>
</activity>
|
It is using the <extraTimeThreshold> configuration from the display config file SystemMonitorDisplay.xml, just like the Import Status tab.
When it is not available error messages will occur explaining what is wrong.
Code Block | ||||
---|---|---|---|---|
| ||||
<extraTimeThreshold>
<dataFeedId>ImportScalar</dataFeedId>
<timeThreshold>
<periodLength value="12" unit="hour"/>
<color>yellow</color>
<eventCode>DataFeed.missing</eventCode>
<logLevel>INFO</logLevel>
</timeThreshold>
<timeThreshold>
<periodLength value="24" unit="hour"/>
<color>orange</color>
<eventCode>DataFeed.missing</eventCode>
<logLevel>WARN</logLevel>
</timeThreshold>
<timeThreshold>
<periodLength value="36" unit="hour"/>
<color>red</color>
<eventCode>DataFeed.missing</eventCode>
<logLevel>ERROR</logLevel>
</timeThreshold>
</extraTimeThreshold>
|
When a data feed did not receive any new data longer than the period length, it will log a message with the <logLevel> and <eventCode>.