Skip to main content
Solved

awie export is always corrupted - can it be done trough cli ?

  • November 22, 2024
  • 6 replies
  • 72 views

Forum|alt.badge.img+5

Hello 
I have a Centreon instance with a lot of usefull commands and templates, which I want to move to my new installation . 

Sadly , every file the awie export creates is corrupted. Cannot be opened / unzipped. 
Can I do this export from the VM ? ( Im on Linux onPrem installation 24.04v) 
 

Best answer by dagabard

“Centreon AWIE is based on CLAPI commands but its added value is to allow using Centreon Web UI instead of commands lines.”

 

Do you test with clapi ?

what is the msg with clapi ? 

6 replies

dagabard
Forum|alt.badge.img+5
  • Steward *
  • Answer
  • November 22, 2024

“Centreon AWIE is based on CLAPI commands but its added value is to allow using Centreon Web UI instead of commands lines.”

 

Do you test with clapi ?

what is the msg with clapi ? 


Forum|alt.badge.img+5
  • Author
  • Steward ***
  • November 22, 2024

clapi / rest api works well, so if there is a way to replicate what the gui does , its fine for me. 

 


dagabard
Forum|alt.badge.img+5
  • Steward *
  • November 22, 2024

do you have any error in apache or centreon log ? 

 


dagabard
Forum|alt.badge.img+5
  • Steward *
  • November 22, 2024

AWIE only do api request :-)

centreon-awie/www/modules/centreon-awie at develop · centreon/centreon-awie (github.com

have you enough space in awie temp dir on your server ? 

 

 


Forum|alt.badge.img+5
  • Author
  • Steward ***
  • November 22, 2024

I can see 200 code when exporting from ui in the apache log, no errors elsewhere. 
This is the only file I can find. I have space on the machine. 
/tmp/systemd-private-c8525f5257bf4866b35f07ecfb8770cb-php-fpm.service-APHH73/tmp/centreon-clapi-export-1732297883.txt


dagabard
Forum|alt.badge.img+5
  • Steward *
  • November 26, 2024

how many hosts, services, template, command have you ?

Just test with a sample and watch if your file is OK 

 
you can do it with file export with clapi with no problem.