More troubelshooting

This commit is contained in:
VictorRobellini 2021-03-17 13:06:49 -04:00 committed by GitHub
parent 12b630f7a4
commit ee1d360708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,6 +150,9 @@ I also included a wrapper script for Unbound DNS. I'm not currently using it, b
- You can run most plugins from a shell/ssh session to verify the output. (the environment vars may be differet when telegraf is executing the plugin)
- 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/)
- The below command should display unix line endings (\n or LF) as $ and Windows line endings (\r\n or CRLF) as ^M$.
`cat -e /usr/local/bin/telegraf_pfinterface.php`
#### Telegraf Troubleshooting
If you get no good output from running the plugin directly, try the following command before moving to the below step.