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 running 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

This table maps Device42 data types to their corresponding categories in Freshservice

Device42 Data TypeFreshservice Type (General)Type (Specific)
Device with physical type and Laptop subtype or hardware name containing "macbook"Assets/InventoryLaptop
Device with physical type and WorkStation subtypeAssets/InventoryDesktop
Device with physical type and Network Printer subtypeAssets/InventoryPrinter
Device with fw_device_type of printerAssets/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 fw_device_type of routerAssets/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 fw_device_type of firewallAssets/InventoryFirewall
Device with OS of F5 or NetScalerAssets/InventoryLoad Balancer
Device with Network Device flag setAssets/InventorySwitch
Device with fw_device_type of switchAssets/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
Device with K8s node typeAssets/InventoryAWS K8s Node
Device with physical type and tablet subtype or hardware name containing "ipad"Assets/InventoryTablet
Device with physical type and mobile subtype or hardware name containing "iphone"Assets/InventoryMobile
Device with physical type (non-laptop) and IMEI numberAssets/InventoryMobile
Device with physical type and access point subtypeAssets/InventoryAccess Point
Device with fw_device_type of access pointAssets/InventoryAccess Point
Device with virtual type and VMware subtype and is templateAssets/InventoryVMware VCenter Image
Device with virtual type and GCE subtypeAssets/InventoryGCP VM
Device with virtual type and Azure Load Balancer serviceAssets/InventoryAzure LB
Business ApplicationsAssets/InventoryBusiness Service
Resource with category of ALBAssets/InventoryAWS LB
Resource with category of SubnetAssets/InventoryAWS Subnet
Resource with category of Security GroupAssets/InventoryAWS Security Group
Resource with category of VPCAssets/InventoryAWS VPC
Resource with category of RDSAssets/InventoryAWS RDS
Resource with category of Azure SubnetAssets/InventoryAzure Subnet
Resource with category of Azure DiskAssets/InventoryAzure Disk
Resource with category of Azure Security GroupAssets/InventoryAzure Security Group
Resource with category of Azure SubscriptionAssets/InventoryAzure Subscription
Resource with category of Azure Application GatewayAssets/InventoryAzure Application Gateway
Resource with category of Azure Network InterfaceAssets/InventoryAzure Network Interface
Resource with category of AWS Network InterfaceAssets/InventoryAWS Network Interface
Resource with category of GCP Network InterfaceAssets/InventoryGCP Network Interface
Resource with category of Azure Resource GroupAssets/InventoryAzure Resource Group
Resource with category of Azure ImageAssets/InventoryAzure Image
Resource with category of AWS ImageAssets/InventoryAWS Image
Resource with category of GCP Load BalancerAssets/InventoryGCP LB
Resource with category of EBSAssets/InventoryAWS Disk
Resource with category of Key PairAssets/InventoryAWS Key Pair
Resource with category of S3Assets/InventoryAWS S3 Bucket
Resource with category of Public IPAssets/InventoryAWS Public IP Address
Resource with category of Azure VPCAssets/InventoryAzure VPC
Resource with category of GCP SubnetAssets/InventoryGCP Subnet
Resource with category of GCP VPCAssets/InventoryGCP VPC
Resource with category of GCP DiskAssets/InventoryGCP Disk
Resource with category of Azure Public IPAssets/InventoryAzure Public IP Address
Resource with category of GCP ImageAssets/InventoryGCP Image
Resource with category of GCP BigQuery TableAssets/InventoryGCP BigQuery Table
Resource with category of Azure Key VaultAssets/InventoryAzure Key Vault
Resource with category of VMware Resource PoolAssets/InventoryVMware VCenter Resource Pool
Resource with category of VMware NetworkAssets/InventoryVMware VCenter Network
Resource with category of VMware DiskAssets/InventoryVMware VCenter Disk
Resource with category of VMware DatastoreAssets/InventoryVMware VCenter Datastore
Resource with category of VMware DatacenterAssets/InventoryVMware VCenter Datacenter
Resource with category of K8s PodAssets/InventoryAWS K8s Pod
Resource with category of K8s NamespaceAssets/InventoryAWS K8s Namespace
Resource with category of K8s DeploymentAssets/InventoryAWS K8s Deployment
Resource with category of K8s ServiceAssets/InventoryAWS K8s Service
Resource with category of K8s Daemon SetAssets/InventoryAWS K8s Daemon Set
Resource with category of K8s Replica SetAssets/InventoryAWS K8s Replica Set
Resource with category of K8s Cron JobAssets/InventoryAWS K8s Cron Job
Resource with category of GCP Public IPAssets/InventoryGCP Public IP Address
Resource with category of K8s Config MapAssets/InventoryAWS K8s Config Map
Resource with category of AWS K8s JobAssets/InventoryAWS K8s Job
Resource with category of K8s Stateful SetAssets/InventoryAWS K8s Stateful Set
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
PO Line Item/Contract Type: SupportAssets/ContractsSupport
Business Applications Device to Device relationshipRelationships between assetsConnected to/Connected to
Business Application to Device RelationshipsRelationships between assetsHosted On / Hosts
Topology Device to Device RelationshipsRelationships between assetsConnected to/Connected to
Relationship between Host and Virtual MachineRelationships between assetsVirtualized by / Virtualizes
Relationship between cluster and deviceRelationships between assetsMember of/Includes
AWS RDS to AWS Subnet relationshipRelationships between assetsContains/Contained By
AWS RDS to AWS VPC relationshipRelationships between assetsContains/Contained By
AWS Image to AWS VM relationshipRelationships between assetsProvisioned From/Provisioned
AWS K8s Namespace To AWS K8s Pod relationshipRelationships between assetsContains/Contained By
AWS K8s Node To AWS K8s Pods relationshipRelationships between assetsContains/Contained By
GCP Network Interface to GCP Public IP relationshipRelationships between assetsHas/Is Attached To
GCP Network Interface to GCP VM relationshipRelationships between assetsHas/Is Attached To
GCP Disk to GCP VM relationshipRelationships between assetsHas/Is Attached To
GCP VPC to GCP VM relationshipRelationships between assetsContains/Contained By
GCP VPC to GCP Security Group relationshipRelationships between assetsContains/Contained By
GCP Subnet to GCP VM relationshipRelationships between assetsContains/Contained By
GCP VPC to GCP Subnet relationshipRelationships between assetsContains/Contained By
VMWARE Datacenter to Datastore relationshipRelationships between assetsContains/Contained By
VMWARE Datacenter to Virtual Machine relationshipRelationships between assetsContains/Contained By
VMWARE Datacenter to Host relationshipRelationships between assetsContains/Contained By
VMWARE Datacenter to Network relationshipRelationships between assetsContains/Contained By
VMWARE Datastore to Host relationshipRelationships between assetsUsed By/Uses
VMWARE Datastore to Virtual Machine relationshipRelationships between assetsProvides storage for/Stored on
VMWARE Host to Virtual Machine relationshipRelationships between assetsHas Registered/Is Registered On
VMWARE Network to Host relationshipRelationships between assetsProvides/Provided By
VMWARE Resource Pool to Virtual Machine relationshipRelationships between assetsDefines Resources for/Gets Resources from
VMWARE Resource Pool to Resource Pool relationshipRelationships between assetsDefines Resources for/Gets Resources from
VMWare Virtual Machine to Disk relationshipRelationships between assetsHas/Is Attached To
VMWare Network to Virtual Machine relationshipRelationships between assetsConnects/Connected By
GCP Public IP to GCP VM relationshipRelationships between assetsHas/Is Attached To
AWS K8s Deployment To AWS K8s Replica Set relationshipRelationships between assetsUses/Owned By
AWS K8s Daemon Set To AWS K8s Config Map relationshipRelationships between assetsContains/Contained By
AWS Subnet to AWS Network relationshipRelationships between assetsContains/Contained By
AWS Security Group to AWS VPC relationshipRelationships between assetsContains/Contained By
AWS Subnet to AWS VPC relationshipRelationships between assetsContains/Contained By
AWS VM to AWS Security Group relationshipRelationships between assetsContains/Contained By
AWS VM to AWS Subnet relationshipRelationships between assetsContains/Contained By
AWS VM to AWS VPC relationshipRelationships between assetsContains/Contained By
AWS VM to AWS Key Pair relationshipRelationships between assetsUsed By/Uses
AWS VM to AWS Application LB relationshipRelationships between assetsRoutes Traffic/Receives Traffic
AWS Public IP to AWS VM relationshipRelationships between assetsHas/Is Attached To
AWS Network Interface to AWS Public IP relationshipRelationships between assetsHas/Is Attached To
AWS VM to AWS Network relationshipRelationships between assetsHas/Is Attached To
AWS VM to AWS Disk relationshipRelationships between assetsHas/Is Attached To
Azure Public IP to Azure Network Interafce relationshipRelationships between assetsHas/Is Attached To
Azure Network Interface to Azure Subnet relationshipRelationships between assetsContains/Contained By
Azure Security Group to Azure VPC ( subnet ) relationshipRelationships between assetsContains/Contained By
Azure Security Group to Azure VPC ( netport ) relationshipRelationships between assetsContains/Contained By
Azure Network Interface to Azure VPC relationshipRelationships between assetsContains/Contained By
Azure Subnet to Azure VPC relationshipRelationships between assetsContains/Contained By
Azure VM ( subnet ) to Azure Security Group relationshipRelationships between assetsContains/Contained By
Azure VM ( netport ) to Azure Security Group relationshipRelationships between assetsContains/Contained By
Azure VM to Azure Resource Group relationshipRelationships between assetsContains/Contained By
Azure VM to Azure Subscription relationshipRelationships between assetsContains/Contained By
Azure VM to Azure Subnet relationshipRelationships between assetsContains/Contained By
Azure VM to Azure VPC relationshipRelationships between assetsContains/Contained By
Azure Public IP to Azure VM relationshipRelationships between assetsHas/Is Attached To
Azure Network Interface to Azure VM relationshipRelationships between assetsHas/Is Attached To
Azure Disk to Azure VM relationshipRelationships between assetsHas/Is Attached To
Azure Image to Azure VM relationshipRelationships between assetsProvisioned From/Provisioned
Azure Resources to Azure Resource Group relationshipRelationships between assetsContains/Contained By
Azure Resources to Azure Subscription relationshipRelationships between assetsContains/Contained By
Azure Subnet to Azure Resource Group relationshipRelationships between assetsContains/Contained By
Azure Network Interface to Azure Resource Group relationshipRelationships between assetsContains/Contained By
Azure VPC to Azure Resource Group relationshipRelationships between assetsContains/Contained By
Azure Public IP to Azure Resource Group relationshipRelationships between assetsContains/Contained By
Azure Subnet to Azure Subscription relationshipRelationships between assetsContains/Contained By
Azure Network Interface to Azure Subscription relationshipRelationships between assetsContains/Contained By
Azure VPC to Azure Subscription relationshipRelationships between assetsContains/Contained By
Azure Public IP to Azure Subscription relationshipRelationships between assetsContains/Contained By
GCP VM to GCP Security Group relationshipRelationships between assetsContains/Contained By
GCP Image to GCP VM relationshipRelationships between assetsProvisioned From/Provisioned
GCP VPC to GCP Network InterfaceRelationships between assetsContains/Contained By
CPU ComponentsComponentProcessor
RAM ComponentsComponentMemory
Network Adapter ComponentsComponentNetwork Adapter
Hard Disk ComponentsComponentHard Disk
Logical Drive ComponentsComponentLogical Drive
Datastore ComponentsComponentDatastore
Printer InputComponentInput Units
Printer OutputComponentOutput Units
Printer MarkerComponentMarker Supply Units
Interface ComponentsComponentInterface

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:

  • A purchase line item in Device42:

    Unspecified Contract Type in Device42Unspecified Contract Type in Device42
  • The 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 Services to Freshservice

Using the default mapping, Business Services in Device42 are synced to Freshservice as the Business Service asset type. The business service 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 services. 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 in Device42:

Business Service in Device42Business Service 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.