Skip to main content

Parameters

--as_server_plugin default false, if enabled, it will print 1 on the console if the creation of agents and modules was successful and 0 if there was an error.

Configuration file (--conf)

elastic_search_ip = elasticsearch server IP. (required)
elastic_search_port = specific port. (required)
user = username. (required)
password = server password. (required)
verify_ssl = to verify if the URL has an https certificate. (required)
verify_certs =  used to authenticate and encrypt communication between your client and the elasticsearch cluster. (required)
transfer_mode= transfer mode name. (required)
tentacle_ip= tentacle IP. (required)
tentacle_port= tentacle port. (required)
agent_prefix = prefix name for agents. (optional)
agents_group = group name for agents. (optional)
module_prefix = prefix name for modules. (optional)
module_group = group name for modules. (optional)
token_primary_metrics = enables obtaining primary shard metrics (required)
exclude_primary_metrics = Excludes metrics from modules separated by commas or line by line, as many targets as you need. (optional)
token_nodes_metrics = Enables obtaining node metrics (required)
exclude_nodes_metrics = Excludes module metrics separated by commas or line by line, as many targets as you need. (optional)
token_cluster_metrics = Enable to obtain cluster metrics (required)
exclude_cluster_metrics = Exclude module metrics separated by commas or line by line, as many targets as you need. (optional)

Example

elastic_search_ip = 192.168.0.1
elastic_search_port = 9200
user = user
password = examplepass
verify_ssl = true
verify_certs = false
transfer_mode=tentacle
tentacle_ip=127.0.0.1
tentacle_port=41121
agent_prefix = allnodes
module_prefix = modules
module_group = server
token_primary_metrics = 0
exclude_primary_metrics =
token_nodes_metrics = 0
exclude_nodes_metrics =
token_cluster_metrics = 1
exclude_cluster_metrics = unassigned, active
interval = 300