Start a Conversation

Unsolved

This post is more than 5 years old

1587

June 8th, 2015 18:00

Watch4Net Web Services API Questions

Hey all, first time post and hope someone can shed some light on a couple of questions about the web services

  1. The SOAP API named “getObjectData(…)”, which is used to fetch the actual data value of a performance metrics, returns List which in turn contains TimeSerieValue object. This object has the timestamp and the actual data value. So if we are passing multiple metrics to this method, the resultset  is such that we can’t determine the relation of a value with its metric. Must we  specify only one metric per-call to make sense of the resultset? 

  1. Same is true for configuration metrics. The SOAP API named “getDistinctPropertyValues(…)”, is used to fetch the configuration details. We can pass multiple metrics to this method as a List of Strings. In turn, EMC SRM returns the values as List of Strings only. Here we have two concerns – a) The returned List doesn’t maintain the order, so we can’t guarantee the order of values returned from the method matches with the order in which the properties were added while making the call  b) If any of the metric from the list has a NULL value, then, that value is excluded from the actual output(string). EMC SRM does not tell us that it found no value for a particular metric in the list. Example: if we are passing 5 metrics to this method. Out of these 5 say 2 metrics has value as NULL. Then the return from the method will have List of Stings containing only 3 values.

We are passing configuration values in following order:

List properties = new ArrayList ();

properties.add("device");

properties.add("ip");

properties.add("model");

properties.add("vendor");

properties.add("serialnb");

properties.add("sstype");

properties.add("devtype");

Call to fetch configuration data:

List values = client.getDistinctPropertyValues(filter, null, properties);

Output of this call:

[USP_V@172.8.55.154, Array, 172.8.55.154, Block, Hitachi, USP_V, 23833]


Notice the return values don't line up with the way they where submitted.

If anyone has any thoughts that would be extremely appreciated.


No Responses!
No Events found!

Top