How to access plug in information in all management client?

I have some functionality included in event server. So I will be installing my plug-in in the system where the event server is been installed.And management server,client is on another system.Now f I access management client in event server machine everything works fine But If I want to configure my plug-in from any other management client machine my installed plug-in information will not be seen.

To achieve this what can we do?

If you use Items or Properties saved by Milestone it should work universally. See the Sensor Monitor or the Property plugin sample.

I am using Items saved by Milestone by using Configuration.Instance.SaveItemConfiguration in the Item Manager.

So I did not find any difference in the way of code what I have done in my plug-in and the sensor monitor Plug-in.Can you please elaborate the answer?

My question was Whatever we have written for background service(Event server) or admin functionality will work only in the currently installed system.But not in any other system.

The Sensor Monitor sample will work for any client in a site.

If you install it on a another system it will work there.

If you have saved an item in one system you will not see the item in another system. I might be stating the obvious with the last remark (forgive me). Perhaps I need to understand what you are experiencing.

Please explain your setup , what you do and what you observe.

Are you trying to share items across multiple sites?

When explaining the setup include MFA topology if MFA is used.

(MFA - Milestone Federated Architecture, linking multiple sites into a a Federated Site Hierarchy.)

Our plug-in will send SMS to configured alarm whenever it occurs.

Scenarios :

case 1:

Management Server, Event server → Machine 1.

SMS Installation → Machine 1.

Modem → Machine 1.

Management Client → Machine 1. License is Activated. Rules are added. Tested and Saved.

Now, if the Management Client is opened on Machine 1:

It will be able to send SMS whenever the configured alarm occurs. - Yes.

And also can set the particular rules to set up phone numbers for alrams - Yes.

Management Server → Machine 1.

SMS Installation → Machine 1.

Modem → Machine 1.

Event Server → Machine 2.

Now, if the Management Client is opened on Machine 1 for the first time:

Case

It will be able to send SMS whenever the configured alarm occurs. - No since the event server is in machine 2 whatever written for event server background code is not getting called.

Can set the particular rules to set up phone numbers for alrams in machine 2 - No Plugin itself will not be visible.

Can set the particular rules to set up phone numbers for alrams in machine 1 - Yes.

My doubt was how can we achieve this No conditions to Yes. Is there a way?

I think it fits with this known issue -

https://force.milestonesys.com/support/articles/en_US/How_To/MIP-actions-when-the-Event-Server-is-not-on-the-same-server-as-the-Management-Server

No we have already configured Event Server Machine in the Administrative role.

And I have gone through the BatAction plug-in It seems like it doesn’t have any action in the event server.But our plug-in have some action to do on the alarm generation in the event server.Which is not happening if the event server is in other machine.

You have to have your plugin installed in every server. If you have an Event Server in another machine the plugin must be installed on that machine.

Logically I do not understand the scenario, if you have event server in machine 2 how do you get it sending an SMS from a modem in machine 1?

Guessing you send the SMS from your background plugin in Event Server I guess you must have Event Server and modem in same machine.

If you use a Event Server background plugin you must have it in every event server just as if you have a Management Client plugin you must have it in every Management Client PC.

Could you make a diagram of your system setup?

Thanks for the detailed information regarding plug-in installation to access in all system.As you said its right Event server machine and Modem are in the same machine.Now I want to know is there a way to write our own function returns from event server? I tried messageCommunication.RegisterCommunicationFilter(GetDetails,

      new CommunicationIdFilter("DataRequired"));

GetDetails - is my own function which returns some strings;

in the background service

and try calling same from management client like below

Collection returnValue =EnvironmentManager.Instance.SendMessage(new VideoOS.Platform.Messaging.Message(“DataRequired”));

But this always return returnValue.count=0.

Is there anything extra I need to do?

You will need to implement two messages, could be DataRequired and DataRequiredResponse. With transmitmessage you could then send a message requesting the other message which could include the data. There is no sample showing this, the Chat sample actually comes close so try to look into that sample.

Please open a new thread asking a new question when something new comes up. It will make the usabilty of the forum much better using it that way.