Ad Widget

Collapse

CPU, RAM, Bandwidth Monitor for per Windows Service

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m_corleone
    Junior Member
    • Nov 2017
    • 8

    #1

    CPU, RAM, Bandwidth Monitor for per Windows Service

    Hi, I'm a newbie in Zobbix.
    I'd like to monitor Windows' services in a way that the amount of CPU and memory usage for each service could be observed separately. Also, I'd like to know if a service is using our network bandwith.
    I'd would appreciate it if you could give me some information on how can I do it.
  • Pitons
    Member
    • Oct 2017
    • 49

    #2
    Hi,
    First of all deploy zabbix_agent on hosts
    Then use these keys for items:

    proc_info[process,<attribute>,<type>]
    perf_counter[counter,<interval>]

    You can find more info here:

    Comment

    • m_corleone
      Junior Member
      • Nov 2017
      • 8

      #3
      Originally posted by Pitons
      proc_info[process,<attribute>,<type>]
      perf_counter[counter,<interval>]
      Thank for the response,
      I couldn't find any attribute for CPU and network usage in the proc_info. It seems that it show mostly memory related attributes. Regarding pref_counter, I did an export but I couldn't find the process file tht I needed. For example, to monitor taskmanager.exe, using any of the two above procedures, what items need to be specify?
      Last edited by m_corleone; 15-11-2017, 13:44.

      Comment

      • kaspars.mednis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2017
        • 349

        #4
        This syuntax is working on Windows Server 2012, may work on others

        Code:
        perf_counter[\Process(zabbix_agentd)\% User Time]
        Code:
        perf_counter[\Process(Taskmgr)\% User Time]
        You can write any process (without .exe) there.

        Regards,
        Kaspars

        Comment

        • Pitons
          Member
          • Oct 2017
          • 49

          #5
          Kaspars is right about this,
          also might add use this tool to get all performance counters on your windows machine:
          typeperf -q
          or:
          typeperf -q > counters.txt

          for example (put proc name in place of * to use on zabbix):
          Code:
          \Process(*)\% Processor Time
          \Process(*)\% User Time
          \Process(*)\% Privileged Time
          \Process(*)\Virtual Bytes Peak
          \Process(*)\Virtual Bytes
          \Process(*)\Page Faults/sec
          \Process(*)\Working Set Peak
          \Process(*)\Working Set
          \Process(*)\Page File Bytes Peak
          \Process(*)\Page File Bytes
          \Process(*)\Private Bytes
          \Process(*)\Thread Count
          \Process(*)\Priority Base
          \Process(*)\Elapsed Time
          \Process(*)\ID Process
          \Process(*)\Creating Process ID
          \Process(*)\Pool Paged Bytes
          \Process(*)\Pool Nonpaged Bytes
          \Process(*)\Handle Count
          \Process(*)\IO Read Operations/sec
          \Process(*)\IO Write Operations/sec
          \Process(*)\IO Data Operations/sec
          \Process(*)\IO Other Operations/sec
          \Process(*)\IO Read Bytes/sec
          \Process(*)\IO Write Bytes/sec
          \Process(*)\IO Data Bytes/sec
          \Process(*)\IO Other Bytes/sec
          \Process(*)\Working Set - Private

          Comment

          • m_corleone
            Junior Member
            • Nov 2017
            • 8

            #6
            Originally posted by Pitons
            Kaspars is right about this,
            also might add use this tool to get all performance counters on your windows machine:
            typeperf -q
            or:
            typeperf -q > counters.txt

            for example (put proc name in place of * to use on zabbix):
            Code:
            \Process(*)\% Processor Time
            \Process(*)\% User Time
            \Process(*)\% Privileged Time
            \Process(*)\Virtual Bytes Peak
            \Process(*)\Virtual Bytes
            \Process(*)\Page Faults/sec
            \Process(*)\Working Set Peak
            \Process(*)\Working Set
            \Process(*)\Page File Bytes Peak
            \Process(*)\Page File Bytes
            \Process(*)\Private Bytes
            \Process(*)\Thread Count
            \Process(*)\Priority Base
            \Process(*)\Elapsed Time
            \Process(*)\ID Process
            \Process(*)\Creating Process ID
            \Process(*)\Pool Paged Bytes
            \Process(*)\Pool Nonpaged Bytes
            \Process(*)\Handle Count
            \Process(*)\IO Read Operations/sec
            \Process(*)\IO Write Operations/sec
            \Process(*)\IO Data Operations/sec
            \Process(*)\IO Other Operations/sec
            \Process(*)\IO Read Bytes/sec
            \Process(*)\IO Write Bytes/sec
            \Process(*)\IO Data Bytes/sec
            \Process(*)\IO Other Bytes/sec
            \Process(*)\Working Set - Private
            Thanks.
            for Ram and network?!

            Comment

            • Pitons
              Member
              • Oct 2017
              • 49

              #7
              use that command I gave:
              typeperf -q > counters.txt
              and then see the contents of counters.txt

              Comment

              • m_corleone
                Junior Member
                • Nov 2017
                • 8

                #8
                Originally posted by Pitons
                use that command I gave:


                and then see the contents of counters.txt
                Dear pitons
                I used "typeperf -q >>temp.txt" and more item defined. But, how I monitor ram and network for any process. Like task manager of windows?

                Comment

                Working...