You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-08-25 12:43:37

rallisf1
Member
Registered: 2023-08-25
Posts: 2

Dev wants to contribute

Hello,

I just discovered GLPI last week and still setting it up for my company. We currently use Zabbix for SNMP device monitoring. We also use meshcentral for remote access and the current integration is disappointing.

I have tried adding proper meshcentral support for the remote management section:

Agent: github.com/rallisf1/glpi-agent/tree/fix-meshcentral
Server: github.com/rallisf1/glpi/tree/fix-meshcentral

But I am not sure about:

1) how to compile the agent to test it out, I haven't used Perl aside from scripting found it glpi-agent.readthedocs.io/en/latest/installation/index.html#from-sources
2) If the migration changes I did are correct. I tried to follow the documentation ( glpi-developer-documentation.readthedocs.io/en/master/checklists/preparenextmajor.html?highlight=migration#prepare-next-major-release ) but it seems outdated as most of those files are missing.

About my fix
  1. Adds a remoteurl field in glpi_items_remotemanagements table as self-hosted remote management software have different urls for each server instance. This paves the way for more remote management software to be added like rustdesk, guacamole etc.

  2. Displays meshcentral IDs as links in the remote management list.

  3. The agent now supports multiple and custom branded meshcentral agents

  4. The agent now sends the meshcentral server url by parsing the configuration file

P.S. If there's some other form of communication for developers (e.g. discord server) I'd happily join.

Last edited by rallisf1 (2023-08-25 13:39:35)

Offline

#2 2023-08-26 01:35:16

its4thecolony
Member
Registered: 2023-08-26
Posts: 2

Re: Dev wants to contribute

Did you check their Telegram? I remember last time I was there it was pretty active.

Offline

#3 2023-08-26 11:07:33

rallisf1
Member
Registered: 2023-08-25
Posts: 2

Re: Dev wants to contribute

its4thecolony wrote:

Did you check their Telegram? I remember last time I was there it was pretty active.

Just joined but not sure I'll find any devs there. Anyway, I didn't make much progress with the agent.

I'm having trouble testing my glpi-agent fork. it compiles but produces errors when running tasks.

[error] [http client] communication error: 400 Bad Request
[info] Collect task not supported by server0
[error] Can't load GLPI Protocol Inventory library
[error] fork failed: No such file or directory
[error] fork failed: 

it's 100% problem with my perl environment as I also had trouble installing the dependencies. perhaps there's a docker image or nix config someone can share?

Offline

#4 2023-08-28 12:49:53

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,819
Website

Re: Dev wants to contribute

rallisf1 wrote:

P.S. If there's some other form of communication for developers (e.g. discord server) I'd happily join.

There are a few of the developers on the unofficial GLPI Community Discord.
Here is an invite link for it. It expires after 1 week, but there is a post on the forum here somewhere that may have a permanent link.
https://discord.gg/bHNdBQTW


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB