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
| Parameter | Mandatory | Type | Default | Description |
|---|---|---|---|---|
--sm_host | Yes | string | — | Search Anywhere Framework cluster host |
--sm_port | No | int | 9200 | Connection port |
--sm_user | Yes | string | — | Username |
--sm_password | Yes | string | — | User 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