Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
gdksc
The EVENTS variable returned a single line, so changed to enclose RESULTS in double quotes.
Diff:
EVENTS=`echo "$RESULT" | grep "problem_num" | wc -l`
Diff:
EVENTS=`echo "$RESULT" | grep "problem_num" | wc -l`