Build precise queries to find exactly what you need
Press ESC to close
@norcon
Favorites0
Views
Projects0
Hi Guys, there is an Error in your Script. If you set the warning ord critical date to for example 30 and 60 Days, the script will work until the days since last update is excactly 30 or 60 days. 31 or 61 or 29 or 59 will work. You have to modify your if and elseif at the end to = insted of See here the edited code snipped: If DD >= updateTresholdCritical Then Wscript.Echo "CRITICAL: Patches are not applied for the last " & DD & " days." Wscript.Quit(intCritical) ElseIf DD >= updateTresholdWarning Then Wscript.Echo "WARNING: Patches are not applied for the last " & DD & " days." Wscript.Quit(intWarning) ElseIf DD =
Reviewed 10 years ago
Hi, i get the following error: ILO2_HEALTH CRITICAL - Drive Bay 1: Spun Down, Drive Bay 2: Spun Down, Drive Bay 3: Spun Down, Drive Bay 4: Spun Down, Drive Bay 5: Spun Down, Drive Bay 6: Spun Down, Drive Bay 7: Spun Down, Drive Bay 8: Spun Down With this command:$USER1$/check_ilo2_health.pl -H $ARG3$ -u $ARG1$ -p $ARG2$ -c -o -d -n -t 60 Is this an unsupported Server for "-c: check drive bays"? ProLiant DL380 G6