Check_mk无法登录-无效的凭据

时间:2019-03-26 10:22:23

标签: check-mk

我已经安装了omd 2.90-labs-edition。创建新站点后,我想登录到check_mk(1.2.8.p20)Web界面,但是给定的凭据不起作用,我得到了“无效的凭据”。此凭据仅适用于thruk Web界面。

以下是创建新网站的输出:

Adding /omd/sites/test/tmp to /etc/fstab.
Creating temporary filesystem /omd/sites/test/tmp...OK
Apache port 5000 is in use. I've choosen 5001 instead.
Restarting Apache...OK
Created new site test with version 2.90-labs-edition.

The site can be started with omd start test.
The default web UI is available at https://servername/test/

The admin user for the web applications is omdadmin with password: password
(It can be changed with the 'set_admin_password' command as site user.)

Please do a su - test for administration of this site.

新站点已启动,但是https://server_address/test/check_mk/login.py的登录页面仅在登录“ omdadmin”用户后才给我“无效的凭据”。

找不到原因...日志中没有信息/ omd / sites / test / var / log / apache / error_log

很遗憾,从https://mathias-kettner.com/check_mk-werks.php?werk_id=7643&__hstc=14126696.95407ad675cb255879d5c9f0e7607474.1553259391987.1553519829997.1553598167959.3&__hssc=14126696.1.1553598167959&__hsfp=3878063914更改omdadmin用户的初始凭据的提示对我不起作用,或者我做错了事...

如何登录到check_mk Web界面?任何建议表示赞赏。

2 个答案:

答案 0 :(得分:0)

解决方案是关闭thruk_cookie_auth(omd配置-> Web GUI)。

答案 1 :(得分:0)

是@gaspar, 在以下配置参数上,它也对我有用 OMS实验室2.90(Check_MK + pnp4nagios + Thruk + grafana + InfluxDB)

APACHE_MODE: ssl
APACHE_TCP_ADDR: 127.0.0.1
APACHE_TCP_PORT: 5000
AUTOSTART: on
CORE: nagios
CRONTAB: on
DATASCRYER: off
DEFAULT_GUI: check_mk
DOKUWIKI_AUTH: off
DOWNTIMEAPI: off
GEARMAND: on
GEARMAND_PORT: 127.0.0.1:4730
GEARMAN_NEB: on
GEARMAN_WORKER: on
GRAFANA: on
GRAFANA_TCP_PORT: 8003
INFLUXDB: on
INFLUXDB_HTTP_TCP_PORT: 127.0.0.1:8086
INFLUXDB_META_TCP_PORT: 8088
INFLUXDB_MODE: http
INFLUXDB_RETENTION: 104
LIVESTATUS_TCP: off
MKEVENTD: off
MOD_GEARMAN: on
MULTISITE_AUTHORISATION: on
MULTISITE_COOKIE_AUTH: off
MYSQL: off
NAGFLUX: on
NAGIOS_THEME: classicui
NAGVIS_URLS: check_mk
NSCA: off
PNP4NAGIOS: gearman
PROMETHEUS: off
SNMPTRAPD: off
THRUK_COOKIE_AUTH: off
TMPFS: on
WEB_ALIAS: 
WEB_REDIRECT: off