monasca-agent/conf.d/examples/postfix.yaml.example

28 lines
599 B
Plaintext

# The user running dd-agent must have passwordless sudo access for the find
# command to run the postfix check. Here's an example:
#
# example /etc/sudoers entry:
# dd-agent ALL=(ALL) NOPASSWD:/usr/bin/find
#
init_config:
instances:
- directory: /var/spool/postfix
queues:
- incoming
- active
- deferred
tags:
- optional_tag1
- optional_tag2
- directory: /var/spool/postfix-2
queues:
- incoming
- active
- deferred
tags:
- optional_tag3
- optional_tag4