Ad Widget

Collapse

difference between 2 strings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tekknokrat
    Senior Member
    • Sep 2008
    • 140

    #1

    difference between 2 strings

    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?
Working...