Ad Widget

Collapse

perfcounter and perf_counter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bee
    Senior Member
    • Jun 2007
    • 133

    #1

    perfcounter and perf_counter

    Hi
    I have a bit confuse between zabbix perfcounter and perf_counter. Please correct me if my understanding is wrong.
    PerfCounter= defined on zabbix_agentd.conf with the following syntax;
    PerfCounter = <key>, <perfcounter path>,<period>

    While perf_counter= defined thru zabbix configuration frontend with the following syntax;
    perf_counter[<perfounterpath>]

    the difference between above parameter is <period>.

    The Question;
    I have key as follow;
    Code:
    perf_counter[\Processor(_Total)\% Processor Time]
    and it worked perfectly

    But now i would like to monitor the %Processor Time for 5second period, and using "PerfCounter".

    In zabbix_agent.conf, define new parameter as follow
    Code:
    PerfCounter = test12,"\Processor(_Total)\% Processor Time",5
    Running test
    Code:
    C:\Program Files\Zabbix Agent>zabbix_agentd.exe -c "C:\Program Files\Zabbix Agent\zabbix_agentd.conf" -t test12
    And get result:
    Code:
    __UserPerfCounter[test12]                     [m|Collector is not started!]
    In log found
    HTML Code:
     4188:20080109:102924 Requested [perf_counter[test12]]
    4188:20080109:102924 Can't add counter [test12] [Unable to parse the counter path. Check the format and syntax of the specified path.]
    Why it's not work using PerfCounter method? while using perf_counter it's working perfectly?

    Is there something that i missing with?

    Note: zabbix_agentd v1.4.4 from http://www.suiviperf.com/zabbix/

    Thanks,
    BEE
    Last edited by bee; 09-01-2008, 05:36.
  • bee
    Senior Member
    • Jun 2007
    • 133

    #2
    Rtfm

    case closed,
    my stupidity, should RTFM first before post the problem.
    Thanks, solved already.

    Comment

    • mad6
      Junior Member
      • Apr 2009
      • 1

      #3
      but can you explain what is a mistake you make?
      please.

      =)

      Comment

      • MGajardo
        Junior Member
        • Dec 2006
        • 6

        #4
        Collector is not started

        Please, could you tell me what was the solution?
        Thanks

        Comment

        Working...