Hi,
We have an item configured with "Text" as "Type of information". That item gets the content of a file.
We are trying to put the content of this file into trigger´s Comments filed and email it, but it puts only the first line. And the trigger expression tests only the first line of the file.
that is the trigguer expression: {server:item.diff(0)}=0
that is the line on trigger Comments filed to try the contents of the file: {server:item.last(0)}
Well, the trigger is true when the last and previous value are the same (remenber that the value type is text and item gets a content of a file), but trigger tests only the first line. Changes on other parts of the file don´t changes the trigger.
On the latest data we can view all content of file captured by the item.
We want to know if there is a way for the trigger to compare all content of the text captured by the item, because diff, abschange and change functions seams to work only with "string" type of value; or a way to put all the content captured by the item on trigger´s Comments filed, bacause that way it would be able to email the file content along whit the trigger email.
thanks
We have an item configured with "Text" as "Type of information". That item gets the content of a file.
We are trying to put the content of this file into trigger´s Comments filed and email it, but it puts only the first line. And the trigger expression tests only the first line of the file.
that is the trigguer expression: {server:item.diff(0)}=0
that is the line on trigger Comments filed to try the contents of the file: {server:item.last(0)}
Well, the trigger is true when the last and previous value are the same (remenber that the value type is text and item gets a content of a file), but trigger tests only the first line. Changes on other parts of the file don´t changes the trigger.
On the latest data we can view all content of file captured by the item.
We want to know if there is a way for the trigger to compare all content of the text captured by the item, because diff, abschange and change functions seams to work only with "string" type of value; or a way to put all the content captured by the item on trigger´s Comments filed, bacause that way it would be able to email the file content along whit the trigger email.
thanks
Comment