Page 1 of 2

System Hung

Posted: Mon Nov 09, 2020 11:41 pm
by FCC_Nagios_Support
Hello,
The Nagios becomes lazy and no check and with a lot of messages in queue.
We have a big installation and whe we compile sometimes the hung becomes imposible of unqueue, we need to restores from VM backup because the official restore does no run,
The DataBase is MariaDB and has a lot of locks
How can we migrate to postgress
Anyway the filesystems are refered as bind
[root@a2nagio001p ~]# locate nagios.cmd
/nagiosXI/usr/local/nagios/var/rw/nagios.cmd
/usr/local/nagios/var/rw/nagios.cmd
[root@a2nagio001p ~]#
Thanks

Re: System Hung

Posted: Tue Nov 10, 2020 12:00 am
by FCC_Nagios_Support
Hello:

When we do any delicated operation delicated
Nagios becomes:

intractable approach drive

And the queue increase more and more untill there is not checks

KR

Re: System Hung

Posted: Tue Nov 10, 2020 5:21 pm
by ssax
We do not have a process for migrating everything to postgresql, it's not supported. The code doesn't support it at this time (backups/restores/etc) and we do not test against that setup.

If the kernel message queue isn't processing fast enough, is your DB local or remote?

Please PM me a copy of your profile from the system, you can download it from Admin > System Profile by clicking the Download Profile button.

Re: System Hung

Posted: Sat Nov 14, 2020 1:51 am
by FCC_Nagios_Support
The problem appears when starting chrome and the navigator becomes in not responding and started to queue
The other time i tried to download profile and hungs, so I closed the navigator and start to queue

Re: System Hung

Posted: Sat Nov 14, 2020 2:50 am
by FCC_Nagios_Support
The crhome explore hung and show:
[Sat Nov 14 08:47:37.684398 2020] [:error] [pid 13081] [client 10.5.0.179:59051] PHP Fatal error: Call to a member function asXML() on a non-object in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 0, referer: http://10.5.1.156/nagiosxi/includes/com ... show=hosts
[Sat Nov 14 08:47:37.687572 2020] [:error] [pid 12946] [client 10.5.0.179:59001] PHP Fatal error: Call to a member function asXML() on a non-object in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 0, referer: http://10.5.1.156/nagiosxi/includes/com ... show=hosts
[Sat Nov 14 08:47:38.668439 2020] [:error] [pid 12943] [client 10.5.0.179:59103] PHP Fatal error: Call to a member function asXML() on a non-object in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 0, referer: http://10.5.1.156/nagiosxi/includes/com ... show=hosts
[Sat Nov 14 08:47:38.677536 2020] [:error] [pid 12939] [client 10.5.0.179:59153] PHP Fatal error: Call to a member function asXML() on a non-object in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 0, referer: http://10.5.1.156/nagiosxi/includes/com ... show=hosts

Re: System Hung

Posted: Mon Nov 16, 2020 7:23 pm
by ssax
What XI version are you running? I think you are hitting a bug that was resolved in XI 5.7.2.

Try going to Admin > Performance Settings > Backend Cache tab and disable the backend cache. Then test again.

If that doesn't resolve it you may want to create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/

Re: System Hung

Posted: Tue Nov 17, 2020 1:41 am
by FCC_Nagios_Support
Many Thanks,
I think we have a very old version
5.6.3

KR

Re: System Hung

Posted: Tue Nov 17, 2020 10:21 am
by FCC_Nagios_Support
Hello,
We update the linux system with yum update
ADN
Nagios
we got 5.7.4
and messages changed:
[Tue Nov 17 15:43:36.089569 2020] [:error] [pid 123329] [client 10.12.4.62:61774] PHP Notice: Undefined index: 2d_coords in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/misc_settings.php on line 49, referer: http://10.5.1.156/nagiosxi/includes/com ... e&id=15996
[Tue Nov 17 15:43:36.089574 2020] [:error] [pid 123329] [client 10.12.4.62:61774] PHP Notice: Undefined index: 3d_coords in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/misc_settings.php on line 53, referer: http://10.5.1.156/nagiosxi/includes/com ... e&id=15996


MANY THKS!

Re: System Hung

Posted: Tue Nov 17, 2020 10:24 am
by FCC_Nagios_Support
BEFORE:
[Tue Nov 17 12:10:34.963445 2020] [:error] [pid 52140] [client 10.5.0.180:53945] PHP Warning: unlink(/usr/local/nagiosxi/tmp/backendcache/5/3249178946/2809096303): No such file or directory in /usr/local/nagiosxi/html/includes/utils-backend.inc.php on line 0, referer: http://10.5.1.156/nagiosxi/includes/com ... rchButton=
Before restoring we obtained several fatal PHP errors
I cannot show you cause the system was restored

THKS

Re: System Hung

Posted: Tue Nov 17, 2020 1:28 pm
by FCC_Nagios_Support
Problem: ndo2db disappear we copied but not running
is possible to migrate 5.6.3