Your select will work, but you should add
AND IsDisabled=0 AND IsDeleted=0
to WHERE condition. IsDisabled=0 means the HWHealth poller is assigned to node right now and IsDeleted=0 means, the sensor was in last polled results.
Your select will work, but you should add
AND IsDisabled=0 AND IsDeleted=0
to WHERE condition. IsDisabled=0 means the HWHealth poller is assigned to node right now and IsDeleted=0 means, the sensor was in last polled results.