Giter Club home page Giter Club logo

centreon-awie's Issues

Fix content of messages for import process

When file format to import is not correct : "Please upload a .zip archive" instead of "Please update...".

When import process has finished properly : "Import successful" instead of "Import successfully".

Export/import host + services : some custom macros are not exported so Conf export failed

When exporting/importing host and linked objects (templates and/or services), some macros are not exported so, when user want to export Poller conf, the process failed.

ex : Reading main configuration file '/usr/share/centreon/filesGeneration/engine/2/centengine.DEBUG'.
Reading resource file '/usr/share/centreon//filesGeneration/engine/2/resource.cfg'
Error while processing a config file: Configuration parsing failed in file '/usr/share/centreon//filesGeneration/engine/2/services.cfg' on line 34: Service 'proc-sshd' has no check command (property 'check_command')
One or more problems occurred while processing the config files.

In this case, service proc-sshd on origin Centreon has no check command either but some of custom macros for this service are not imported in the target Centreon.

when am trying to import the MIBs file into the system , Can't locate centreon/script/centFillTrapDB.pm

while am importing the MIBs file into the system am getting the below error,
Moving traps in DataBase...
Can't locate centreon/script/centFillTrapDB.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/centreon/bin/centFillTrapDB line 35.
BEGIN failed--compilation aborted at /usr/share/centreon/bin/centFillTrapDB line 35.

Generate Traps configuration files from Monitoring Engine configuration form!

when am running the command "centFillTrapDB" am getting the below error.

Can't locate centreon/script/centFillTrapDB.pm in @inc (@inc contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /bin/centFillTrapDB line 35.
BEGIN failed--compilation aborted at /bin/centFillTrapDB line 35.

image

Uninstall SQL

uninstall sql does not remove topology header menu

Export with a filter hangs out

BUG REPORT INFORMATION

Prerequisites

Versions

centreon-2.8.26-3.el7.centos.noarch
centreon-awie-1.0.1-1.el7.centos.noarch

Operating System

Red Hat Enterprise Linux Server release 7.2 (Maipo)

Description

Trying to export service templates using a filter.
No checkboxes selected, only the filter field for Service Templates is used with a single word.
It should match 9 templates of our configuration.

Message on the screen: "Please wait... This process can take several minutes".
We've been waiting for more than 20 hours :)

Steps to Reproduce

Configuration
Import/Export
Export
Fill the filter field of Service Templates
Export

Describe the received result

"Please wait... This process can take several minutes" for hours.

Describe the expected result

Getting the export configuration file.

Additional relevant information (e.g. frequency, ...)

A full clapi export takes currently 70 minutes to complete.

Export/Imp Notifications commands : Exported Command lines are incomplete

When exporting/importing Notifications commands, the content of Command lines is not totally exported.

example : for host-notify-by-epager

/usr/bin/printf "%b" "Host $HOSTALIAS$ is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | @mailer@ -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$

becomes

in target : /usr/bin/printf &quot

Export/Import : no help for any field of the form

In awie page (Configuration > Import/export form), especially for using filter, there are no help to tell users what to type in filter field and what will be the result of the export according to choice made by user (All hosts => hosts, hosts templates, linked users are exported but not linked services, if filter for one specific host, host, host templates, users and linked services are exported...)

E/I filter for one specific service : several issues

When exporting/importing using filter for one specific service, result is different, depending if the service is linked to one or several hosts.

If service exists for several hots (Ping), then only one host is exported with all services (probably the first one that has been created).

If service exists only for one host, this service is exported with host+all services anyway, whereas user could expect only one service to be exported

Centreon Import Issues

Centreon Version: 20.04.0
Command: centreon -u admin -p xyz -i clapi_export.txt

Hi i want to change my central host so i both try clapi and awie both didn't worked, the both server are in centreon 20.04.0 but when i am trying to import the configuration with clapi i am getting this error:

"PHP Fatal error: Uncaught PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column centreon.on_demand_macro_service.is_password at row 1 in /usr/share/centreon/www/class/centreonDB.class.php:274
Stack trace:
#0 /usr/share/centreon/lib/Centreon/Object/Object.php(117): CentreonDB->query('INSERT INTO on_...', Array)
#1 /usr/share/centreon/www/class/centreon-clapi/centreonService.class.php(722): Centreon_Object->insert(Array)
#2 /usr/share/centreon/www/class/centreon-clapi/centreonAPI.class.php(806): CentreonClapi\CentreonService->setmacro('VCENTER-HOST-12...')
#3 /usr/share/centreon/www/class/centreon-clapi/centreonAPI.class.php(769): CentreonClapi\CentreonAPI->launchActionForImport()
#4 /usr/share/centreon/bin/centreon(196): CentreonClapi\CentreonAPI->import('centreon-clapi-...')
#5 {main}"

Does anyone have a way to fix this ?

[19.10.x] Upload Failed

I installed centreon-awie on a 19.10 version of centreon.
The export function works but not the import function
image
The folder /usr/share/centreon/filesUpload does not exist to import the file
Solution
mkdir /usr/share/centreon/filesUpload
chown centreon: /usr/share/centreon/filesUpload
chmod 775 /usr/share/centreon/filesUpload
After creating the folder, the import function works
image

ACL actions export/import : some actions are not set to yes when imported

Although all actions checkboxes are set to yes in the source environment for exported ACL actions record, those following actions checkboxes are set to no in the target environment :

  • Generation Configuration files
  • Generate SNMP Trap configuration
  • Disacknowledge a service
  • Display executed command by monitoring engine
  • Disaknowledge a host

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.