Skip to main content

Using the Freshservice Integration

tip

This page covers the usage and operations of the Freshservice integration.

Using the Integration App

Configure the Device42 for Freshservice app to sync data from Device42 to Freshservice and view and edit the fields mapped between Device42 and Freshservice.

Find the Settings Tab

Make your way to the Settings tab, located on the configuration page of the Device42 integration app:

  1. Click the ellipsis menu (located at the bottom of the left panel) and select Admin (1). Enter apps in the "Search admin" search bar to quickly bring up the Apps option.

  2. From the Apps page, click Manage Apps.

  3. Under the Installed Apps tab, find the Device42 for Freshservice app and select Settings > Edit settings (2).

    Edit settings

Run the Data Synchronization

Data synchronization (sync) imports new CIs and updates the existing ones within Freshservice. Locate the synced data under Assets > Inventory in Freshservice.

You can schedule a daily sync and run the sync immediately. We recommend that you run a full sync after installing the integration app.

From the Settings tab, scroll down to the Schedule Synchronization section.

To automatically fetch data from Device42 daily, check the Use Schedule checkbox and enter a Sync Time (UTC) at which to perform the sync.

Schedule synchronization

To run the sync immediately, click the Manual sync button to reveal the options:

  • Select Run Full Sync (blue button) to sync all items from Device42 to Freshservice, regardless of when the items were added or updated in Device42.
  • Select Run Partial Sync (green button) to sync only the items that have been changed in Device42, either added or updated, since the last successful sync.

View Sync History Logs

From Freshservice, go to Admin, search for apps, and click Manage Apps. Find the Device42 for Freshservice app, open the Settings dropdown, and select Edit Settings.

The synchronization history is useful for debugging issues and seeing the number of devices brought into Freshservice. You can view the previous and currently running syncs.

Select a row from the sync history table to view the logs associated with it (if there are any). The displayed text is limited to 4,000 characters.

View sync history

Scroll down to view error messages and other details.

To download the full logs, use the Download Full Log button in the lower-left corner of the text area.

View sync history

note

A full sync will be forced during upgrades to get new data from Device42. The sync history type will be listed as a full upgrade instead of an incremental one until a successful sync has been performed.

View Mapped and Unmapped Data for Specific Assets

We understand that some fields within Device42 may not easily translate to fields within Freshservice. We've added the ability to view these fields from one location, eliminating the need to navigate between applications. To view the mapped and unmapped data for a device within Freshservice, follow the steps below.

  1. Navigate to Assets > Inventory from the Freshservice dashboard. On the Inventory screen, select the asset (imported from Device42) for which you want to view mapped and unmapped data.

    Inventory screen

  2. On the right panel of the page, under Apps, you will see the Device42 application. Click the box to expand it and click the View Device42 Data button.

    View Device42 Data button

  3. A window will open, and the current device's mapped and unmapped data will be displayed.

    Mapped and unmapped data

  4. Click View Asset in Device42 to be redirected to the asset in Device42.

    View Asset in Device42View Asset in Device42

Data Types Transferred From Device42 to Freshservice

D42 Data TypeFreshservice Type (General)Type (Specific)
Device with physical type and Laptop subtypeAssets/InventoryLaptop
Device with physical type and WorkStation subtypeAssets/InventoryDesktop
Device with physical type and Network Printer subtypeAssets/InventoryPrinter
Device with physical type and Router subtype (this is not a built-in subtype and would need to be created by the user)Assets/InventoryRouter
Device with physical type and Firewall subtype (this is not a built-in subtype and would need to be created by the user)Assets/InventoryFirewall
Device with OS of F5 or NetScalerAssets/InventoryLoad Balancer
Device with Network Device flag setAssets/InventorySwitch
Device with physical type and Windows Server OSAssets/InventoryWindows Server
Device with physical type and Unix or Linux OSAssets/InventoryUnix Server
Device with physical type and AIX OSAssets/InventoryAIX Server
Device with physical type and SunOS or Solaris OSAssets/InventorySolaris Server
Device with Virtual/Container Host flag set and ESXi OSAssets/InventoryVMware VCenter Host
Device with Virtual/Container Host flag setAssets/InventoryHost
Device with virtual type and VMWare subtypeAssets/InventoryVMware VCenter VM
Device with virtual type and Amazon EC2 Instance subtypeAssets/InventoryAWS VM
Device with virtual type and Azure Virtual Machine subtypeAssets/InventoryAzure VM
Device with physical type and does not match one of the more specific asset types aboveAssets/InventoryServer
Device with virtual type and does not match one of the more specific asset types aboveAssets/InventoryVirtual Machine
Device that doesn't match one of the more specific asset types aboveAssets/InventoryComputer
Business ApplicationsAssets/InventoryBusiness Service
SoftwareAssets/SoftwareDesktop
PO Line Item/Contract Type: WarrantyAssets/ContractsWarranty
PO Line Item/Contract Type: BASE (IBM & Lenovo vendors)Assets/ContractsWarranty
PO Line Item/Contract Type: UPGRADE (IBM & Lenovo vendors)Assets/ContractsWarranty
PO Line Item/Contract Type: LeaseAssets/ContractsLease
PO Line Item/Contract Type: Service and all othersAssets/ContractsMaintenance
Software Licensing (only for managed software and can come from software or the PO line item)Assets/ContractsSoftware License
Business Applications Device to Device relationshipRelationships between assetsSends Data To / Receives Data From
Business Application to Device RelationshipsRelationships between assetsHosted On / Hosts
Application Group Device to Device RelationshipsRelationships between assetsDepends On / Used By
VM to Host RelationshipsRelationships between assetsVirtualized by / Virtualizes

