We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
i want to test the telegraf-bacnet plugin. When i try the config check, following error occours:
PS C:\Program Files\InfluxData\telegraf\telegraf-bacnet> C:\"Program Files"\InfluxData\telegraf\telegraf.exe --config C:\"Program Files"\InfluxData\telegraf\telegraf.conf --test 2023-05-26T11:59:11Z I! Loading config: C:\Program Files\InfluxData\telegraf\telegraf.conf 2023-05-26T11:59:11Z I! Starting Telegraf 1.26.3 2023-05-26T11:59:11Z I! Available plugins: 235 inputs, 9 aggregators, 27 processors, 22 parsers, 57 outputs, 2 secret-stores 2023-05-26T11:59:11Z I! Loaded inputs: execd 2023-05-26T11:59:11Z I! Loaded aggregators: 2023-05-26T11:59:11Z I! Loaded processors: 2023-05-26T11:59:11Z I! Loaded secretstores: 2023-05-26T11:59:11Z W! Outputs are not used in testing mode! 2023-05-26T11:59:11Z I! Tags enabled: host=DESKTOP-SGRT5RI 2023-05-26T11:59:11Z I! [inputs.execd] Starting process: telegrafbacnet [--config C:\Program Files\InfluxData\telegraf\telegraf-bacnet\config.toml] 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "Traceback (most recent call last):" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\tomlconfig\\__init__.py\", line 77, in parse" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " _update(self, load(file))" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " ^^^^^^^^^^" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\tomllib\\_parser.py\", line 66, in load" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " return loads(s, parse_float=parse_float)" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\tomllib\\_parser.py\", line 102, in loads" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " pos = key_value_rule(src, pos, out, header, parse_float)" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\tomllib\\_parser.py\", line 349, in key_value_rule" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " raise suffixed_err(src, pos, \"Cannot overwrite a value\")" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "tomllib.TOMLDecodeError: Cannot overwrite a value (at line 101, column 27)" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "The above exception was the direct cause of the following exception:" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "Traceback (most recent call last):" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"<frozen runpy>\", line 198, in _run_module_as_main" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"<frozen runpy>\", line 88, in _run_code" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\telegrafbacnet.exe\\__main__.py\", line 7, in <module>" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\telegrafbacnet\\__init__.py\", line 32, in main" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " if isdir(args.config) else parse(Config, conf_path=args.config)" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " File \"C:\\Users\\localadmin\\AppData\\Local\\Programs\\Python\\Python311\\Lib\\site-packages\\tomlconfig\\__init__.py\", line 93, in parse" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: " raise ConfigError(f\"Error parsing the file {file_path}: {ex}\") from ex" 2023-05-26T11:59:12Z E! [inputs.execd] stderr: "tomlconfig.ConfigError: Error parsing the file C:\\Program Files\\InfluxData\\telegraf\\telegraf-bacnet\\config.toml: Cannot overwrite a value (at line 101, column 27)" 2023-05-26T11:59:12Z I! [inputs.execd] Process C:\Users\localadmin\AppData\Local\Programs\Python\Python311\Scripts\telegrafbacnet.exe shut down 2023-05-26T11:59:12Z E! [telegraf] Error running agent: input plugins recorded 26 errors
Can you Help me with this? Thank you
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
i want to test the telegraf-bacnet plugin. When i try the config check, following error occours:
Can you Help me with this?
Thank you
The text was updated successfully, but these errors were encountered: