Good afternoon,
I have a very simple trigger expression:
And this is working fine, however I would like to add the two values used in the diff() to the description. I have tried this:
... but these do not resolve in the description. I also tried using a different expression with .prev() <> .last() and pulling the {ITEM.VALUE} and {ITEM.VALUE2}, however this was unable to evaluate because they are strings instead of numbers.
What's the way to do this?
Thanks
I have a very simple trigger expression:
Code:
{Template SNMP Brocade:snChasUnitSerNum.[{#SNMPINDEX}].diff()}
Code:
Previous serial number: {{HOST.HOST}:snChasUnitSerNum.[{#SNMPINDEX}].prev()}
New serial number: {{HOST.HOST}:snChasUnitSerNum.[{#SNMPINDEX}].last()}
What's the way to do this?
Thanks