Hello,
I want to do something like:
Or more simple : function change with 3 checks (last, previous, pre-previous) values
list_partition return text as "C: D: E:" (on windows hosts) and "/ /tmp /var" (on linux hosts)
I want to get a trigger to fire when the change is two time consecutive.
But it doesn't work because functions return numeric values only, and comparaison function works only with last and previous value.
New function strlen will not work because if my list_partition change from "C: D:" to "C: E:" I won't be able to view the change (length is the same).
How can I do that?
Many thanks for your help
I want to do something like:
Code:
({host:list_partition[].last(#1)}={host:list_partition[].last(#2)})&({host:list_partition[].last(#1)}#{host:list_partition[].last(#3)})
list_partition return text as "C: D: E:" (on windows hosts) and "/ /tmp /var" (on linux hosts)
I want to get a trigger to fire when the change is two time consecutive.
But it doesn't work because functions return numeric values only, and comparaison function works only with last and previous value.
New function strlen will not work because if my list_partition change from "C: D:" to "C: E:" I won't be able to view the change (length is the same).
How can I do that?
Many thanks for your help
Comment