Build precise queries to find exactly what you need
Press ESC to close
Worked great! I just modified the script a little to separate the temperatures for my CPU and Hard Drives so they report to Nagios and graph separately. All I did was create two instances of the script and change the following for each file.
Changed “-Query “SELECT + FROM Sensor WHERE Sensortype=’Temperature'”
to
“-Query “SELECT + FROM Sensor WHERE Name=’core #1 – #8′” — To display CPU temp
and
“-Query “SELECT + FROM Sensor WHERE Name=’Temperature'” — To display the temps of the Hard Drives
The “Name” might be different depending on your hardware, but if you run :
Get-WmiObject -Namespace “RootOpenHardwareMonitor” Class: sensor
From Powershell while OpenHardwareMonitor is running it will give you a list of all the sensors and their names that are being monitored.
I’m running : NagiosĀ® Core Version 4.3.2 OpenHardwareMonitor 0.8.0 Beta
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!