This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Alerting using SWIS variables - The Datastore Story

So I have built a couple of datastore alerts in the Orion alerting engine.  I won't bore you with the technical details of the alert logic, etc. because it doesn't really matter.  My issue is with using SWIS variable references and having them not render in the output.

Here is a portion of the notification entry:

Datastore total latency for ${N=SwisEntity;M=Name} in ${N=SwisEntity;M=Clusters.Name} on ${N=SwisEntity;M=DataCenter.VCenter.Name} is ${LatencyTotal} ms

As you can see the SwisEntity is a datastore.  What I want to do is to display the Cluster name and the vCenter that manages the hosts in that cluster to make it easier for our vCore team to find the offending datastore. (We have lots of vCenters and some of them share cluster names)  However, even those SWQL studio shows that Orion.VIM.Datastores is connected to Orion.VIM.Clusters via a named link 'Clusters' that reference ${N=SwisEntity;M=Clusters.Name} doesn't resolve to the cluster name.

And, just because I am a glutton for punishment, I tried to follow the table links from Orion.VIM.Datastores all the way back to Orion.VIM.VCenters using ${N=SwisEntity;M=DataCenter.VCenter.Name}.

My questions are two-fold:

1)  Why isn't my cluster reference working even though I can see the linked table reference in the Orion.VIM.Datastores table?

2)  Can I follow linked tables across multiple links to go from datastores to clusters to datacenters to vCenters to get the vCenter name?  If so, what am I missing in my variable?

Parents Reply
  • Just the variable references -- they aren't being resolved to a value.  A few examples below.

    Datastore is the SwisEntity

    Datastore total latency for IL0210PV_App_02_ ABC_6285_LUN003 in ${N=SwisEntity;M=Clusters.Name} on ${N=SwisEntity;M=Clusters.DataCenter.VCenter.Name} is 17.01 ms

    Datastore usage for Cluster OH0010PV_SHARED_06_4126_OS_04 in ${N=SwisEntity;M=DataCenter.VCenter.Name} is 95.003243284493% of 1.0 T

Children
No Data