monitor ALL=(postgres) NOPASSWD: /usr/bin/timetail -j * -n * -r * /var/log/postgresql/*
monitor ALL=(postgres) NOPASSWD: /usr/bin/timetail -n * -r * /var/log/postgresql/*
monitor ALL=(postgres) NOPASSWD: /usr/bin/tail /var/log/postgresql/*
{% if salt['grains.get']('os') != 'Ubuntu' %}
monitor ALL=(pgbouncer) NOPASSWD: /usr/bin/timetail -n * -r * /var/log/pgbouncer/*
monitor ALL=(pgbouncer) NOPASSWD: /usr/bin/tail /var/log/pgbouncer/*
{%- endif %}
