Ad Widget

Collapse

Is it possible to auto discover perf_counter within Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vintagegamingsystems
    Member
    • Jun 2013
    • 57

    #1

    Is it possible to auto discover perf_counter within Zabbix

    I am trying to monitor physical disks on a Windows machine. I was wondering if it was possible to write an auto discovery rule to insert disk numbers and names to an key.

    I don't see perf_counter listed as a key for auto discovery.

    I would like to write something like this and then have the auto discovery macro insert the appropriate variable in it's place.

    perf_counter[\234({#DISKNUMBERLETTER)\208]

    This counter would return the average seconds per read.

    The macro {#DISKNUMBERLETTER} could represent 0 C: or 1 D:

    The auto discovery regular expression would look something like this but much better written. This is preliminary for right now.

    ^[[:digit:]][[:space:]][[:alpha:]]:


    I am not sure. I thought I would ask.
    Last edited by vintagegamingsystems; 24-09-2013, 23:43.
  • vintagegamingsystems
    Member
    • Jun 2013
    • 57

    #2
    Here is a better regular expression

    ^[[:digit:]][[:space:]][[:alpha:]]:

    Comment

    Working...