fix parsing in monit module
  - do not process empty lines
  - make sure data is there.
Merge pull request #10044 from kantselovich/issue-10041

 fix parsing in monit module