Ad Widget

Collapse

perf_counter for process thread count does not collect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wimdecorte
    Junior Member
    • May 2019
    • 6

    #1

    perf_counter for process thread count does not collect

    I have an item that is a a straightforward Thread Count through perf_counter:

    perf_counter["\Process(fmwipd)\Thread Count"]

    Set to collect every 30 seconds. Active agent.
    In "latest data" I see that it does collect just fine.

    I also have a trigger and an action based on the trigger that if the item goes to 0 or does not collect data for 45 seconds a command line is fired to restart the process.
    All of that works fine, except that the item does not go back to collecting data after the process has restarted.

    It keeps showing this: "Cannot obtain performance information from collector"

    On the machine I can see the process in Task Manager and Windows Perfmon using the same counter shows the thread count properly.

    If I go into the template and change the item to passive agent and update, then at the next collection interval it does update.
    But when I then kill the process the same thing happens.

    Thoughts? Ideas?

  • wimdecorte
    Junior Member
    • May 2019
    • 6

    #2
    Quick follow-up: if I leave it alone, it takes Zabbix (I'm on 4.2) twelve minutes to get feedback from the perf_counter...

    Comment

    Working...