Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4520

New boolean mapping for Redis usecase

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.0.0alpha7, 4.0 (plan)
    • None
    • Server (S)
    • None
    • Sprint 32, Sprint 33, Sprint 34
    • 0.125

      Current boolean mappings:

      if (SUCCEED == (res = str_in_list("true,t,yes,y,on,up,running,enabled,available", tmp, ',')))
                              *value = 1;
                      else if (SUCCEED == (res = str_in_list("false,f,no,n,off,down,unused,disabled,unavailable", tmp, ',')))
                              *value = 0;
      

      Additional mapping for Redis rdb_last_bgsave_status

      ok - 0 
      err - 1
      

      P.S. Thinking about the future we could consider to allow users specify their own mappings for boolean in preprocessing tab.

            viktors.tjarve Viktors Tjarve
            dlamberts Dmitrijs Lamberts
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: