Skip to main content
In Backlog

Deployment Automation - import icons

Related products:Infra Monitoring - Global/Installation
  • August 30, 2022
  • 4 replies
  • 40 views

coco163
Forum|alt.badge.img+11

Hi,

 

That would be great to have a script or a function in the API to synchronize the icons without manual intervention on the WebUI

4 replies

rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 7, 2022
NewDiscussion ongoing

lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Centreonian
  • September 7, 2022

Hi @coco163 ,

I assume you are copying a tarball to your remote server and want to run a script to import images from this tarball into Centreon?

Making an API to import images from an archive copied to a server doesn't make sense.

We can create a script to import images from a tarball or create an API endpoint to import a base64 encoded image.

What do you prefer?

 


coco163
Forum|alt.badge.img+11
  • Author
  • Steward ***
  • September 7, 2022

No,

 

As of today, i copy the images with ansible to the www directory directly and change the permissions.

I have changed the php method to synchronize the images by removing the session_id section, but that’s a dirty place.

API would be nice to have, but script is also acceptable.

Whatever is easier for you.


rchauvel
Centreonian
Forum|alt.badge.img+18
  • Centreonian
  • September 21, 2022
Discussion ongoingIn Backlog