Skip to main content
Version: 5.3

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 --sm_host <host> --sm_user <user> --sm_password <password> [--sm_api_port <port>]

Parameters

ParameterRequiredTypeDefaultPurpose
--sm_hostYesstringSmart Monitor web interface host
--sm_api_portNoint5601Web interface port
--sm_userYesstringUsername
--sm_passwordYesstringPassword

Example

python create_arm.py --sm_host sm-host-web.my_company.ru --sm_user admin --sm_password securepassword

Installation Results

After script execution:

  • the RSM structure will appear in the Smart Monitor interface
  • service and resource assets will be automatically created

Additional Resources