Random Project

SEMI FIX

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.