Parameters
Advanced mode
| Parameter | Description |
|---|---|
--conf |
Path to the configuration file generated by the Discovery task. |
Configuration file (--conf)
tenant_id=Azure tenant identifier.
subscription_id=Azure subscription identifier.
client_id=Service Principal application identifier.
client_secret=Service Principal secret.
api_endpoint=Azure management API endpoint. If left empty, https://management.azure.com is used.
login_endpoint=Azure login endpoint. If left empty, https://login.microsoftonline.com is used.
resource_group=optional resource group filter. If left empty, SQL servers are discovered across the subscription.
server_name=optional SQL server filter. If left empty, all accessible SQL servers are discovered.
database_name=optional database filter. If left empty, all discovered databases are monitored.
agent_per_database=create one Pandora FMS agent for each discovered database.
target_agent=target agent used when one agent per database is not created.
agent_prefix=optional prefix for database agents.
module_prefix=optional prefix for generated modules.
interval=interval for created or updated agents.
group_id=Pandora FMS agent group id where agents will be created.
timeout=HTTP timeout in seconds. Values lower than 30 are raised to 30 seconds.
scan_databases=enable automatic database discovery.
entities_list=temporary file used to store discovered databases.
enable_entities_interval=enable periodic refresh of the entities file.
entities_interval=entities file refresh interval.
skip_master_database=skip the master database.
performance_metrics_enabled=enable performance modules.
storage_metrics_enabled=enable storage modules.
connection_metrics_enabled=enable connection modules.
tempdb_xtp_metrics_enabled=enable tempdb and XTP modules.
deadlock_metrics_enabled=enable deadlock modules.
Example
[CONF]
tenant_id=11111111-1111-1111-1111-111111111111
subscription_id=00000000-0000-0000-0000-000000000000
client_id=22222222-2222-2222-2222-222222222222
client_secret=my_client_secret
api_endpoint=
login_endpoint=
resource_group=rg-production
server_name=sql-production
database_name=
agent_per_database=1
target_agent=Azure SQL
agent_prefix=
module_prefix=
interval=300
group_id=10
timeout=30
scan_databases=1
entities_list=/tmp/tmp_discovery.azure_sql.entities
enable_entities_interval=0
entities_interval=86400
skip_master_database=1
performance_metrics_enabled=1
storage_metrics_enabled=1
connection_metrics_enabled=1
tempdb_xtp_metrics_enabled=1
deadlock_metrics_enabled=1