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

telegraf: fix Intel MEV temperature #11

Closed
glimchb opened this issue Jun 3, 2024 · 1 comment · Fixed by #72
Closed

telegraf: fix Intel MEV temperature #11

glimchb opened this issue Jun 3, 2024 · 1 comment · Fixed by #72
Assignees
Labels
ansible monitoring Somthing related to OTEL and monitoring

Comments

@glimchb
Copy link
Member

glimchb commented Jun 3, 2024

see

# commands = ["ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=3 root@192.168.0.1 iset-cli get-temperature"]

error

2024-06-04T11:14:20Z E! [inputs.exec] Error in plugin: exec: exec: "ssh": executable file not found in $PATH for command "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=3 root@192.168.0.1 iset-cli get-temperature":
@glimchb glimchb added the monitoring Somthing related to OTEL and monitoring label Aug 1, 2024
@glimchb glimchb added the ansible label Oct 2, 2024
@glimchb
Copy link
Member Author

glimchb commented Oct 8, 2024

We can set a cron job on mev acc to ssh to imc and get temp and save it locally to a file and then update telegraf co fig to use this file

ssh \
    -o StrictHostKeyChecking=no \
    -o UserKnownHostsFile=/dev/null \
    -o ConnectTimeout=3 \
    root@192.168.0.1 \
    iset-cli get-temperature \
    > somefile.txt

https://docs.ansible.com/ansible/latest/collections/ansible/builtin/cron_module.html

@glimchb glimchb linked a pull request Oct 8, 2024 that will close this issue
@glimchb glimchb self-assigned this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible monitoring Somthing related to OTEL and monitoring
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant