Infrastructure Integration¶
Configuration¶
- Configure the agent by editing
/etc/nutanix/epoch-dd-agent/conf.d/gearmand.yaml
in the collectors.
Example:
init_config:
instances:
- server: localhost
port: 4730
# Use the `tasks` parameter to specify the tasks you'd like to
# collect metrics on (up to 200 tasks).
#
# If you have fewer than 200 tasks, you don't have to set this parameter,
# the metrics will be collected on all the tasks by default.
# tasks:
# - task1
# - task2
# tags:
# - optional_tag_1
# - optional_tag_2
-
Check and make sure that all yaml files are valid with following command:
/etc/init.d/epoch-collectors configcheck
-
Restart the Agent using the following command:
/etc/init.d/epoch-collectors restart
-
Execute the info command to verify that the integration check has passed:
/etc/init.d/epoch-collectors info
The output of the info command should contain a section similar to the following:
Checks
======
[...]
gearmand
----------
- instance #0 [OK]
- Collected 8 metrics & 0 events
Infrastructure Datasources¶
Datasource | Available Aggregations | Unit | Description |
---|---|---|---|
gearman.unique_tasks | avg max min sum |
task | The number of all functions registered with Gearman. |
gearman.running | avg max min sum |
task | The total number of running Gearman jobs. |
gearman.queued | avg max min sum |
task | The total number of jobs in the queue. |
gearman.workers | avg max min sum |
process | The total number of capable Gearman workers. |
gearman.running_by_task | avg max min sum |
task | The number of running Gearman jobs by task. |
gearman.queued_by_task | avg max min sum |
task | The number of jobs in the queue by task. |
gearman.workers_by_task | avg max min sum |
process | The number of capable Gearman workers by task. |