I think this is more of a perfmon glitch, actually. Here's what's going on: 1. I create a counter category, and add some counters to it. They work fine. 2. I decide that I need some extra counters in that category. 3. I delete that counter category, and re-create it with new counters added.
At this point, all old counters are working, but the new ones (added in 3) don't - that is they are not updated on perfmon console, although they're accessible from code.
If I re-create them in a category with different name - they work.
I have a feeling that when I delete category - it's not getting deleted from somewhere, and perfmon doesn't read the values.
This is on Windows Server 2003.
Any ideas ?