Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check_Temperature
1.0
2012-07-07
- Nagios XI
MPL
71397
File | Description |
---|---|
check_temperature_windows.zip | check_temperature_windows.zip |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This script will readout the CPU temperature on a windows system using openharwaremonitorreport (http://code.google.com/p/open-hardware-monitor/issues/detail?id=230 )
derived from openhardwaremonitor (http://openhardwaremonitor.org/)
derived from openhardwaremonitor (http://openhardwaremonitor.org/)
Reviews (3)
byfarid, April 21, 2016
I did not manage to get this plugin to work on my hardware. I suspect that it has to do with the now very old OpenHardwareMonitorReport supplied with this plugin.
While investigating this problem I decided to write my own plugin also using the Open Hardware monitor project.
My plugin is named check_ohm_temperatures and can also be found on this site.
Thank you jeroensteenhuis for the idea of using openhardwaremonitor.org.
While investigating this problem I decided to write my own plugin also using the Open Hardware monitor project.
My plugin is named check_ohm_temperatures and can also be found on this site.
Thank you jeroensteenhuis for the idea of using openhardwaremonitor.org.
For those who try this script and always send Critical to nagios i made this fix and it works now. Look at the bottom of the script and search for this:
if (intMaxTemp = intTemperatureWarning) then return_code = WARNING
if (intMaxTemp >= intTemperatureCritical) then return_code = CRITICAL
if (intMaxTemp = cstr(intTempCritical)) then return_code = 2
if (intMaxTemp rning = 55
intTempCritical = 70
Change that values as you need.
Now the script works, as i say, without arguments, but with my knowledge of scripting is quite more than nothing.
if (intMaxTemp = intTemperatureWarning) then return_code = WARNING
if (intMaxTemp >= intTemperatureCritical) then return_code = CRITICAL
if (intMaxTemp = cstr(intTempCritical)) then return_code = 2
if (intMaxTemp rning = 55
intTempCritical = 70
Change that values as you need.
Now the script works, as i say, without arguments, but with my knowledge of scripting is quite more than nothing.
byDennisPR, December 5, 2012
1 of 1 people found this review helpful
The script doesn't look at warning & critical values ?
It doesn't look at any of the possible vars (intTempWarning, intTempCritical,intTemperatureWarning or intTemperatureCritical) and always returns critical (2)
It doesn't look at any of the possible vars (intTempWarning, intTempCritical,intTemperatureWarning or intTemperatureCritical) and always returns critical (2)