I've been having difficulty building a trigger based on string comparison. I want to be able to check if the running config matches the saved config. SNMP of the appliance gives me a value that offers a checksum of the configs, but I have been unable to compare these values in zabbix.
If I try the straightforward approach
It doesn't work because it seems <> can only compare numerical values.
If I try a more round-about approach
it doesn't work because it seems nested variables are not supported.
If I try the straightforward approach
Code:
{Template SNMP Adtran:adAOSStartConfigChecksum.last()}<>{Template SNMP Adtran:adAOSRunConfigChecksum.last()}
If I try a more round-about approach
Code:
{Template SNMP Adtran:adAOSStartConfigChecksum.str({Template SNMP Adtran:adAOSRunConfigChecksum.last()})}<>1
Comment