In some situations, it is important to include a link to the graphs on the threshold related notifications, to provide more information to the operator when analyzing problems with OpenNMS.
Unfortunately, I forgot about storeByForeignSource which has a completely different format for resource ID.
I've tested all the changes with a running environment to be sure that the ID works no matter if we have storeByForeignSource enabled or not.
Alejandro Galue October 17, 2013 at 4:33 PM
The attached screenshot shows the new parameters added to the thresholds.
Alejandro Galue October 17, 2013 at 4:32 PM
Fixed on revision 2d1ab5441b100078106545ef852732abdd44e4a4 for 1.12.
Bonus Feature:
After reloading the thresholds configuration, if a threshold is triggered, an immediate 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)
In some situations, it is important to include a link to the graphs on the threshold related notifications, to provide more information to the operator when analyzing problems with OpenNMS.
The generic version of the URL is:
opennms/graph/results.htm?reports=all&resourceId=XXX
XXX is the resourceId
For this reason, it would be useful to be able to add the resource Id with the thresholds events.