Closed oragain closed 5 years ago
Hi @oragain,
Thanks for the feedback :100:
As discussed on Slack could you please try to retry the add command action and lookup for errors in
/var/opt/rh/rh-php71/log/php-fpm/centreon-error.log
/var/log/centreon/sql-error.log
Thanks.
Regards,
Hi @oragain
As discussed on Slack the issue was linked to the fact that SQL strict mode was enabled on the SQL monitoring server.
Although, Centreon is not compatible yet with this SQL mode.
A PR https://github.com/centreon/centreon/pull/7496 has been created to let users informed of this restriction.
Closing the ticket.
Regards,
BUG REPORT INFORMATION
On a fresh install of 19.04, if you attempt to create a command check without a graph and click on save, you end up on a blank page and the command was not saved.
Prerequisites
Central Centreon 19.04
Versions 19.04
For the RPM based systems
-- Copy/Paste the result of the following command --
Operating System
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.6.1810 (Core) Release: 7.6.1810 Codename: Core
Additional environment details (AWS, VirtualBox, physical, etc.): Virtualization stack: proxmox
Description
Check commands not being saved and no error message indicating one
Steps to Reproduce
Create a new command Fill in the name and command Do not select a graph template Save
Describe the received result
You end up on a 'blank' page without any error messages - tested on Firefox The sql error log contains the command, but not the associated error. So you have to run the command in the DB to get the error message.
Describe the expected result
Error message saying that the graph template is required
Additional relevant information (e.g. frequency, ...)