telegraf filestat: replace wildcards with full paths

Authored by nalvarez on Oct 7 2018, 3:28 AM.

Description

telegraf filestat: replace wildcards with full paths

On Rosetta, I monitor which batch processes are running by using the
filestat plugin watching the presence of lock files.

If I watch *.php.lock, then if foo.php.lock exists it gets logged as
exists=1, but if it doesn't exist it doesn't get logged at all.
Also, if nothing matching the wildcard exists, it gets logged as
"path=*.php.lock exists=0". It's annoying that there is never a
"path=foo.php.lock exists=0" ever logged this way.

I'm now listing explicitly the three PHP lock files I'm interested in.

Details

Committed
nalvarezOct 7 2018, 3:58 AM
Parents
R897:4260caa6fed1: Change passwords for overwatch-test's InfluxDB
Branches
Unknown
Tags
Unknown