GithubHelp home page GithubHelp logo

check_gputemp's Introduction

check_gputemp's People

Contributors

elyrith avatar jackbenny avatar

Watchers

 avatar  avatar  avatar

check_gputemp's Issues

running as standard user, root and nagios user?

Hi,

Thank you for this plugin. It works, but I have the following issue under Ubuntu 14. I'm using the system as "myuser". When I'm logged in as "myuser" I can run aticonfig and it returns proper value.

If I run aticonfig as root user, I get:

No protocol specified
ERROR - X needs to be running to perform AMD Overdrive(TM) commands

Therefore I use:

sudo -u myuser aticonfig --odgt

And I get OK result:

Default Adapter - AMD Radeon HD 7900 Series
Sensor 0: Temperature - 62.00 C

And the check is OK when running as root user:

GPU 0 OK - Temperature is 62 | Sensor 0: Temperature - 62.00 C

So I modified the script and I added "sudo -u myuser" when aticonfig command is called. But when I run the check from remote Nagios server via NRPE I now get this result:

"GPU 0 OK - Temperature is | "

So it seems that aticonfig command is not properly executed when called from remote Nagios server via NRPE. But I see this in my local machine (where GPUs are):

nrpe[8841]: Running command: /usr/lib/nagios/plugins/check_amdgputemp.sh --adapter 0 -w 68 -c 75
Command completed with return code 0 and output: GPU 0 OK - Temperature is |
Return Code: 0, Output: GPU 0 OK - Temperature is |

What is the proper way to configure this so that Nagios from remote server would execute amdgup checks properly?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.