Skip to main content
Solved

New module

  • January 29, 2024
  • 4 replies
  • 158 views

Forum|alt.badge.img+8

Hello,

We are trying to create a new module in Centreon 22.10 following the documentation

https://docs.centreon.com/docs/22.10/developer/developer-module/

and

https://github.com/centreon/centreon-dummy/tree/master

but we haven't gotten it to work. We think that this documentation may not be up to date.

Does anyone know if there is more up-to-date documentation or a guide to creating it?

 

We would appreciate help.

 

Regards,

Best answer by kozfelipe

I had some issues with dummy too, but I managed to build this weathermap module

https://github.com/kozfelipe/centreon-weathermap

maybe it helps

4 replies

Forum|alt.badge.img+8
  • Steward **
  • 40 replies
  • January 30, 2024

Could you share your conf.php and some of your file structure?


Forum|alt.badge.img+8
  • Author
  • Steward ***
  • 33 replies
  • February 1, 2024

Hello, thanks for answering.

 

Actually the structure is simply the demo, the problem is that it doesn't even work, an error appears that the page cannot be found.

We suspect that this demo may be obsolete because the 21.10 api appears in the URL it generates.

The question is if anyone knows of a more up-to-date demo or a guide to creating a module.

Regards


Forum|alt.badge.img+8
  • Steward **
  • 40 replies
  • Answer
  • February 1, 2024

I had some issues with dummy too, but I managed to build this weathermap module

https://github.com/kozfelipe/centreon-weathermap

maybe it helps


Forum|alt.badge.img+8
  • Author
  • Steward ***
  • 33 replies
  • February 5, 2024

Thanks for your help, I will look at the module to see if it can help me.

 

Regards