From ee1d360708f5ba4911e5eac63c9db9e67cc15746 Mon Sep 17 00:00:00 2001 From: VictorRobellini <39597627+VictorRobellini@users.noreply.github.com> Date: Wed, 17 Mar 2021 13:06:49 -0400 Subject: [PATCH] More troubelshooting --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 05a97d2..791f3d2 100644 --- a/README.md +++ b/README.md @@ -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.