Ad Widget

Collapse

every perfcounter return zero

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aarons
    Junior Member
    • Feb 2007
    • 6

    #1

    every perfcounter return zero

    Hi all,

    I'm new to zabbix. Everything worked great until I tried to monitor several performance counters on a Windows agent. I've edited the zabbix_agentd.conf to include items such as:

    PerfCounter = MemPages,"\Memory\Pages/sec",60
    perfcounter= sqlgsuser,"\SQLServer:General Statistics()\User Connections",60

    From the same host, I use this syntax to test:

    C:\>ZabbixW32.exe test MemPages
    Using configuration file "C:\zabbix_agentd.conf"
    Configuration file OK
    [04-Feb-2007 22:18:40] *************** Log file opened ****************
    [04-Feb-2007 22:18:40] Collector thread initialized successfully
    MemPages [0.000000]

    C:\>ZabbixW32.exe test sqlgsuser
    Using configuration file "C:\zabbix_agentd.conf"
    Configuration file OK
    [04-Feb-2007 22:25:30] *************** Log file opened ****************
    [04-Feb-2007 22:25:30] Collector thread initialized successfully
    sqlgsuser [0.000000]

    These, and every other performance counter I use, return 0. Windows Performance app shows correct values for these keys, but the agent is not. Any thoughts please?

    Thanks in advance!

    Aaron
  • sbadger
    Member
    • Dec 2005
    • 81

    #2
    Running the test option from the command line doesn't alwasy return a valid responce. Put the items under that host and you will start getting valid numbers.

    Comment

    • aarons
      Junior Member
      • Feb 2007
      • 6

      #3
      Indeed it did - thank you. Not all of them are returning valid numbers, some are still zero, which is odd. But I'll keep tinkering.

      Comment

      Working...