Ad Widget

Collapse

vm.memory.size[pfree] [m|ZBX_NOTSUPPORTED]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JFontes
    Member
    Zabbix Certified Specialist
    • Jul 2012
    • 36

    #1

    vm.memory.size[pfree] [m|ZBX_NOTSUPPORTED]

    root@MTGOi01:~# zabbix_agentd -t vm.memory.size[total]
    vm.memory.size[total] [u|3190747136]
    root@MTGOi01:~# zabbix_agentd -t vm.memory.size[free]
    vm.memory.size[free] [u|454557696]
    root@MTGOi01:~# zabbix_agentd -t vm.memory.size[pfree]
    vm.memory.size[pfree] [m|ZBX_NOTSUPPORTED]
    root@MTGOi01:~# zabbix_agentd -t vm.memory.size[pused]
    vm.memory.size[pused] [m|ZBX_NOTSUPPORTED]



    Alguém sabe porque? Versão do zabbix 2.0
  • harmonica
    Senior Member
    • Jan 2009
    • 251

    #2
    Boas,

    Podes dar mais detalhes, tal como exemplo versão do S.O.?
    Testa a partir do servidor Zabbix com o zabbix_get (zabbix_get -s <IP_destino> -k <key>), se consegues retirar valores ou se dá ZBX_NOTSUPPORTED.

    Comment

    • JFontes
      Member
      Zabbix Certified Specialist
      • Jul 2012
      • 36

      #3
      Originally posted by harmonica
      Boas,

      Podes dar mais detalhes, tal como exemplo versão do S.O.?
      Testa a partir do servidor Zabbix com o zabbix_get (zabbix_get -s <IP_destino> -k <key>), se consegues retirar valores ou se dá ZBX_NOTSUPPORTED.

      Ubuntu 12.04 LTS

      Tentei e me foi retornado os mesmos valores, veja:

      root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[total]
      3190747136
      root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[free]
      434049024
      root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[pfree]
      ZBX_NOTSUPPORTED
      root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[pused]
      ZBX_NOTSUPPORTED


      Tem idéia do que pode está ocorrendo?

      Comment

      • harmonica
        Senior Member
        • Jan 2009
        • 251

        #4
        Qual a versão do agente instalado na máquina?

        Comment

        • JFontes
          Member
          Zabbix Certified Specialist
          • Jul 2012
          • 36

          #5
          Originally posted by harmonica
          Qual a versão do agente instalado na máquina?
          Versão 2.0

          Comment

          • eduwutzl
            Senior Member
            Zabbix Certified Specialist
            • Jul 2010
            • 314

            #6
            Da uma olhada nas opções que voce tem para vm.memory.size

            total - total physical memory available.
            free - memory that is readily available to any entity requesting memory.
            active - memory currently in use or very recently used, and so it is in RAM.
            inactive - memory that is marked as not used.
            wired - memory that is marked to always stay in RAM. It is never moved to disk.
            pinned - same as 'wired'.
            anon - memory not associated with a file (cannot be re-read from it).
            exec - executable code, typically from a (program) file.
            file - cache for contents of recently accessed files.
            buffers - cache for things like file system metadata.
            cached - cache for various things.
            shared - memory that may be simultaneously accessed by multiple processes.
            used - active + wired memory.
            pused - active + wired memory in relation to total.
            available - inactive + cached + free memory.
            pavailable - inactive + cached + free memory in relation to 'total'.



            Mais info aqui -> http://www.zabbix.com/documentation/...ry.size_params

            Espero ter ajudado
            Last edited by eduwutzl; 13-07-2012, 06:40. Reason: Insert Link Zabbix DOC

            Eduardo Wutzl da Silva
            SRE Engenharia de Monitoração e Observabilidade

            Comment

            • harmonica
              Senior Member
              • Jan 2009
              • 251

              #7
              Originally posted by JFontes
              Ubuntu 12.04 LTS

              Tentei e me foi retornado os mesmos valores, veja:

              root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[total]
              3190747136
              root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[free]
              434049024
              root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[pfree]
              ZBX_NOTSUPPORTED
              root@ubuntu:~# zabbix_get -s 10.5.9.35 -k vm.memory.size[pused]
              ZBX_NOTSUPPORTED


              Tem idéia do que pode está ocorrendo?

              Em sistemas Linux podes monitorizar a memória available.

              available - inactive + cached + free memory.
              pavailable - inactive + cached + free memory in relation to 'total'.

              Comment

              • JFontes
                Member
                Zabbix Certified Specialist
                • Jul 2012
                • 36

                #8
                Originally posted by eduwutzl
                Da uma olhada nas opções que voce tem para vm.memory.size

                total - total physical memory available.
                free - memory that is readily available to any entity requesting memory.
                active - memory currently in use or very recently used, and so it is in RAM.
                inactive - memory that is marked as not used.
                wired - memory that is marked to always stay in RAM. It is never moved to disk.
                pinned - same as 'wired'.
                anon - memory not associated with a file (cannot be re-read from it).
                exec - executable code, typically from a (program) file.
                file - cache for contents of recently accessed files.
                buffers - cache for things like file system metadata.
                cached - cache for various things.
                shared - memory that may be simultaneously accessed by multiple processes.
                used - active + wired memory.
                pused - active + wired memory in relation to total.
                available - inactive + cached + free memory.
                pavailable - inactive + cached + free memory in relation to 'total'.



                Mais info aqui -> http://www.zabbix.com/documentation/...ry.size_params

                Espero ter ajudado
                Antes tinha a pfree, agora só a pavailable, obrigado, estou usando ela agora.

                Comment

                Working...