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
The EVENTS variable returned a single line, so changed to enclose RESULTS in double quotes.
Diff:
EVENTS=`echo “$RESULT” | grep “problem_num” | wc -l`