Ad Widget

Collapse

CPU and Memory Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hello There
    Member
    • Feb 2018
    • 30

    #1

    CPU and Memory Monitoring

    Hello,

    I'd like to monitor CPU and memory usage of one process on Windows Server where the Zabbix agent is installed.
    Could you please share which key and parameters I should use?

    proc.cpu.util and proc.mem don't work.

    Thank you.
  • sancho
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2015
    • 295

    #2
    Hello,
    You can do it with the perf_counters

    Comment

    • Hello There
      Member
      • Feb 2018
      • 30

      #3
      Thanks for the link.

      But I am a little confused.

      Can you please show the general example for these two items I'd like to monitor?

      As I said, I'd like to monitor a specific Windows process (like explorer.exe etc), not processors.

      Thanks.
      Last edited by Hello There; 07-12-2018, 08:34.

      Comment

      • sancho
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2015
        • 295

        #4
        For memory have you tested with item proc_info????

        Example:
        Code:
        proc_info[explorer.exe,vmsize,sum]


        For the CPU with the perf_counters it is already a little more complicated,

        The first thing you have to do is cono is the key of the counter you need.

        For them, in CMD, drop all the counters you have running with this command.
        Code:
        typeperf -qx >c:\typeperf.txt
        Or the path where you would like the txt to be saved, within that txt look for Explorer.exe, it will show you all the counters you can use for the process.

        In your case I think you would be interested.
        "\Process(explorer)\% user time"

        The item would remain:

        Code:
        perf_counter["\Process(explorer)\% User Time"]
        Or something similar...

        I hope it helps
        Sorry for my English


        Comment

        • Hello There
          Member
          • Feb 2018
          • 30

          #5
          proc_info[explorer.exe,vmsize,sum] = memory?
          perf_counter["\Process(explorer)\% User Time"] = CPU?
          Last edited by Hello There; 07-12-2018, 14:52.

          Comment


          • sancho
            sancho commented
            Editing a comment
            Exactly, try and tell us if it worked for you
        Working...