Icinga / icingaweb2

A lightweight and extensible web interface to keep an eye on your environment. Analyse problems and act on them.
https://icinga.com/get-started/
GNU General Public License v2.0
809 stars 282 forks source link

Better Error Naming #3303

Closed Wintermute2k6 closed 6 years ago

Wintermute2k6 commented 6 years ago

Error Return Codes could be better represented in the GUI

Example: Due to manually creating Dashboards in /etc/icingaweb2/dashboards/admin/dashboard.ini

[Current Incidents.Türme_xyz’s] url = Türme_xyz’s title = Türme_xyz’s

Missing quotes will lead to the following error screen. See Screenshot

error_screen

error1

With an for non technical users not understandable error screen with the following hint "How to solve it".

Expected Behavior

More simplified error output like "Missing Quotes! in url & title Field"

Current Behavior

Cryptic framework error message as seen in screenshot

Possible Solution

Better and more precise error handling/return output with more simplified error reasons.

Steps to Reproduce (for bugs)

Simply remove Quotes in dashboard.ini

Your Environment

error2

Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/) License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Application information: Installation root: /usr Sysconf directory: /etc Run directory: /run Local state directory: /var Package data directory: /usr/share/icinga2 State path: /var/lib/icinga2/icinga2.state Modified attributes path: /var/lib/icinga2/modified-attributes.conf Objects path: /var/cache/icinga2/icinga2.debug Vars path: /var/cache/icinga2/icinga2.vars PID path: /run/icinga2/icinga2.pid

System information: Platform: CentOS Linux Platform version: 7 (Core) Kernel: Linux Kernel version: 3.10.0-693.11.6.el7.x86_64 Architecture: x86_64

Build information: Compiler: GNU 4.8.5 Build host: unknown

Al2Klimov commented 6 years ago

Closing as a duplicate of #3252