D
D
Dannerty2018-05-08 15:05:34
linux
Dannerty, 2018-05-08 15:05:34

Comparing 2 string parameters?

It is necessary to configure the trigger to fire if the hostname specified in the agent differs from the one specified in the system.
I tried to do this
{Template 1:system.hostname.str()} <> {Template 2:agent.hostname.str()} - doesn't work.
With last() at the end, it didn’t work either, I specifically made a host with a different hostname, but the trigger never worked, did I add something, or should I specify it somehow differently?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question