Linux\Unix OS - Pre Sensor throwing error when processing payload which contains start_date : "NaN" which results of failed discovery


Description

Linux\Unix OS - Pre Sensor throws an error when processing payload which contains start_date : "NaN"

In scheduled discovery, processing of script OOTB PreLinux\Unix OS - Pre Sensor throws an error when processing payload which contains "start_date" : "NaN" on some devices.
When running Quick discovery on the same device it is getting discovered because the attribute is set properly in number format - e.g. "start_date": "1596266642000"



Steps to Reproduce

The error is seen when the Linux server pattern runs.

Reproducible in some Discovery schedules where horizontal discovery probe payload returns start_date : "NaN"


Workaround

This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.

Workaround: 

In order to resolve this issue, please import the attached pattern xml for "UNIX - OS Uptime".



Related Problem: PRB1458634