Closed jspaleta closed 5 years ago
requested changes made. I have locally built version running now using envvars
sensuctl handler info influxdb-particle
=== influxdb-particle
Name: influxdb-particle
Type: pipe
Timeout: 30
Filters:
Mutator:
Execute: RUN: /usr/local/bin/sensu-influxdb-handler -d 'particle'
Environment Variables: INFLUXDB_ADDR=http://localhost:8086, INFLUXDB_USER=nunya, INFLUXDB_PASS=business
Treat influx addr, username and password as sensitive credentials.
It's preferable to read sensitive information from envvars. commandline arguments can be read from the process table for ex:
ps -aux
Solution in this PR: