Skip to main content

Parameters

The plugin makes use of the following parameters:

cli Path of the openshift oc binary
user Your user name
password Your password
ip Ip of your environment (complete route with port)
project openshift project
mode xml sending mode (leave tentacle as default)
tentacle ip Ip of pandora to send data to
tentacle port Tentacle port number (default: 41121)
agent_openshift To enable this agent, it creates modules with the number of deployments, services...etc. Leave it to 1 to enable it.
agent_node To enable one agent per node. Leave on 1 to enable it.
agent_pod To enable one agent per pod. Leave on 1 to enable it.
agent_pod_stats To enable an agent with the metrics of each pod. Leave on 1 to enable it.
agent_deployment To enable one agent per deployment. Leave on 1 to enable it.
agent_imagestreams To enable an agent with modules for each imagestreams, the number of imagestreams is determined with top_imagestreams_count. Set to 1 to enable it.
agent_csv
To enable an agent to create a module to monitor cluster service version.
agent_component_status To enable an agent to create a module to monitor component status.
agent_operators To enable an agent to create a module to monitor operators.
agent_replication_controller To enable an agent that will create a module for each replication controller in our environment. Leave to 1 to enable it.
agent_apiservice To enable an agent that will create a module for each service of our API. Leave to 1 to enable it.
agent_services To enable an agent that will create a module for each service in our environment. Leave to 1 to enable it.
top_imagestream_count Number of imagestreams to monitor in your environment. Default 11.
prefix Customized name for the created agents
as_server_plugin If it is to be used as a server plugin, set it to 1 to activate it, if it is used as an agent plugin, set it to 0.

You will have to edit the conf by setting the required value.

Example:

# oc cli config
cli=/home/alejandro/Descargas/cli/oc
user=developer
password=developer
ip=https://<ip>:6443/
project=prueba
# transfer configuratios
mode=tentacle
tentacle_ip=192.168.1.200
tentacle_port=41121
# enabled metrics block
agent_openshift=1
agent_node=1
agent_pod=1
agent_pod_stats=1
agent_deployment=1
agent_imagestreams=1
agent_apiservice=1
agent_services=1
agent_replication_controller=1
agent_component_status=1
agent_csv=0
agent_operators=1
top_imagestreams_count=11
# define 
as_server_plugin=1
prefix=prueba