Build precise queries to find exactly what you need
Press ESC to close
@zamorag
Favorites0
Views
Projects0
I've had a few problems to monitorized this event with nagios and grafana because script didn't show well performance data, just critical output. So I changed some lines into powershell script: Lines 148 to 154 "if ($returnString.length -gt 976) { $estado=$countCritical+$countOptional+$countHidden Write-Host ($returnString.SubString(0,975) + "|critical=$countCritical optional=$countOptional hidden=$countHidden state=$estado") } else { $estado=$countCritical+$countOptional+$countHidden Write-Host ($returnString + "|critical=$countCritical optional=$countOptional hidden=$countHidden state=$estado ") } Now it works perfect! Thanks and regards
Reviewed 6 years ago