Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.69k stars 510 forks source link

Integration with ticketing systems #4786

Open AntonAndreevichMoroz opened 1 year ago

AntonAndreevichMoroz commented 1 year ago

Greetings, ! I came up with the idea of integrating MeshCentral with ticketing systems. In particular, when using the Mesh assistant, when help is requested, so that through a webhook you can automatically create a request for this request in ServiceDesk. I would like to try to implement this functionality and I want to ask you to help with a hint. Could you point out where in the code the request and help cancel events are handled?

jsastriawan commented 1 year ago

Meshcentral uses websocket connection to control.ashx. if you can connect to that websocket under certain user, you'll be able to receive node status changes in real-time. You can then use that message to trigger ticket submission. You can also use existing notifications capability e.g email to trigger ticket submission.

AntonAndreevichMoroz commented 1 year ago

@jsastriawan Thanks for the tip. I was able to connect to control.ashx and get the corresponding event. But here I have some concerns.

  1. The data flow is quite large, and useful events with a request for help make up a fairly small percentage. This imposes a lot of overhead on the processing system. If it were possible to set a filter for received events before connecting... Unfortunately, we have not been able to quickly find such an opportunity yet.
  2. The question arises of monitoring a permanent connection in order not to miss the creation of requests at the moment when the connection is not available or the second of reconnection.

But in fact, I kind of found the place where this processing takes place, so I’ll try to implement MeshCentral on the server side, it seems to me that this is a more reliable implementation.