Skip to content
New issue

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

fix(otel): move telegraf files to separate folder #971

Merged
merged 1 commit into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lab/ansible/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

# TODO: copy correct telegraf.conf file per host...
#- name: Copy file to host
# ansible.builtin.copy: src=../otel/config/telegraf.conf.{{ inventory_hostname }} dest=/root/telegraf.conf.new
# ansible.builtin.copy: src=../otel/telegraf.d/telegraf.conf.{{ inventory_hostname }} dest=/root/telegraf.conf.new

# TODO: re-enable MEV

Expand Down
4 changes: 2 additions & 2 deletions lab/otel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Took from <https://github.com/opiproject/otel>

### Configuration

Create `telegraf.conf` file, see example [here](./config/telegraf.conf)
Create `telegraf.conf` file, see example [here](./telegraf.d/telegraf.conf)

- change `outputs.opentelemetry` to the management server name/ip
- change `192.168.240.1` to the internal DPU/IPU AMC/BMC for redfish collection
Expand All @@ -19,7 +19,7 @@ Create `telegraf.conf` file, see example [here](./config/telegraf.conf)
Run telegraf container:

```bash
sudo docker run -d --restart=always --network=host -v ./config/telegraf.conf:/etc/telegraf/telegraf.conf docker.io/library/telegraf:1.29
sudo docker run -d --restart=always --network=host -v ./telegraf.d/telegraf.conf:/etc/telegraf/telegraf.conf docker.io/library/telegraf:1.29
```

### Optional Temperature
Expand Down
File renamed without changes.
Loading