Configuring ASM and APM Inventory
The APM
module includes the create_arm.py
utility designed for building the Asset Service Model (ASM) and performing service and resource inventory.
Utility Capabilities
-
ASM construction and configuration:
- creating model layers
- generating services and relationships
- binding metrics to services
-
inventory management:
- creating assets (services, resources)
- establishing relationships between assets
Requirements
The utility is part of the make_ko_apm
package. Before running, you must install configurations as described in APM Configuration Installation and Setup.
Running the Utility
python create_arm.py --saf_host <host> --saf_user <user> --saf_password <password> [--saf_api_port <port>]
Parameters
Parameter | Required | Type | Default | Purpose |
---|---|---|---|---|
--saf_host | Yes | string | — | Search Anywhere Framework web interface host |
--saf_api_port | No | int | 5601 | Web interface port |
--saf_user | Yes | string | — | Username |
--saf_password | Yes | string | — | Password |
Example
python create_arm.py --saf_host saf-host-web.my_company.ru --saf_user admin --saf_password securepassword
Installation Results
After script execution:
- the ASM structure will appear in the Search Anywhere Framework interface
- service and resource assets will be automatically created