ServiceNow provides cloud-based services that automate enterprise IT operations. ServiceNow specializes in IT service management (ITSM) applications and provides forms-based workflow application development. It supports third-party application and data integrations. The most common integrations are for configuration management, incident management, problem management, change management, user administration, and single sign-on authentication.
The Chef Automate Integration App for ServiceNow, also called the Integration App, integrates Chef Automate with ServiceNow. This app is a ServiceNow-certified scoped application available from the ServiceNow store. It integrates existing Chef Automate infrastructure and compliance functionality with ServiceNow enterprise services. Once installed and configured, this integration enables Chef Automate to create and update a ServiceNow Configuration Management Database (CMDB) with data from nodes managed by Chef Automate. Chef Automate aggregates information about infrastructure nodes, the Chef Infra Client runs, and Chef Compliance scans, helping you monitor your infrastructure in real time.
The Integration App works by exposing the REST API endpoints for communication between Chef Automate and ServiceNow. Chef Automate sends HTTPS JSON data feeds to the app in ServiceNow to create and update the ServiceNow CMDB, client run, and compliance report tables.
https://ven12345.service-now.com.x_chef_automate.api role to configure it. Your ServiceNow administrator can enable this for you.Install following ServiceNow plugins from the Service Management dashboard:
com.glide.system_import_set, min version 1.0.0.Get the app from the ServiceNow store and then install it to your account from the Service Management dashboard.
To see your data in ServiceNow, you need to create a data feed for Chef Automate. You can set up the data feed either in Chef Automate or in ServiceNow.
Setting up the data feed requires the x_chef_automate.api role permissions. Your ServiceNow administrator can enable this for you.
Set up a data feed to send data from Chef Automate:
Confirm that you have the x_chef_automate.api role.
Navigate to Settings > Data Feeds > Create Data Feed.
Enter or select:
https://ven12345.service-now.com/api/x_chef_automate/asset.Select Test Data Feed. A successful test displays service-now automate connectivity passed. An unsuccessful test returns a message with infomation for the connectivity or credentials issues to helps resolve the error.
Select Create Data Feed to save the setup.
Follow these steps connect the Integration App to Chef Automate:
Confirm that you have the x_chef_automate.api role.
Navigate to the ServiceNow instance.
Locate Chef Automate from the search bar.
Select the Automate Instances module.
Select the New button.
Enter the following details:
Select the Test Connectivity button. The Integration App checks that the values are correct and test the connection with Chef Automate.
Select Submit. The ServiceNow app creates the Chef Automate instance detail.
When you install and setup the Integration App, the Chef Automate appears in the ServiceNow navigation pane.
Integration App updates the CMDB file systems and software tables. It adds associated data from Chef Automate to the servers for:
The Integration App augments the existing CMDB servers and inserts new servers into the ServiceNow CMDB. The Integration App uses the ServiceNow Discovery IRE (Identification and Reconciliation Engine) to insert or update servers.
The Integration App distinguishes between discovered Configuration Items (CIs) and imported CIs. CIs discovered by the Integration App have a default value of Chef Automate in the Discovery Source field in the cmdb_servers table.
You can view the data for a Chef Infra Client run by selecting a server from the list. The Client Run record displays information for:
The complete Chef Infra Client run details are available for each server. Chef Infra Client runs are available from the Client Runs module.
You can view the current attributes for a server by selecting the attributes record. The entire OHAI attributes are available for each server.
You can view the Compliance report detail from a server record by selecting the name on an individual Compliance report. The Compliance Report record displays related information for:
Also, you can view the Compliance report profile to display the individual results for each profile. The entire Chef Compliance Report details are available for each server. Compliance reports are also available from the Compliance report module.
You can configure the Integration App from either ServiceNow or Chef Automate.
Find Chef Automate in ServiceNow.
Select the Chef Automate > Properties in the left navigation pane to open the Chef Automate Properties.
Make your changes.
Select Save.
feed_interval2 to 8. Default: 4.node_batch_sizenode_batch_size setting to reduce the number of profiles applied in a single batch. Valid values: Between 1 and 30. Default: 15.The Integration App has nine configurable Application Properties. Changing these settings requires the ServiceNow admin or x_chef_automate.admin permissions.
x_chef_automate.chef.default.status1.x_chef_automate.client_runs_per_node5.x_chef_automate.compliance_reports_per_node5.x_chef_automate.insert_manufacturerYes.x_chef_automate.insert_modelYes
x_chef_automate. logging.enabledNo.x_chef_automate.logging.verbosityDebug, Warn, Info, Error. Default: Error.x_chef_automate.Rest.apiYes to enable and No to disable. Valid Values: Yes, No. Default: Yes.x_chef_automate.enable.system.appYes, No. Default: No.To uninstall the Integration App:
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/automate/servicenow_integration/