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

New boolean mapping for Redis usecase

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              viktors.tjarve Viktors Tjarve
              dmitrijs.lamberts Dmitrijs Lamberts
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: