Service graph connector Meraki

Ashish_Kumar00
Tera Contributor

I have integration of SG-Meraki where I am facing to two issue.

1. Discovery for Meraki is running fine but not auto updating in target table. if I am doing Manually transform, than it is updating to hardware table.
2. After the update on table ci's status automatically set as retired.

 

Need Quick help.

2 REPLIES 2

HasiniC
Tera Contributor

The default Service Graph Connector (SGC) for Meraki uses the following line of code in the ETL script to initiate data import:

 

var importUtils = new x_caci_sg_meraki.SGConnectorMerakiImportUtils(import_set_table).startImport();

 

This method (startImport()) performs a full import, including processing Organization and Network records. However, during this process, existing Organization and Network CIs are being incorrectly deactivated, without applying any specific conditions or checks. Additionally, the Install Status field is updated inappropriately due to this automatic deactivation logic.

Even with ETL field mapping configured to preserve the Active status, the script's logic overrides this and sets records to inactive based on assumptions in the startImport() method.

Customization:

To avoid unintentional deactivation and preserve valid records, the script was modified to explicitly start the import process at the organization level, bypassing the full import logic.

 

Updated Script:

 

var importUtils = new x_caci_sg_meraki.SGConnectorMerakiImportUtils(import_set_table).getOrganizations();

 

 

HasiniC_0-1757594475723.png

 

HasiniC
Tera Contributor

Hi @Ashish_Kumar00 , 

Check the above solution, and mark helpful if it works.