Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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.