Whats best method to evaluate the difference between 2 strings in a trigger?
I get a md5 value (md5sum of routes table) which I want to compare against the previous md5 value.
Is usage of this correct?
{TMPL_BASIC_LINUX:up.net.routes.change(0)}#0
Formerly I used this one:
{TMPL_BASIC_LINUX:up.net.routes.change(0)}>0
How is behaviour of this kind of triggers if the host is not available for some time so no lastdata is available? Do I have to care about that in condition?
I get a md5 value (md5sum of routes table) which I want to compare against the previous md5 value.
Is usage of this correct?
{TMPL_BASIC_LINUX:up.net.routes.change(0)}#0
Formerly I used this one:
{TMPL_BASIC_LINUX:up.net.routes.change(0)}>0
How is behaviour of this kind of triggers if the host is not available for some time so no lastdata is available? Do I have to care about that in condition?