Install telegraf

I want to make telegraf available in influxdb2. When installing telegraf with “sudo apt install telegraf” I get the message:
“telegraf is already the latest version (1.33.0-1).”
But the service cannot be started.

pi@raspi1:~ $ sudo systemctl start telegraf
Job for telegraf.service failed because the control process exited with error code.
See "systemctl status telegraf.service" and "journalctl -xe" for details.
pi@raspi1:~ $ systemctl status telegraf.service
● telegraf.service - Telegraf
     Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-12-13 14:51:23 CET; 1s ago
       Docs: https://github.com/influxdata/telegraf
    Process: 17781 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS (code=e>
   Main PID: 17781 (code=exited, status=1/FAILURE)
        CPU: 350ms

Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 14:51:23 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 14:51:23 raspi1 systemd[1]: Failed to start Telegraf.
lines 1-13/13 (END)

What does it have in the service logs?

pi@raspi1:~ $ date
Fr 13. Dez 16:33:22 CET 2024
pi@raspi1:~ $ systemctl status telegraf.service
● telegraf.service - Telegraf
     Loaded: loaded (/lib/systemd/system/telegraf.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-12-13 14:51:23 CET; 1h 42min ago
       Docs: https://github.com/influxdata/telegraf
    Process: 17781 ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS (code=e>
   Main PID: 17781 (code=exited, status=1/FAILURE)
        CPU: 350ms

Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 14:51:23 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 14:51:23 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 14:51:23 raspi1 systemd[1]: Failed to start Telegraf.

pi@raspi1:~ $ journalctl --since "2024-12-13 16:33:22"
-- Journal begins at Sun 2024-12-01 01:55:44 CET, ends at Fri 2024-12-13 16:34:27 CET. --
Dez 13 16:33:25 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3816.
Dez 13 16:33:25 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3816.
Dez 13 16:33:25 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:25 raspi1 systemd[31087]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[31087]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:25 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:25 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:25 raspi1 systemd[31088]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[31088]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:25 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:25 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:25 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:25 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:28 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3817.
Dez 13 16:33:28 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3817.
Dez 13 16:33:28 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:28 raspi1 systemd[31092]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[31092]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:28 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:28 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:28 raspi1 systemd[31093]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[31093]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:28 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:28 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:28 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:28 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3818.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3818.
Dez 13 16:33:31 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:31 raspi1 systemd[31102]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[31102]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:31 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:31 raspi1 systemd[31103]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[31103]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:31 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:31 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:31 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:31 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:34 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3819.
Dez 13 16:33:34 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3819.
Dez 13 16:33:34 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:34 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:34 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:34 raspi1 systemd[31107]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[31107]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:34 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:34 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:34 raspi1 systemd[31109]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[31109]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:34 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:34 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:38 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3820.
Dez 13 16:33:38 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3820.
Dez 13 16:33:38 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:38 raspi1 systemd[31114]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[31114]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:38 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:38 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:38 raspi1 systemd[31115]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[31115]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:38 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:38 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:38 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:38 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:41 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3821.
Dez 13 16:33:41 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3821.
Dez 13 16:33:41 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:41 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:41 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:41 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:41 raspi1 systemd[31120]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[31121]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[31120]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[31121]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:41 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:41 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:41 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:41 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3822.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3822.
Dez 13 16:33:44 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:44 raspi1 systemd[31126]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[31126]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:44 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:44 raspi1 systemd[31127]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[31127]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:44 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:44 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:44 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:44 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:47 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3823.
Dez 13 16:33:47 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3823.
Dez 13 16:33:47 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:47 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:47 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:47 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:47 raspi1 systemd[31132]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[31132]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:47 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:47 raspi1 systemd[31131]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[31131]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:47 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:47 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:51 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3824.
Dez 13 16:33:51 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3824.
Dez 13 16:33:51 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:51 raspi1 systemd[31140]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[31140]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:51 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:51 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:51 raspi1 systemd[31141]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[31141]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:51 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:51 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:51 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:51 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:54 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3825.
Dez 13 16:33:54 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3825.
Dez 13 16:33:54 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:54 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:54 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:54 raspi1 systemd[31145]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[31145]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:54 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:54 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:54 raspi1 systemd[31146]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[31146]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:54 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:54 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:33:57 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3826.
Dez 13 16:33:57 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3826.
Dez 13 16:33:57 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:33:57 raspi1 systemd[31153]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[31153]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:33:57 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:33:57 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:33:57 raspi1 systemd[31154]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[31154]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:33:57 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:57 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:33:57 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:33:57 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:00 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3827.
Dez 13 16:34:00 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3827.
Dez 13 16:34:00 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:00 raspi1 systemd[31158]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[31158]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:00 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:00 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:00 raspi1 systemd[31159]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[31159]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:00 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:00 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:00 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:00 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:04 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3828.
Dez 13 16:34:04 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3828.
Dez 13 16:34:04 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:04 raspi1 systemd[31167]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:04 raspi1 systemd[31167]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:04 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:04 raspi1 systemd[31168]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[31168]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:04 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:04 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:04 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:04 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:07 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3829.
Dez 13 16:34:07 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3829.
Dez 13 16:34:07 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:07 raspi1 systemd[31172]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[31172]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:07 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:07 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:07 raspi1 systemd[31173]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[31173]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:07 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:07 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:07 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:07 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:10 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3830.
Dez 13 16:34:10 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3830.
Dez 13 16:34:10 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:10 raspi1 systemd[31180]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[31180]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:10 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:10 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:10 raspi1 systemd[31181]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[31181]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:10 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:10 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:10 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:10 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:13 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3831.
Dez 13 16:34:13 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3831.
Dez 13 16:34:13 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:13 raspi1 systemd[31186]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[31186]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:13 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:13 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:13 raspi1 systemd[31187]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[31187]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:13 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:13 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:13 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:13 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:17 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3832.
Dez 13 16:34:17 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3832.
Dez 13 16:34:17 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:17 raspi1 systemd[31195]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[31195]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:17 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:17 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:17 raspi1 systemd[31196]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[31196]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:17 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:17 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:17 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:17 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:20 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3833.
Dez 13 16:34:20 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3833.
Dez 13 16:34:20 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:20 raspi1 systemd[31201]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[31201]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:20 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:20 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:20 raspi1 systemd[31203]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[31203]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:20 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:20 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:20 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:20 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:23 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3834.
Dez 13 16:34:23 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3834.
Dez 13 16:34:23 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:23 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:23 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:23 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:23 raspi1 systemd[31208]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[31208]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[31209]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[31209]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:23 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:23 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:23 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:23 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:26 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3835.
Dez 13 16:34:26 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3835.
Dez 13 16:34:26 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:26 raspi1 systemd[31214]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[31214]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:26 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:26 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:26 raspi1 systemd[31215]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[31215]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:26 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:26 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:26 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:26 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.
Dez 13 16:34:30 raspi1 systemd[1]: webcit-http.service: Scheduled restart job, restart counter is at 3836.
Dez 13 16:34:30 raspi1 systemd[1]: webcit-https.service: Scheduled restart job, restart counter is at 3836.
Dez 13 16:34:30 raspi1 systemd[1]: Stopped Citadel web service.
Dez 13 16:34:30 raspi1 systemd[1]: Started Citadel web service.
Dez 13 16:34:30 raspi1 systemd[1]: Stopped Citadel web service with encryption.
Dez 13 16:34:30 raspi1 systemd[1]: Started Citadel web service with encryption.
Dez 13 16:34:30 raspi1 systemd[31223]: webcit-http.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[31223]: webcit-http.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[31224]: webcit-https.service: Failed to locate executable /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[31224]: webcit-https.service: Failed at step EXEC spawning /usr/local/webcit/webcit: No such file or directory
Dez 13 16:34:30 raspi1 systemd[1]: webcit-http.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:30 raspi1 systemd[1]: webcit-http.service: Failed with result 'exit-code'.
Dez 13 16:34:30 raspi1 systemd[1]: webcit-https.service: Main process exited, code=exited, status=203/EXEC
Dez 13 16:34:30 raspi1 systemd[1]: webcit-https.service: Failed with result 'exit-code'.

I had created the webcit directories by hand. That didn’t help.

pi@raspi1:~ $ cd /usr/local
pi@raspi1:/usr/local $ ls
bin  etc  games  include  lib  man  sbin  share  src  webcit
pi@raspi1:/usr/local $ cd webcit
pi@raspi1:/usr/local/webcit $ ls
webcit:
pi@raspi1:/usr/local/webcit $ 

What has this “webcit” service to do with telegraf?

Please show the logs of telegraf, so we can see the error reporting when shutting down. (journalctl -u telegraf.service)

Dez 13 20:13:34 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:34 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:34 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:34 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 2.
Dez 13 20:13:34 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:34 raspi1 systemd[1]: Starting Telegraf...
Dez 13 20:13:35 raspi1 telegraf[937]: 2024-12-13T19:13:35Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:35 raspi1 telegraf[937]: 2024-12-13T19:13:35Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:35 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 3.
Dez 13 20:13:35 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:35 raspi1 systemd[1]: Starting Telegraf...
Dez 13 20:13:35 raspi1 telegraf[948]: 2024-12-13T19:13:35Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:35 raspi1 telegraf[948]: 2024-12-13T19:13:35Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:35 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:35 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 4.
Dez 13 20:13:36 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: Starting Telegraf...
Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 20:13:36 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.

pi@raspi1:~ $ date
Di 17. Dez 14:00:00 CET 2024

Still failing to give complete output, but anyway, this line should be a hint…

Dez 13 20:13:35 raspi1 telegraf[948]: 2024-12-13T19:13:35Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/tel>

The line is truncated, but I guess you can continue with that…

Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 13 20:13:36 raspi1 telegraf[959]: 2024-12-13T19:13:36Z E! loading config file /etc/telegraf/telegraf.conf failed: open /etc/telegraf/telegraf.conf: permission denied
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 13 20:13:36 raspi1 systemd[1]: Stopped Telegraf.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 13 20:13:36 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 13 20:13:36 raspi1 systemd[1]: Failed to start Telegraf.

Access denied. I have actually assigned all rights. What else could be missing?

Why is it still “Dec 13”? The date is current.

What account owns /etc/telegraf/telegraf.conf and what account are you using to start telegraf?


Last login: Fri Dec 20 13:36:13 2024 from 192.168.196.108
pi@raspi1:~ $ cd /etc/telegraf
pi@raspi1:/etc/telegraf $ ls
telegraf.conf  telegraf.conf.sample  telegraf.d  telegraf_orig.conf
pi@raspi1:/etc/telegraf $ ls -l telegraf.conf
-rwxrwxrwx 1 pi pi 395786 13. Dez 13:55 telegraf.conf
pi@raspi1:/etc/telegraf $


Dez 20 13:36:36 raspi1 systemd[1]: Starting Telegraf...
Dez 20 13:36:37 raspi1 telegraf[941]: 2024-12-20T12:36:37Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 20 13:36:37 raspi1 telegraf[941]: 2024-12-20T12:36:37Z E! loading config file /etc/telegraf/telegraf.conf failed: plugin inputs.system: line 3412: configuration specified the fields ["files"], but they were not used. This is either a typo or this config option does not exist in this version.
Dez 20 13:36:37 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 20 13:36:37 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 20 13:36:37 raspi1 systemd[1]: Failed to start Telegraf.
Dez 20 13:36:37 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 4.
Dez 20 13:36:37 raspi1 systemd[1]: Stopped Telegraf.
Dez 20 13:36:37 raspi1 systemd[1]: Starting Telegraf...
Dez 20 13:36:37 raspi1 telegraf[962]: 2024-12-20T12:36:37Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 20 13:36:37 raspi1 telegraf[962]: 2024-12-20T12:36:37Z E! loading config file /etc/telegraf/telegraf.conf failed: plugin inputs.system: line 3412: configuration specified the fields ["files"], but they were not used. This is either a typo or this config option does not exist in this version.
Dez 20 13:36:37 raspi1 systemd[1]: telegraf.service: Main process exited, code=exited, status=1/FAILURE
Dez 20 13:36:37 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 20 13:36:37 raspi1 systemd[1]: Failed to start Telegraf.
Dez 20 13:36:38 raspi1 systemd[1]: telegraf.service: Scheduled restart job, restart counter is at 5.
Dez 20 13:36:38 raspi1 systemd[1]: Stopped Telegraf.
Dez 20 13:36:38 raspi1 systemd[1]: telegraf.service: Start request repeated too quickly.
Dez 20 13:36:38 raspi1 systemd[1]: telegraf.service: Failed with result 'exit-code'.
Dez 20 13:36:38 raspi1 systemd[1]: Failed to start Telegraf.
lines 596-671/671 (END)

What does this line look like in your file?

Sheesh, do you want any actual help or what?

1 Like

Only from users who can and want to help

line 3412: [[inputs.cpu]]

You have the config file owned by pi pi, but Telegraf service is owned by raspi1. You also are either calling a different config file or have been making edits to it because your error said line 3412 inputs.system but now your output of that file is inputs.cpu, so they don’t even match.

I think I finally made it:

Dez 28 13:41:45 raspi1 systemd[1]: Starting Telegraf...
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Starting Telegraf 1.33.0 brought to you by InfluxData the makers of InfluxDB
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Available plugins: 236 inputs, 9 aggregators, 33 processors, 26 parsers, 63 outputs, 6 secret-stores
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Loaded inputs: cpu disk diskio kernel mem processes swap system
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Loaded aggregators:
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Loaded processors:
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Loaded secretstores:
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Loaded outputs: influxdb_v2
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! Tags enabled: host=raspi1
Dez 28 13:41:46 raspi1 systemd[1]: Started Telegraf.
Dez 28 13:41:46 raspi1 telegraf[9033]: 2024-12-28T12:41:46Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"raspi1", Flush Interval:10s
Dez 28 13:43:31 raspi1 systemd[1]: Stopping Telegraf...
Dez 28 13:43:31 raspi1 telegraf[9033]: 2024-12-28T12:43:31Z I! [agent] Hang on, flushing any cached metrics before shutdown
Dez 28 13:43:31 raspi1 telegraf[9033]: 2024-12-28T12:43:31Z I! [agent] Stopping running outputs
Dez 28 13:43:31 raspi1 systemd[1]: telegraf.service: Succeeded.
Dez 28 13:43:31 raspi1 systemd[1]: Stopped Telegraf.
Dez 28 13:43:31 raspi1 systemd[1]: telegraf.service: Consumed 2.395s CPU time.
Dez 28 13:44:10 raspi1 systemd[1]: Starting Telegraf...
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Loading config: /etc/telegraf/telegraf.conf
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Starting Telegraf 1.33.0 brought to you by InfluxData the makers of InfluxDB
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Available plugins: 236 inputs, 9 aggregators, 33 processors, 26 parsers, 63 outputs, 6 secret-stores
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Loaded inputs: cpu disk diskio kernel mem processes swap system
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Loaded aggregators:
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Loaded processors:
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Loaded secretstores:
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Loaded outputs: influxdb_v2
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! Tags enabled: host=raspi1
Dez 28 13:44:10 raspi1 systemd[1]: Started Telegraf.
Dez 28 13:44:10 raspi1 telegraf[9357]: 2024-12-28T12:44:10Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"raspi1", Flush Interval:10s
lines 1193-1262/1262 (END)

Shouldn’t there be something here?

Sorry, my mistake. I specified the wrong bucket in the telegraf.conf

What did you end up changing in your config to get it working?