I've been experimenting with ONTAPI for some monitoring.
I've found it seems to support sending multiple API requests in a single POST - which is useful, because then I can fetch an XML bundle that contains 'system-get-info', 'clock-get-clock' and then 'perf-object-get-instances' for multiple objects.
There's just one slight problem - when I do this, I get back a bunch of 'instance-data' elements, which aren't actually named as to which objects they're from - just which instance name.
Has anyone else come up with a good solution to this? Are the counter names globally unique, and thus mappable back to their parent object?
Or am I just going to have to accept making multiple requests, and fetch my perf counters separately?