Ad Widget

Collapse

Please help with item type calculated perf_counterf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zedis
    Junior Member
    • Aug 2010
    • 3

    #1

    Please help with item type calculated perf_counterf

    Please help me I can't configure Item that it calculate:
    perf_counter[\SQLServer:Access Methods\Index Searches/sec]/perf_counter[\SQLServer:Access Methods\Full Scans/sec]
    all of this perf_counter work fine by command zabbix_get -s 10.9.5.56 -k

    But when I configured it by Item use Type Calculated I see error. I fink that I have format error for type calculated ???

    Can anyone told me which format perf_counter can use with type calculated
    Zabbix server 1.8.2

    I was using next format item calculated for perf_counter:
    1) perf_counter["\SQLServer:Access Methods\Index Searches/sec"]
    error: Format error or unsupported operator. Exp:
    2) last(“perf_counter[“\SQLServer:Access Methods\Index Searches/sec”]”)
    error: Can not evaluate function [last()]:
    3) last(“perf_counter[\“\SQLServer:Access Methods\Index Searches/sec\”]”)
    error: Can not evaluate function [last()]: item [APM Server:“perf_counter[\“\SQLServer:Access Methods\Index Searches/sec\”]”] not found


    Please help me with format item calculated for perf_counter
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    what exactly are you trying to calculate ? maybe post a screenshot of item configuration that does not work for you.

    as for last two examples, they are not using plain doublequotes but some fancy ones, so they are pretty much guaranteed to fail
    Zabbix 3.0 Network Monitoring book

    Comment

    • zedis
      Junior Member
      • Aug 2010
      • 3

      #3
      I wanted to divide two perf_counters:
      "perf_counter[\"\SQLServer:Access Methods\Index Searches/sec\"]"/ "perf_counter[\"\SQLServer:Access Methods\Full Scans/sec\"]"

      It needed for SQL server performance by Microsoft.

      Screenshot in atachment.
      Attached Files

      Comment

      • zedis
        Junior Member
        • Aug 2010
        • 3

        #4
        Now It's okey

        It work

        last("perf_counter[\"\System\Processor Queue Length\",30]")*last("perf_counter[\"\Processor(_Total)\% Idle Time\",30]")

        Thank you

        Comment

        Working...