Build precise queries to find exactly what you need
Press ESC to close
@Stefan.Rudat
Member Since: August 24, 2023
Favorites0
Views0
Projects1
thanks for the very usefull script I have to make a little change, result.Count was allways empty $result=invoke-expression $command $SCount = ( $result | Measure-Object -Line).Lines and in the following if and elseif if($SCount -gt $maxCrit) elseif($SCount -gt $maxWarn) write-hoste $output=$state+": "+$SCount+" "+$action+"|"+$action+"="+$SCount+";"+$maxWarn+";"+$maxCrit
Reviewed 2 years ago
An extremely useful option. I used the acknowledgment link, which generates a syslog entry, to clear the alarm.. defined the string okpatterns
Reviewed 1 year ago