Telegraf stops a few seconds after starting


Shu

Recommended Posts

Hello all,

 

I am trying to setup Unraid's Ultimate Dashboard for the first time following this guide and Technically Speaking's Youtube Guide. However after setting up the config file in the appdata/telegraf folder and putting in the post-argument parameters and starting the container, it just seems to quit after a few seconds. 

 

At first, I was getting a lot of these errors at the start of the container's logs: 

apt does not have a stable CLI interface. Use with caution in scripts.

I changed all of the "apt"s in the extra parameters to "apt-get" and that seemed to clear that issue. But now it just quits after a few seconds. 

 

One pattern I saw was that it failed at the second-to-last apt-get call. Here are my extra parameters: 

 

/bin/sh -c 'apt-get update && apt-get install -y smartmontools && apt-get install -y lm-sensors && apt install -y nvme-cli && telegraf' --user 0

 

The logs would stop at ipmi so I deleted that one but then it stopped at nvme-cli so I deleted that one but now it stops at lm-sensors. (Edit: I removed ipmi as I don't believe I need it)

 

The only other setting I changed for this container (aside from the config file) was the version: telegraf:1.20.2

 

Any ideas? Thanks!

Edited by Shu
Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.