Skip to main content
Version: 5.2

Zabbix: Configuring ASM and Inventory

Overview

The Zabbix module includes the dynamic_rsm.py utility, designed for building the Resource-Service Model (hereafter ASM) and performing service and resource inventory.

Key Features

  • building and configuring ASM:

    • creating hierarchical model layers
    • forming services and establishing relationships between them
    • binding metrics to corresponding services
  • conducting inventory:

    • creating assets (disks, interfaces, hosts)
    • configuring relationships between assets

Requirements

The dynamic_rsm.py utility is part of the zabbix_ko_maker package. Before running, ensure all configurations are installed, as described in the corresponding section Zabbix: Installation and Configuration Setup.


Running the Utility

python dynamic_rsm.py --sm_host <host> --sm_user <user> --sm_password <password> [--sm_port <port>]

Parameters

ParameterMandatoryTypeDefaultDescription
--sm_hostYesstringSearch Anywhere Framework cluster host
--sm_portNoint9200Connection port
--sm_userYesstringUsername
--sm_passwordYesstringUser password

Example:

python dynamic_rsm.py --sm_host sm-host.my_company.ru --sm_user admin --sm_password securepassword --sm_port 9200

Installation Results

After running the script:

  • the ASM structure will appear in the Search Anywhere Framework
  • service and resource assets will be created automatically
  • relationships between assets and services will be established

Additional Resources