fix variable reassignment error in ocg::nagios::check

Change-Id: Id492e969517ec53e303c9b41bec1cf293d687487