I have created a new user, view
, but the message above is all I see when I log in; the admin account works without a problem. I have found four similar questions here, but they don’t really match my situation, I think - obviously there is something I haven’t set up correctly, but what?
These are my .ini
files:
root@vogon:/etc/icingaweb2# cat authentication.ini
[icingaweb2]
backend = "db"
resource = "icingaweb_db"
root@vogon:/etc/icingaweb2# cat groups.ini
[icingaweb2]
backend = "db"
resource = "icingaweb_db"
root@vogon:/etc/icingaweb2# cat config.ini
[global]
show_stacktraces = "1"
show_application_state_messages = "1"
config_resource = "icingaweb_db"
[logging]
log = "syslog"
level = "ERROR"
application = "icingaweb2"
facility = "user"
root@vogon:/etc/icingaweb2# cat groups.ini
[icingaweb2]
backend = "db"
resource = "icingaweb_db"
root@vogon:/etc/icingaweb2# cat resources.ini
[icingaweb_db]
type = "db"
db = "mysql"
host = "localhost"
dbname = "icingaweb2"
username = "icingaweb2"
password = "*********"
use_ssl = "0"
[icingadb]
type = "db"
skip_validation = "0"
db = "mysql"
host = "localhost"
dbname = "icingadb"
username = "icingadb"
password = "*********"
charset = "utf8mb4"
use_ssl = "0"
root@vogon:/etc/icingaweb2# cat roles.ini
[Administrators]
users = "icingaweb_adm"
permissions = "*"
groups = "Administrators"
[Users]
permissions = "doc/*,module/doc,monitoring/*,module/monitoring"
users = "view"
groups = "usergrp"
This is a screenshot of the role Users
in the web interface:
Icinga Web 2 Version 2.11.4
Git commit 11453bfa92a70a44efbf7f966f5e7f27e9300a28
PHP Version 7.4.33
Git commit date 2023-01-26
Loaded Libraries
icinga/icinga-php-library 0.11.0
icinga/icinga-php-thirdparty 0.11.0
Loaded Modules
doc 2.11.4 Configure
icingadb 1.0.2 Configure
====
Browser: Firefox 102.9.0esr (64bit)
====
root@vogon:/etc/icingaweb2# icinga2 -V
icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.7-1)
Copyright (c) 2012-2023 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <https://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.
System information:
Platform: Debian GNU/Linux
Platform version: 11 (bullseye)
Kernel: Linux
Kernel version: 5.10.0-13-amd64
Architecture: x86_64
Build information:
Compiler: GNU 10.2.1
Build host: runner-hh8q3bz2-project-575-concurrent-0
OpenSSL version: OpenSSL 1.1.1n 15 Mar 2022
Application information:
General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2
Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var
Internal paths:
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
====
root@vogon:/etc/icingaweb2# php -v
PHP 7.4.33 (cli) (built: Feb 22 2023 20:07:47) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
====
root@vogon:/etc/icingaweb2# cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"