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?
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?
Comment