thrukadmin account is locked, please contact an administrator

655 views
Skip to first unread message

kaushal...@gmail.com

unread,
Mar 18, 2022, 1:36:50 PM3/18/22
to Thruk
Hi,

I am using nagios along with thruk admin on CentOS Linux release 7.9.2009 (Core)

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 150 services.
        Checked 12 hosts.
        Checked 1 host groups.
        Checked 0 service groups.
        Checked 8 contacts.
        Checked 2 contact groups.
        Checked 29 commands.
        Checked 5 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 12 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

rpm -qa | grep thruk
thruk-base-2.46.3-11400.1.x86_64
libthruk-2.44.2-0.x86_64
thruk-2.46.3-11400.1.x86_64
thruk-plugin-reporting-2.46.3-11400.1.x86_64

I used htpasswd /etc/thruk/htpasswd thrukadmin to reset thrukadmin username and currently I am facing account is locked, please contact an administrator

Best Regards,

Kaushal

kaushal...@gmail.com

unread,
Mar 18, 2022, 1:41:27 PM3/18/22
to Thruk
Hi,

I am facing the below issue. Please guide and thanks in advance.

Screenshot 2022-03-18 at 11.09.38 PM.png

Best Regards,

Kaushal

kaushal...@gmail.com

unread,
Mar 18, 2022, 11:41:59 PM3/18/22
to Thruk
Hi,

I am seeing the below information in /var/log/thruk/thruk.log logs.

[2022/03/19 03:38:32][nagios-monitoring-1][INFO] [login][thrukadmin][?] login attempt for locked account thrukadmin on /thruk/#cgi-bin/status.cgi?host=all from 14.18.113.6
[2022/03/19 03:38:53][nagios-monitoring-1][INFO] [login][thrukadmin][?] login attempt for locked account thrukadmin on /thruk/#cgi-bin/status.cgi?host=all from 14.18.113.6

I have used the below command to reset the new password for thrukadmin, but it still reports account is locked, please contact an administrator 

htpasswd /etc/thruk/htpasswd thrukadmin 

Please suggest further.

Best Regards,

Kaushal

Jean-Malo Beaujour

unread,
Mar 25, 2022, 2:27:19 AM3/25/22
to Thruk
Hello
Try remove Line "locked" in json file /var/lib/thruk/usées/thrukadmin
Bye

Reply all
Reply to author
Forward
0 new messages