monasca-agent/conf.d/directory.yaml.example
Kaiyan Sheng 9650aafe35 Fix Directory Check in Agent
Remove name, pattern and recursive in directory check to make
directory check only checks for the size of the target directory
(not file size)

Add directory detection plugin to automatically generate
directory.yaml file

Change-Id: I10fde0a4ed43f62c310045bccccb3a66e07542e1
2016-02-26 16:03:39 -07:00

23 lines
737 B
Plaintext

# (C) Copyright 2015-2016 Hewlett Packard Enterprise Development Company LP
init_config:
instances:
# This config is for the Directory Check which is used to report metrics
# for the size of a given directory
#
# NOTE: This check is NOT currently supported on Windows systems
#
# For each instance, the 'directory' parameter is required
#
# WARNING: Ensure the user account running the Agent (typically mon-agent)
# has read access to the monitored directory and files.
#
# Instances take the following parameters:
# "directory" - string, the directory to monitor. Required
- built_by: Directory
directory: /path/to/directory_1
- built_by: Directory
directory: /path/to/directory_2