Update README.md

Added more troubleshooting
This commit is contained in:
VictorRobellini 2020-09-12 12:55:03 -04:00 committed by GitHub
parent b17d57584b
commit 6825111638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,9 @@ I also included a wrapper script for Unbound DNS. I'm not currently using it, b
### Telegraf Plugins ### Telegraf Plugins
- You can run most plugins from a shell/ssh session to verify the output.
- If you're copying from a windows system, make sure the [CRLF is correct](https://www.cyberciti.biz/faq/howto-unix-linux-convert-dos-newlines-cr-lf-unix-text-format/)
To troubleshoot plugins, add the following lines to the agent block in /usr/local/etc/telegraf.conf and send a HUP to the telegraf pid. You're going to need to do this from a ssh shell. One you update the config you are going to need to tell telegraf to read the new configs. If you restart telegraf from pfSense, this will not work since it will overwrite your changes. To troubleshoot plugins, add the following lines to the agent block in /usr/local/etc/telegraf.conf and send a HUP to the telegraf pid. You're going to need to do this from a ssh shell. One you update the config you are going to need to tell telegraf to read the new configs. If you restart telegraf from pfSense, this will not work since it will overwrite your changes.
#### Telegraf Config #### Telegraf Config