Skip to main content
All CollectionsProduct InfoIntegrations
ServiceNow Integration for CMDB and Incident Creation
ServiceNow Integration for CMDB and Incident Creation
Alex Patnick avatar
Written by Alex Patnick
Updated over a month ago

Faddom can be integrated with ServiceNow to populate the CMDB database with your application maps and any servers not already showing that Faddom discovers. The data that will be imported for each server includes -

  • Hostname

  • IP address

  • OS information

  • Dependencies

  • List of the Application Maps that the servers belong to

Creating ServiceNow Incidents From Faddom

You can push Faddom alerts to ServiceNow to create incidents based on predefined criteria within the Faddom UI. For detailed instructions on how to do this, please refer to the ServiceNow section of our Notifications guide.

Integrating Faddom Data Into ServiceNow

Prerequisites

  1. It may be neccessary to have a mid-server setup to ensure Faddom can communicate with your ServiceNow Instance. For further information you can see the ServiceNow Mid Server documentation

  2. The actions below can only be performed by a user with the Admin role in the target ServiceNow instance

  3. You need the appropriate Update Sets at the bottom of this article

Procedure

  1. Login into ServiceNow with your admin credentials

  2. Navigate to Retrieved Update Sets

  3. Scroll down to the bottom and click on Import Update Sets from XML. For more information see the ServiceNow documentation on Update Sets

    Import_links.png

  4. Upload the XML file Faddom_ServiceNow_Integration_v2.xml and click Upload

    Upload_sets.png

  5. The XML file should appear in Retrieved Update Sets as below

    Upload_sets2.png

  6. Open the record

  7. Click on Preview Update Set in the top left or right

    Preview_US.png

  8. After previewing, click on Commit Update Set on the top right or left bottom

    Commit.png

  9. Ensure the update set has been committed

  10. Navigate to the table by typing sys_auth_profile_basic.list in the Application Navigator and pressing enter

    Search.png

  11. From this table, search for Faddom API Auth

    Faddom_API_Auth.png

  12. Input your Faddom credentials

  13. Search for Rest Messages in the Application Navigator

  14. Search for Faddom CIs and open the record

    CIs.png
  15. Scroll down at the bottom to HTTP Method

  16. Open these methods one by one and replace 0.0.0.0 with the IP address of the Faddom server

  17. If needed, you will also need to select the Mid-Server you wish to use

  18. After updating it, you can test the HTTP Method by clicking on the ‘Test’ button under Related Links

    HTTP.png

  19. Once all the HTTP methods are working fine and returning the HTTP Status code as 200, move to the next step. If you have any other issues see the Troubleshooting section

  20. Navigate to the Scheduled Script Execution table by typing sysauto_script.list in the Application Navigator

  21. Right-click on any Column header and click on Import XML

    Import.png

  22. Upload Get Faddom Business Apps Job.xml

  23. Repeat steps 19-21 to upload the following XML:

    • Get Faddom Servers Job.xml

    • Get Faddom Servers Relationships Job.xml

    • Get Faddom Application Server Relationships Job.xml

    • Delete All Faddom Tagged Records.xml (to ensure data is synchronized. See Refreshing Data Imported From Faddom Manually)

  24. Navigate to table sysauto_script again by typing sysauto_script.list to check all the four jobs mentioned in the above steps

    Check.png
  25. To upload the data the first time, you can click on Execute Now for every job in the following order:
    a. Delete All Faddom Tagged Records.xml
    b. Get Faddom Business Apps Job
    c. Get Faddom Servers Job
    d. Get Faddom Servers Relationships Job
    e. Get Faddom Application Server Relationships Job

  26. Click on each job and edit the Run, Schedule, TimeZone, and Time as per your business need. Also, you can execute these jobs on an ad-hoc basis by clicking on Execute Now in the top right or bottom left. Ensure the timing is the same as the above order.

    schedule.png

  27. To check the records created navigate to the following tables:
    cmdb_ci_business_app -> Business Applications
    cmdb_ci_server -> Servers
    cmdb_rel_ci -> Relationships

  28. To Navigate to the above tables type tableName.list in the Application Navigator.

    Picture1.png

  29. You can then filter the records based on the Name or the Created dates or as per your search criteria. For applying search criteria, click the Filter button, apply your conditions, and finally click Run.

    filter.png

  30. You can also filter the records based on Tags created by Faddom Integration using the following criteria

    Picture2.png

  31. If you want to check logs after the execution of jobs, you can navigate to System Logs -> System Log -> All and apply a filter Created on Today and Source is Faddom to see the logs related to Faddom

    logs.png

Refreshing Data Imported From Faddom Manually

  1. Ensure that the Delete All Faddom Tagged Records.xml record set is imported and committed. (see steps 1-20 above)

  2. Navigate to System Navigator -> Fix Script

  3. Search for Faddom Delete CIs

  4. Open the above script

  5. Click on Run Fix Script

    Picture3.png


  6. Click on Proceed or Proceed in Background on the popup

    Picture4.png
  7. Verify in the respective tables if the records have been deleted

  8. Follow Step 25 above if you wish to schedule the deletion job of Faddom CIs

    Picture5.png
  9. Manually re-rerun the previously uploaded order as per Steps 21-22.

Viewing Maps

Application Maps

  1. Navigate to Business Applications in the Application Navigator

  2. Click on the name of the Business Application

  3. You will see a list of members

  4. Click on the Map icon to see a map of the Business Application

Server Maps

  1. Navigate to Servers in the Application Navigator

  2. Find a server you are interested in seeing the information of

  3. Click on the name of the server to enter the server properties

  4. You will see a list of Dependencies and the Application Maps it belongs too

  5. You can click on the name of the Map and the map icon to see a map of the Business Application

Troubleshooting

  1. If your HTTP methods are returning an SSL certificate error, can change the following under System Property:
    a. Set com.glide.communications.httpclient.verify_hostname to False
    b. Set ‘com.glide.communications.trustmanager_trust_all to True

    However, this is not recommended by ServiceNow and the other option is to install a self-signed SSL certificate on the Faddom server. You can do this by following our guide on Changing the Faddom server SSL certificate

  2. To update the above System Properties, navigate to the System Properties table by typing sys_properties.list in the Application Navigator. Search for the above properties and mark them true/false as per requirements

    Note: Just make changes to System Properties in your lower instance temporarily as it might affect the security of your instance or contact the ServiceNow Admin team before making any changes

Update Sets

Attachment icon
Did this answer your question?