Mandatory Attributes Required From Device42 During Sync

The following attributes are required from Device42 during the sync process:

EntityMandatory Fields
AssetName, Asset_type_id, Product_id
SoftwareName, Application_type
ContractName, Contract_id, Contract_type
Software InstallationApplication_id, Asset_id
RelationshipsRelationship_type_id, Primary_id, Secondary_id
VendorsName
ProductsName, Asset_type_id
Component Entities
ProcessorManufacturer, Model
MemoryManufacturer, Model
Network AdapterManufacturer, Model, Mac_address
Hard DiskCapacity, Model
Logical DriveDrive_name
DatastoreName, Capacity
InterfaceName, Type
Input UnitsName, Type
Output UnitsName, Type
Marker Supply UnitsName, Type

Freshservice Contract Types

Navigate to Assets > Contracts in Freshservice to view the available contract types.

Contract location in Freshservice

Freshservice contract types are mapped from Device42 types as follows:

The Contract Type dropdown in Freshservice displays the available contract types:

Contract types in Freshservice

Freshservice Contract TypeCorresponding Device42 Type
LeasePurchase Line Item type: Lease
WarrantyPurchase Line Item type: Warranty
MaintenancePurchase Line Item types: Service, In-Service, Subscription, (none)
Software LicenseSoftware Licensing

Sync Purchase Line Items Types to Contracts

In Device42, a Purchase Line Item is an individual entry associated with a larger Purchase (located under Infrastructure > Purchases). Contract Purchase Line Item sub-types include Lease, Warranty, Subscription, Service, and In-Service. The sub-type (None) is used for unspecified types:

PO Line Item Types in Device42PO Line Item Types in Device42

The Purchase Line Item Lease and Warranty contract types map to the Freshservice Lease and Warranty types. The other Purchase Line Item contract types (Service, In-Service, Subscription, and (None)) are assigned to the Freshservice Maintenance type.

Synced Maintenance Contract Type in Freshservice

For example, this Purchase Line Item with an unspecified contract type in Device42 is synced to Freshservice as a Maintenance contract:

  • Purchase Line Item in Device42:

    Unspecified Contract Type in Device42Unspecified Contract Type in Device42
  • Synced Maintenance Contract in Freshservice:

    Maintenance Contract Type in Freshservice

The Warranty Contract Type in Freshservice

Warranty information from Device42 is brought into Freshservice, with Warranty as the Contract Type.

  • Warranty items in Device42:

    Warranty items in Device42Warranty items in Device42
  • Warranty items synced to Freshservice:

    Warranty Contract Type in Freshservice

Software Licensing Syncs to Contracts

Software Licensing contracts in Device42 are synced to Freshservice as Software License contracts when a Software Component has an associated Purchase Line Item or License Count that is not null (empty).

Software Licensing in Freshservice

Syncing Business Applications to Freshservice

Using the default mapping, Business Applications in Device42 are synced to Freshservice as the Business Service asset type. The Business Application relationships are also synced.

  • In Freshservice, navigate to Assets > Inventory (1) and select Business Service as the Asset Type (2) to view the synced Business Applications. Click on an item to view its details.

    Business Services in Freshservice

  • Click Relationships to see a Mini map of the selected Business Service.

    Business Service Relationships in Freshservice

  • When viewing the full map, you can select the Level of Relationships to display.

    Business Service Full Map in Freshservice

The example Business Service in Freshservice above looks like this as a Business Application in Device42:

Business Application in Device42Business Application in Device42

Deleting the Freshservice External Integration

Before deleting the Freshservice external integration in Device42 or making changes to your Cloud Services configuration, first uncheck the Enable Freshworks SSO option in the Appliance Manager, under Global Settings > SAML/SSO Settings.