Sample payload for Oracle software install records
Summarize
Summary of Sample Payload for Oracle Software Install Records
This document provides a sample payload for populating the Oracle Instance table with software install records from third-party discovery sources in ServiceNow. After discovering Oracle software installs, this payload is used to send relevant data regarding the Oracle Instance and its associated options.
Show less
Key Features
- Payload Structure: Contains items with class names for Oracle instances and options.
- Scheduled Jobs: Ensure that the "Enable scheduled jobs" property is selected for the third-party Datasource Integration Framework. This allows the SAM - Software Asset Connections job to populate software install records.
- CI Relationships: Includes relationships between the Oracle database server and its Linux server host.
Key Outcomes
By utilizing this payload, customers can automate the population of the Oracle Instance table with accurate software install records, ensuring that the software asset management process is streamlined and up-to-date. This ultimately enhances visibility into Oracle software deployments and their configurations within the enterprise environment.
A sample payload for Oracle publisher pack that populates the Oracle Instance [cmdb_ci_db_ora_instance] table with software install records from third-party discovery sources.
When the schedule job, SAM- Software Asset Connections, runs, it looks for records with null software installs, populates the software install field in the Oracle Instance table and creates the software install record associated to the instance.
The following is a sample payload to create software install records for Oracle in the Oracle Instance [cmdb_ci_db_ora_instance] table. The sample input contains a list of CIs and relationships that exist between these CIs. The payload states that there is an Oracle database server, Dev development 1969 with a standard edition. The Oracle database server has many Oracle options enabled such as Armstrong, Aldrin, Collins and runs on a Linux server.
{
'items': [
{
'className': 'cmdb_ci_db_ora_instance',
'related': [
{
'className': 'samp_oracle_options',
'values': {
"option": "Armstrong",
"currently_used": "true"
}
},
{
'className': 'samp_oracle_options',
'values': {
"option": "Aldrin",
"currently_used": "true"
}
},
{
'className': 'samp_oracle_options',
'values': {
"option": "Collins",
"currently_used": "true"
}
}
],
'values': {
'name': 'Dev development 1969',
'edition': 'Standard',
'sid': '1-2-569',
'version': '11.2'
}
},
{
'className': 'cmdb_ci_linux_server',
'values': {
'name': 'CI DATAI 6-002',
'mac_address': '4653XYZAA',
'ip_address': '10.10.10.8',
'asset_tag': 'HWR0003',
'assigned_to': 'a8f98bb0eb32010045e1a5115206fe3a',
'cpu_count': '16',
'cpu_manufacturer': '820351a1c0a8018b67c73d51c074097c',
'manufacturer': '820351a1c0a8018b67c73d51c074097c',
'os': 'Linux Red Hat',
'os_version': '2.6.9-22.0.1.ELsmp',
'ram': '2014'
}
}
],
'relations': [
{
'type': 'Runs on::Runs',
'parent': 0,
'child': 1
}
]
}| Element | Value | Description |
|---|---|---|
| className | cmdb_ci_db_ora_instance | Name of the related Oracle instance table. |
| className | samp_oracle_options | Name of the Oracle database option table. |
| option | Armstrong | Name of the Oracle database option. |
| currently_used | true | Indicates the Armstrong option is currently enabled. |
| className | samp_oracle_options | Name of the Oracle database option table. |
| option | Aldrin | Name of the Oracle database option |
| currently_used | true | Indicates the Aldrin option is currently enabled. |
| name | Dev Development 69 | Name of the Oracle database server |
| edition | standard | edition of the Oracle database server |
| sid | 1-2-569 | Oracle system ID |
| version | 11.2 | Version of the Oracle database server |
| className | cmdb_ci_linux_server | Name of the related Linux Server table. |
| mac address | 4653XYZAA | MAC address of the interface in the Linux server. |