measure the temperature of the servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
abpro
Posts: 50
Joined: Wed Feb 24, 2021 5:31 pm

measure the temperature of the servers

Post by abpro »

Hello, I am a user who bought nagios xi I have a question, what happens is that I want a plugin where I can measure the temperature of my servers and windows clients, I have investigated, I do not find information that works for me :!:
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: measure the temperature of the servers

Post by lmiltchev »

I don't know what are the plugins/solutions that you tried so far, but there are many different plugins on the Nagios Exchange than may possibly do the job for you. I simple search for "temperature" produced numerous results for me:

https://exchange.nagios.org/index.php?o ... emperature

Once you find a plugin that works for you from the command line, you can add a command, and a service to your Nagios XI server, and start monitoring the temperature. Please review our official documentation on managing plugins here:

https://support.nagios.com/kb/article.php?id=235

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
abpro
Posts: 50
Joined: Wed Feb 24, 2021 5:31 pm

Re: measure the temperature of the servers

Post by abpro »

I have seen some more plugins and I did not understand very well one that I found I do not know if you could help me ...

https://exchange.nagios.org/directory/P ... es/details
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: measure the temperature of the servers

Post by benjaminsmith »

Hi,

So that plugin is a PowerShell script and it will require an agent to execute the script on the remote host. I would recommend using NCPA if you haven't installed that already.

NCPA Agent Installation Instructions

Then copy this into the plugins directory and setup a check Nagios XI. We have a knowledgebase article on this with a PowerShell example to follow.

Nagios XI - Using Scripts / Plugins With NCPA

Let's us know if you have further questions as you start to set this up.

Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
abpro
Posts: 50
Joined: Wed Feb 24, 2021 5:31 pm

Re: measure the temperature of the servers

Post by abpro »

Hello Benjamin, thank you for answering, I already made
the guide that you sent me the plugin and powersheld is already in the directory C: \ Program Files (x86) \ Nagios \ NCPA \ plugins

At the time of monitoring it by nagios xi when adding the plugin it does not perform any monitoring, it would help me a lot to know what command I can enter to be able to monitor the temperature,
I get this error and this is the command I add:


check_xi_ncpa! -t 'windows10' -P 5693 -M 'plugins / check_ohm_temperatures.ps1' -q -warning 80 -critical 90


It would help me to know what command I can enter, which is what it would show me.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: measure the temperature of the servers

Post by benjaminsmith »

Hi,

Are you able to run the PowerShell script locally and get the correct results? If so, try running it from the XI server side and add the -v option for verbose output. If you get an error, please post the full output from the CLI to the thread for us to review.

For example (run from XI server)

Code: Select all

/usr/local/nagios/libexec/check_ncpa.py -H <ipaddress> -t 'windows10' -P 5693 -M 'plugins/check_ohm_temperatures.ps1' -q '-warning 80 -critical 90' -v
Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
abpro
Posts: 50
Joined: Wed Feb 24, 2021 5:31 pm

Re: measure the temperature of the servers

Post by abpro »

Benjamin thank you very much .. I was able to monitor the temperature of my client servers I will only have to modify the powershell script to define it and know what I am monitoring
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: measure the temperature of the servers

Post by benjaminsmith »

Hi,

Your welcome! Sounds like you got it working. Shall we close out this topic or did you have any other questions?

Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
abpro
Posts: 50
Joined: Wed Feb 24, 2021 5:31 pm

Re: measure the temperature of the servers

Post by abpro »

yes, this question closes
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: measure the temperature of the servers

Post by benjaminsmith »

yes, this question closes
Excellent!

Have a great day.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked