Ad Widget

Collapse

Monitoring working set and commited ram usage of certain process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cosm3
    Junior Member
    • Jan 2019
    • 4

    #1

    Monitoring working set and commited ram usage of certain process

    Hello

    Cant find out how to create item that will show memory usage of certain application

    OS - Windows Server

    I can monitor general ram usage of host
  • splitek
    Senior Member
    • Dec 2018
    • 101

    #2
    https://www.zabbix.com/documentation...agent/win_keys
    proc_info[process,<attribute>,<type>] or perf_counter[counter,<interval>]
    If these are not good you must write some script
    Last edited by splitek; 01-02-2019, 11:46.

    Comment

    • cosm3
      Junior Member
      • Jan 2019
      • 4

      #3
      do active cheks have to be anabled to collect data from perf_counter?

      Comment

      • splitek
        Senior Member
        • Dec 2018
        • 101

        #4
        no, it's your choice

        Comment

        • cosm3
          Junior Member
          • Jan 2019
          • 4

          #5
          i created 3 items, added them to graph but still recieve [no data]

          proc_info[\Process(zabbix_agentd)\Private Bytes]

          Comment

          • splitek
            Senior Member
            • Dec 2018
            • 101

            #6
            try using:
            perf_counter["\Process(zabbix_agentd)\Private Bytes"]

            You can also verify if counter exist on monitored machine by typing:
            typeperf -qx
            and look for it.
            On my machine it is:
            \Proces(zabbix_agentd)\Bajty prywatne
            because of installed language.

            Comment

            • cosm3
              Junior Member
              • Jan 2019
              • 4

              #7
              typeperf -qx

              line is present

              \Process(zabbix_agentd)\Private Bytes

              added to zabbix as

              perf_counter["\Process(zabbix_agentd)\Private Bytes"]

              still got no data

              Comment

              • splitek
                Senior Member
                • Dec 2018
                • 101

                #8
                My suggestion is to change agent from active to normal (don't forget to restart agent after configuration changes) and test with zabbix_get, ie:
                zabbix_get.exe -s 127.0.0.1 -p 10050 -k perf_counter["\Proces(zabbix_agentd)\Bajty prywatne"]
                8515584.000000
                This will tell you if agent is able to monitor this parameter.
                Next add item to zabbix and see if data is collected.
                And next change item to active and agent to active (remember to restart).
                If something fails at least you will know on what step it was.

                Comment

                Working...