Fix NMS-6195: Display the Resource ID on the threshold events

Bonus Feature:

- After reloading the thresholds configuration, if a threshold is
  triggered, an imediate rearm with value=NaN will be sent to clear
  the threshold with the old settings. Now, instead of value=NaN,
  you are going to see:
  value=NaN (the threshold definition has been changed)