-
1. Re: Passing values to Server Resources(Parent) from Service Resources(Child) ? ? ?
lkrejci Apr 3, 2013 9:02 AM (in response to arun2arunraj)You can use the same mechanism as in this example:
-
2. Re: Passing values to Server Resources(Parent) from Service Resources(Child) ? ? ?
arun2arunraj Apr 3, 2013 9:53 AM (in response to lkrejci)Hi Lukas,
I have been using that same mechanism. Based on that example only I have been working.
I dont have any problem with Plugin Descriptor. I having trouble with component class (Not Discovery class, It is working fine.)
<server name="Monitoring Server" discovery="customerDiscoveryComponent" class="customerComponent" description="It is a monitoring customer services"> <service name="EmailService" discovery="emailDiscoveryComponent" class="emailComponent" description="It will display Customer Services"> <metric property="successEmails" displayName="No of successful E-Mail" measurementType="dynamic" displayType="summary"/> <metric property="invalidEmails" displayName="No of Invalid E-Mail" measurementType="dynamic" displayType="summary"/> <metric property="totalEmails" displayName="Total No of E-Mail" measurementType="dynamic" displayType="summary"/> </service> <service name="EmailService" discovery="emailDiscoveryComponent" class="emailComponent" description="It will display Customer Services"> <metric property="validLogin" displayName="No of User Logged in" measurementType="dynamic" displayType="summary"/> <metric property="validLogoff" displayName="No of User Logged off" measurementType="dynamic" displayType="summary"/> <metric property="invalidLogin" displayName="No of Failed/Invalid Login" measurementType="dynamic" displayType="summary"/> <metric property="activeUsers" displayName="No of Active User" measurementType="dynamic" displayType="summary"/> </service> </server>
In my above I am specifying two different components for two different services. These values has to be shared to my Server ResourcesType's Resource Component. How to do this (In my example, customerComponent ) ? ? ?
Message was edited by: Arun Raj
-
3. Re: Passing values to Server Resources(Parent) from Service Resources(Child) ? ? ?
lkrejci Apr 3, 2013 10:04 AM (in response to arun2arunraj)Please read the whole discussion there. My last reply details the approach of sharing the information between a parent and its child resources. This is only possible to do in code, not in the descriptor.
-
4. Re: Passing values to Server Resources(Parent) from Service Resources(Child) ? ? ?
arun2arunraj Apr 3, 2013 10:42 AM (in response to lkrejci)Hi Lukas,
I got your idea. It is cool , I understand it.
Regards,
ArunRaj