Forum Discussion

kenwu's avatar
kenwu
Icon for Participant rankParticipant
18 days ago

CMDB Sync - Attributes Sync per ci class

Hallo 

This is more of a PowerFlow discussion on the CMDB Sync pack. Currently the mapping of attributes is not restricting on what class have what attributes. It is mostly coming down to what we currently have it map within ScienceLogic. The fun of that is that the PF will come down to some weird attributes association with different class, even when that attributes does not exist. Example Blade and CPU counts are certainly not an attributes of wap_network Ci class, however PF will put that together and make the payload a bit bigger and send over to ServiceNow. Then it gets ignored. While that we also cannot see the Ignore on the PF Debug.

{
               "className":"cmdb_ci_wap_network",
               "values":{
                  "x_sclo_scilogic_monitored":true,
                  "x_sclo_scilogic_id":"123456",
                  "x_sclo_scilogic_region":"ScienceLogic",
                  "x_sclo_scilogic_url":"https://support.sciencelogic.net/em7/index.em7?exec=device_summary&did=123456",
                  "object_id":"BR_1_AP",
                  "company":"a9b548781be235496287bc4bcb4bcb04",
                  "sys_domain":"3d854c381be230502c496287bc4bcbd3",
                  "short_description":"Description: Fortinet.AccessPoint, Device Class: Fortinet | FortiAP",
                  "u_public_ip_address":"10.11.10.4",
                  "u_operation_state":"connected",
                  "serial_number":"FP432FTF000000001",
                  "u_software_version":"FP432F-v7.4-build0540",
                  "version":"FP432F-v7.4-build0540",
                  "u_uuid":"f039250e-4878-51ef-42f2-f0b32e139f7d",
                  "cpu_count":0,
                  "cpu_speed":0,

                  "first_discovered":"2025-01-23 19:11:03",
                  "firmware_version":"FP432F-v7.4-build0540",
                  "u_firmware_version":"FP432F-v7.4-build0540",
                  "os":"FP432F-v7.4-build0540",
                  "fqdn":"BR_1_AP",
                  "host_name":"BR_1_AP",
                  "u_discovered_manufacturer":"Fortinet",
                  "manufacture":"Fortinet",
                  "u_discovered_model_number":"432F",
                  "model":"432F",
                  "model number":"432F",
                  "name":"BR_1_AP",
                  "blade_serial_number":"FP432FTF000000001",
                  "cost":0
               },

  • kenwu Trying to understand - Is the concern here the payload size? Wondering if the unwanted attributes are coming in the way of sync, extending the time of the sync, etc.

    • kenwu's avatar
      kenwu
      Icon for Participant rankParticipant

      HI Apurva, 

      There are 2 things that is discussed here.

      1. What are the attributes that we are sending to ServiceNow, the example above, provide 8 attributes that will get ignore by ServiceNow. as per Cpu / software / serial number
      2. As the above payload for 1 Ci, we have 30 attributes while that minimally, 8 of them are ignored by ServiceNow, as they are mapped as they are available in SL/PF. That's nearly 25% of payload.  

      When we are synching 80K devices, that will change the payload size and wait time.  

  • Thanks for your post, I have reached out internally for some feedback here. 

    Thanks, Sara