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

system.swap.size broken when having no swap space

XMLWordPrintable

    • Sprint 79 (Aug 2021), Sprint 80 (Sep 2021)
    • 0.5

      create a linux server with 0 swap

      create an item for example system.swap.size[,free] 

       

      the item will become unsupported and return

      system.swap.size[,free] [m|ZBX_NOTSUPPORTED] [Cannot be calculated because swap file size is 0.]

       

      so preprocessing cant be used 

       

      i would have expected to have seen the value of 0

      as this is what linux returns to me when running free 

       

      free -m
      total used free shared buff/cache available
      Mem: 1998 408 509 123 1081 1283
      Swap: 0 0 0

       

      apparently agent items sending out wrong information to the zabbix server is a feature and not a bug so here is my feature request.

      make the items send the value of 0 to the agent so that preprocessing can be done 

      or create a special value that indicates that no swap is installed on the system.

      https://support.zabbix.com/browse/ZBX-19690

            dgoloscapov Dmitrijs Goloscapovs
            patrik patrik uytterhoeven
            Team A
            Votes:
            2 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: