Skip to content

Commit c67b83c

Browse files
authored
Merge pull request #476 from ritza-co/19.07.07
Docs 19.07.07 release (Week 40, 2025)
2 parents dfda7ff + f1fcb6d commit c67b83c

File tree

6 files changed

+121
-55
lines changed

6 files changed

+121
-55
lines changed

docs/auto-discovery/cloud-auto-discovery/google-cloud-platform-autodiscovery.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar_position: 4
66
import ThemedImage from '@theme/ThemedImage'
77
import useBaseUrl from '@docusaurus/useBaseUrl'
88

9+
Use Device42's Google Cloud Platform (GCP) autodiscovery to automatically inventory your GCP infrastructure, including virtual machines, Kubernetes clusters, databases, networks, and load balancers.
10+
911
## Google Cloud Platform Discovery Items
1012

1113
The following table outlines the Google Cloud Platform (GCP) items that Device42 automatically discovers, the types of information generated for each item, and where that information can be found in Device42.
@@ -18,6 +20,41 @@ The following table outlines the Google Cloud Platform (GCP) items that Device42
1820
| SQL DB | | [SQL Admin API](https://www.googleapis.com/discovery/v1/apis/sqladmin/v1beta4/rest) | Tables, instances, etc. |
1921
| VMs | Devices -> All Devices | [Compute API](https://www.googleapis.com/discovery/v1/apis/compute/v1/rest) | Type, Name, RAM, OS, CPU, cores, etc. |
2022

23+
Device42 also discovers the following GCP items:
24+
25+
**Storage:**
26+
- Cloud Device
27+
- Cloud Disk
28+
29+
**Networking:**
30+
- VPCs (VRF Groups)
31+
- VPC Firewall Rules
32+
- GCP Load Balancer
33+
34+
**Databases:**
35+
- Cloud SQL
36+
- GCP BigQuery Table
37+
38+
**Kubernetes:**
39+
- Kubernetes Cluster
40+
- Kubernetes Config Map
41+
- Kubernetes Container
42+
- Kubernetes Daemon Set
43+
- Kubernetes Deployment
44+
- Kubernetes Ingress
45+
- Kubernetes Ingress Rule
46+
- Kubernetes Namespace
47+
- Kubernetes Node
48+
- Kubernetes Persistent Volume
49+
- Kubernetes Pod
50+
- Kubernetes Quota
51+
- Kubernetes Replica Set
52+
- Kubernetes Replication Controller
53+
- Kubernetes Service
54+
- Kubernetes Service Port
55+
- Kubernetes Stateful Set
56+
- Kubernetes Volume
57+
2158
## GCP Permission Requirements
2259

2360
The following permissions are required to perform a GCP discovery job. You can create a custom IAM role with these permissions or ensure they are included in existing roles granted to your account or service account.

docs/integration/external-integrations/aperture-vista-to-device42-migration.mdx

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,44 @@ title: "Aperture VISTA to Device42 Migration"
33
sidebar_position: 1
44
---
55

6-
The Aperture VISTA to Device42 migration works in the following manner: Data is exported from the Aperture VISTA application by first creating Device42 custom views in the Aperture SQL Server database. These views are then exported from Aperture VISTA and saved as .csv or Excel files which are then easily imported and mapped into Device42s data architecture. (Aperture views can be downloaded here: [https://www.device42.com/migrations/aperture/](https://www.device42.com/migrations/aperture/).)
6+
The Aperture VISTA to Device42 migration works in the following manner: Data is exported from the Aperture VISTA application by first creating Device42 custom views in the Aperture SQL Server database. These views are then exported from Aperture VISTA and saved as `.csv` or Excel files which are then easily imported and mapped into Device42's data architecture.
77

8-
Device42 then automatically creates building, data center, and rack configurations for all rack mounted devices. With the import completed, Device42’s agentless autodiscovery tool automatically identifies and maps remaining IP-based network devices and intelligent power equipment for ongoing monitoring and management.
8+
Aperture views can be downloaded here: [https://www.device42.com/migrations/aperture/](https://www.device42.com/migrations/aperture/).
99

10-
### Import Views
10+
Device42 then automatically creates building, data center, and rack configurations for all rack-mounted devices. With the import completed, Device42’s agentless autodiscovery tool automatically identifies and maps remaining IP-based network devices and intelligent power equipment for ongoing monitoring and management.
11+
12+
## Import View
1113

1214
![Import Views](/assets/images/media_1437070133863.png)
1315

14-
Device42 has developed a long list of SQL views to be able to give clients the ability to pick and choose the information they want to migrate to Device42 from Aperture VISTA.
16+
A long list of SQL views is available to give you the ability to pick and choose the information you want to migrate to Device42 from Aperture VISTA.
1517

16-
To download the views click [here](https://www.device42.com/migrations/aperture/)
18+
[Download the Aperture VISTA views](https://www.device42.com/migrations/aperture/).
1719

18-
### Run View
20+
## Run View
1921

2022
![Run View](/assets/images/media_1437070334329.png)
2123

22-
By running the views you can easily get data out of your instance of Aperture VISTA
24+
By running the views you can easily get data out of your instance of Aperture VISTA.
2325

24-
### Save Data to CSV or Excel
26+
## Save Data to CSV or Excel
2527

2628
![Save Data to CSV or Excel](/assets/images/media_1437070455551.png)
2729

28-
Very simply right click anywhere on the data and select "Save Results As..."
30+
Right click anywhere on the data and select **Save Results As...**.
2931

30-
### Saving your file
32+
## Saving Your File
3133

32-
![Saving your file](/assets/images/media_1437070573781.png)
34+
![Saving Your File](/assets/images/media_1437070573781.png)
3335

34-
Give the file a name and save the data locally
36+
Give the file a name and save the data locally.
3537

36-
### Downloading the Bulk Import Tool to Map Fields
38+
## Downloading the Bulk Import Tool to Map Fields
3739

3840
![Downloading the Bulk Import Tool to Map Fields](/assets/images/media_1437484542712.png)
3941

40-
Click [here](https://www.device42.com/bulk-data-management/) to download the bulk import tool.
42+
[Download the bulk import tool](https://www.device42.com/bulk-data-management/).
4143

42-
For instructions on how to use the bulk import tool to map your fields click [here](https://www.device42.com/blog/2015/07/02/bulk-import-your-data-from-any-format-easily-with-new-device42-import-tool/)
44+
For instructions on how to use the Bulk Import Tool to map your fields, see the [bulk import tool documentation](https://www.device42.com/blog/2015/07/02/bulk-import-your-data-from-any-format-easily-with-new-device42-import-tool/).
4345

44-
If there are any questions please feel free to contact support: [email protected]
46+
If you have any questions, contact support at [support@device42.com](mailto:[email protected]).

docs/integration/external-integrations/cherwell-integration.mdx

Lines changed: 45 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,60 +3,76 @@ title: "Cherwell Integration"
33
sidebar_position: 4
44
---
55

6-
**Device42-Cherwell integration requires** a working Cherwell installation, Device42 instance, and assumes a Linux server with python 3.5+.
6+
Use the [Device42-Cherwell integration](https://www.device42.com/integrations/cherwell) to sync discovered infrastructure assets and configuration items (CIs) from Device42 to your Cherwell CMDB.
7+
8+
The Device42-Cherwell integration requires a working Cherwell installation, Device42 instance, and assumes a Linux server with Python version 3.5 or later.
79

810
## Configuring Cherwell
911

10-
To prepare Cherwell to accept relationship data from Device42, two new CI types must be created within Cherwell: one for _apps_ & one for _services_. The following steps will create them:
12+
To prepare Cherwell to accept relationship data from Device42, two new Configuration Item (CI) types must be created in Cherwell: one for **apps** and one for **services**.
13+
14+
Follow these steps to create the new CIs:
15+
16+
1. Open Cherwell Service Management Administrator and on the left-side menu under **Common Tasks**, choose **Create a new Blueprint** (optionally, edit an existing Blueprint):
17+
18+
![Create new or Open Blueprint](/assets/images/create_open_blueprint.png)
19+
20+
2. Create a new CI type for Applications called `Config-Application` by clicking **New Business Object** and defining the object:
1121

12-
1. Open Cherwell Service Management Administrator and on the left-side menu under _"Common Tasks"_, choose _"Create a new Blueprint"_ (optionally, edit an existing Blueprint): ![Create new or Open Blueprint](/assets/images/create_open_blueprint.png)
13-
2. Create a new CI type for Applications called `Config - Application` by clicking _"New Business Object"_ and defining the object: ![Create new CI for applications](/assets/images/Create_application_CI_business_object_properties.png)
14-
3. Obtain the "Internal ID" of the new Application CI Business Object you just created (you'll need it for the config file) before closing the window by selecting the "Advanced" icon and clicking _Business Object ID_: ![Cherwell CI business object internal ID](/assets/images/Obtain_Cherwell_internal_ID_application_CI.png)
15-
4. Edit the properties of your new Application Business Object CI, and add the fields `u_device42_id`, type 'text', size:15 & `u_device42_url`, type 'text', size:300: ![Add new custom fields to Cherwell business object CI](/assets/images/add_fields_to_new_Cherwell_business_object_CI.png)
16-
5. Add a second new CI business object named `Config - Service` to Cherwell for Services by repeating steps #2-4 again.
22+
![Create new CI for applications](/assets/images/Create_application_CI_business_object_properties.png)
1723

18-
 
24+
3. Obtain the **Internal ID** of the new Application Business Object CI you just created (you'll need it for the config file) before closing the window by selecting the **Advanced** icon and clicking **Business Object ID**:
1925

20-
## Configuring the D42-Cherwell integration
26+
![Cherwell CI business object internal ID](/assets/images/Obtain_Cherwell_internal_ID_application_CI.png)
2127

22-
To sync your autodiscovered hardware, servers, software, services, and/or assets, etc. (CIs) from Device42 to Cherwell, configure the integration:
28+
4. Edit the properties of your new Application Business Object CI, and add the fields `u_device42_id` of type `Text` and size `15`, and `u_device42_url`, of type `Text` and size `300`:
29+
30+
![Add new custom fields to Cherwell business object CI](/assets/images/add_fields_to_new_Cherwell_business_object_CI.png)
31+
32+
5. Add a second new CI business object named `Config-Service` to Cherwell for Services by repeating Steps 2-4.
33+
34+
## Configuring the Device42-Cherwell Integration
35+
36+
To sync your discovered hardware, servers, software, services, or assets (CIs) from Device42 to Cherwell, configure the integration:
2337

2438
1. Download the integration from the [Device42 Cherwell Integration page](https://www.device42.com/integrations/cherwell/), and unzip the folder to the directory of your choice.
25-
2. Download the sample `mapping.xml` configuration file from [Device42's Github](https://github.com/device42/cherwell_device42_sync/blob/master/mapping.xml.sample) and put it into the folder you created in step 1.
39+
2. Download the sample `mapping.xml` configuration file from [Device42's GitHub](https://github.com/device42/cherwell_device42_sync/blob/master/mapping.xml.sample) and put it into the folder you created in Step 1.
2640
3. Configure the integration credentials to allow connection between Device42 and Cherwell:
2741
- Save a copy of `mapping.xml.sample` as `mapping.xml`.
28-
- Enter your Cherwell & Device42 **URLs**, **user names**, and **passwords** in their respective sections (lines 3-11), and for Cherwell only, the `client_id` - find it in your Cherwell instance: _Cherwell Service Management Administration -> Security -> Edit REST API Client Settings -> Client Key_
29-
4. Configure the tasks section (below the credential settings) by entering the Cherwell Business Object IDs you saved from above, mapping each Device42 API resource to be synced (the `resource` value) to the appropriate fields in Cherwell (the `target` value). It is very important to ensure you've updated the configuration completely, mapping all of the details you are syncing from Device42 to their appropriate default endpoints in Cherwell (for example, service\_level). _Should you have trouble or need debugging, there is a `DEBUG` variable in `lib.py` which can be set to `True` or `False`._
42+
- Enter your Cherwell and Device42 **URLs**, **user names**, and **passwords** in their respective sections (lines 3-11), and for Cherwell only, the `client_id` - find it in your Cherwell instance under **Cherwell Service Management Administration > Security > Edit REST API Client Settings > Client Key**.
43+
4. Configure the tasks section (below the credential settings) by entering the Cherwell Business Object IDs you saved from above, mapping each Device42 API resource to be synced (the `resource` value) to the appropriate fields in Cherwell (the `target` value). It is very important to ensure you've updated the configuration completely, mapping all of the details you are syncing from Device42 to their appropriate default endpoints in Cherwell (for example, `service_level`). Should you have trouble or need debugging, there is a `DEBUG` variable in `lib.py` which can be set to `True` or `False`.
3044
5. Execute a one-time CI sync by running the following command: `python sync.py`.
31-
6. Schedule your syncs to run automatically by adding a `crontab` entry that will execute `sync.py` as often as you deem necessary, depending on the rate of change in your enviornment & existing discovery job schedules. This [crontab generator](https://crontab-generator.org/) can help you generate crontab syntax appropriate for your schedule. This example runs twice a day @ noon & midnight: `0 */12 * * * python sync.py >/dev/null 2>&1`
45+
6. Schedule your syncs to run automatically by adding a `crontab` entry that will execute `sync.py` as often as you deem necessary, depending on the rate of change in your environment and existing discovery job schedules. This [crontab generator](https://crontab-generator.org/) can help you generate crontab syntax appropriate for your schedule. This example runs twice a day at noon and midnight:
3246

33-
 
47+
```0 */12 * * * python sync.py >/dev/null 2>&1```
3448

3549
## Application Group Configuration for Cherwell
3650

37-
**The latest Device42 version is required**
51+
The latest Device42 version is required.
52+
53+
Creation of Application Groups in Cherwell is not enabled by default. To enable Application Groups in `mapping.xml`, relevant attributes are as follows:
3854

39-
Creation of Application Groups in Cherwell is not enabled by default. To enable Application Groups in `mapping.xml`. Relevant Attributes are as follows:
55+
- `Copy Application Group data from Device42 to Cherwell`: Can be `true` or `false`. Enable or disable Application Group mapping in Cherwell (disabled by default).
56+
- `reset-connections`: Can be `true` or `false`. A setting of `true` resets all existing upstream and downstream service relationships, removing them from Cherwell before new relationships are processed (enabled by default).
4057

41-
- `Copy Application Group data from Device42 to Cherwell`: _true/false_. Enable/disable Application Group mapping in Cherwell - _disabled by default._
42-
- `reset-connections`: _true/false_. A setting of `true` resets all existing upstream/downstream service relationships, removing them from Cherwell before new relationships are processed - _enabled by default_.
58+
Tasks must contain at least the following three tags:
4359

44-
Tasks must contain at least the following 3 tags:
60+
- For **Service Instances** (called `Config-Service CI` in Cherwell, `serviceinstance` in Device42)
61+
- For **Application Components** (`Config-Application` CI in Cherwell, `appcomp` in Device42)
62+
- For **Devices** (`device` in Device42).
4563

46-
1. For **Service Instances** (aka _Config-Service_\* CI in Cherwell; _serviceinstance_ in Device42)
47-
2. For **Application Components** (aka _Config-Application_\* CI in Cherwell; _appcomp_ in Device42)
48-
3. For **Devices** (aka _device_ in Device42). Several for devices can be present if devices are mapped to several CIs on Cherwell.
64+
Multiple device entries can be present if devices are mapped to several CIs in Cherwell.
4965

5066
Each section must contain the following attributes:
5167

52-
- `d42-model`: the name of CI(model) in Device42
53-
- `bus-ob-id`: the business object ID of CI in Cherwell
68+
- `d42-model`: The name of the CI (model) in Device42
69+
- `bus-ob-id`: The business object ID of CI in Cherwell
5470

55-
Each section must contain one or more upstream/downstream relationships (section). The section represents _1 `<->` Many_ downstream relationship and has to contain the following attributes:
71+
Each section must contain one or more upstream and downstream relationships. The section represents a one-to-many downstream relationship and must contain the following attributes:
5672

57-
- `d42-model`: the name of CI(model) in Device42 of the 'child' in relationship
58-
- `id`: the ID of relationship (the _CI links Downstream CIs_ relationship should be used in common case). This value can be obtained in Cherwell from Cherwell service management administration -> blueprint -> Config - \* -> Edit relationships... -> relationship -> Edit -> Advanced -> Relationship ID. For proper working, please make sure that used relationship has the reversed one (_Upstream_).
73+
- `d42-model`: The name of the CI (model) in Device42 of the 'child' in relationship
74+
- `id`: The ID of the relationship (the `CI links Downstream CIs` relationship should be used in most cases). This value can be obtained in Cherwell from **Cherwell Service Management Administration > blueprint > Config > Edit relationships... > relationship > Edit > Advanced > Relationship ID**. Please make sure the relationship has a reversed one (`Upstream`).
5975

60-
The Service Instances and Application Components sections must include the section for creating new objects in Cherwell. Mappings are not applicable for devices since they should be processed in own tasks.
76+
The Service Instances and Application Components sections must include the section for creating new objects in Cherwell. Mappings are not applicable for devices, as they should be processed in their own tasks.
6177

6278
Consult the examples in the `mapping.xml.sample` file.

0 commit comments

Comments
 (0)