Notifications

37 views

Description

Symptom:
Error in Discovery Pattern log "Running pre sensor script- Update manufacturer and model details for Next Generation Firewall failed due to: TypeError: Cannot convert null to an object.."

Affected instance(s):
OOTB Instance with plugin "Discovery and Service Mapping Patterns" 1.0.65


The pre-sensor script "Update manufacturer and model details for Next Generation Firewall" is in wrong Application and Domain with version 1.0.65

The OOTB pre-sensor script is put in non-existing domain and in wrong Application "Discovery and Service Mapping Patterns"


With Domain and Application changed to "Global" Discovery can work as expected without errors. Attached the modified pre-sensor script xml.

Steps to Reproduce

Update plugin "Discovery and Service Mapping Patterns" to version 1.0.65

Run Palo Alto Discovery with pattern

Workaround

> Regarding Application Scope of the pre post sensor:

The pre-sensor is using Script Include named MakeAndModelJS, which is in global and is accessible only from it's own scope.

This is the reason for failure of pre-sensor execution as it resides in different scope.

In latest releases MakeAndModelJS is changed to "Accessible from all application scope". This change is present Orlando and is going to be pushed in NP-10. 

After this change from NP-10, the change of application scope is not required, as this script is part of store family. Hence as part of this PRB, only Domain will be corrected.

> Regarding Domain of the pre post sensor:

This should be set to global. This issue is fixed in this PRB



Related Problem: PRB1412934

Seen In

SR - ITOM - CMDB CI Class Models - 201908
SR - ITOM - CMDB CI Class Models - 201909
SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Discovery and Service Mapping - 202006
SR - ITOM - Discovery and Service Mapping - 202009
SR - ITOM - Fundamentals Istanbul Jakarta Kingston r1 - v5.99.6

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-10-07 14:48:00
Published:2020-09-29