Ad Widget

Collapse

Float vs unsigned Int in perf_counter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bsilva
    Junior Member
    • Aug 2009
    • 9

    #1

    Float vs unsigned Int in perf_counter

    So, it appears that when you define an item using perf_counter, it's very important that you define it as the correct type.

    For example when I tried creating an item for:
    perf_counter[\Processor(_Total)\% Processor Time]

    It failed, apparently because I created the type as "Numeric (unsigned)". When I changed it to "Numeric (float)", it started working fine.

    So, here's my question; Does anyone know a way to determine what counters are what data type?

    The only way I've found so far is bring up that counter in the MS performance tool, which is pretty painful when you're trying to add 50 counters.

    Is there a better way?

    Can an error be added to the zabbix_server log about bad data being returned for a perf_counter query?


    Thanks,
    Brad
Working...