Ad Widget

Collapse

Problem with MACRO RouterOS Version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flavio.gomes
    Junior Member
    • Nov 2018
    • 5

    #1

    Problem with MACRO RouterOS Version

    Hi community,

    I'm trying to create a trigger with a MACRO for RouterOS Version.

    I want to trigger every Router with version diferent from 6.40.9, so I create it.

    Expression = {BR_Template_Mikrotik:system.sw.os.str("{$RO_VERSI ON}")}=1
    MACRO= {$RO_VERSION} => 6.40.9

    and it don't work.

    But if I create direct in the expression with out MACRO works.

    Expression = {BR_Template_Mikrotik:system.sw.os.str("6.40.9")}= 1

    Some one could help me make it work with MACRO?

    Att
  • Hernandes Martins
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Apr 2011
    • 900

    #2
    HI flavio,

    I tested your scenario, for me it worked normally (Zabbix 3.4)

    I suggest remove and create trigger again.

    Regards
    Attached Files
    __

    Att.
    Hernandes Martins - Zabbix Trainer

    Zabbix Brazil Partner - www.luniobr.com

    Zabbix Brazil Community - www.zabbixbrasil.org

    Blog: hernandesmartins.blogspot.com.br

    Skype: hernandss
    Telegram: @MrHernandes

    Español
    Facebook: facebook.com/groups/zabbixlatam
    Telegram: https://t.me/ZabbixEspañol

    Português
    Facebook: facebook.com/groups/zabbixbrasil/
    Telegram: https://t.me/ZabbixBrasil

    Comment

    • flavio.gomes
      Junior Member
      • Nov 2018
      • 5

      #3
      I don't know why but I egual the parameter to 0 like {BR_Template_Mikrotik:system.sw.os.str("{$RO_VERSI ON}")}=0 and started to work.
      If I equal to 1 that is the right way the trigger it's allwayes OK don't matter what I put in the MACRO.
      Last edited by flavio.gomes; 16-11-2018, 12:36.

      Comment

      Working...