Page 1 of 2
Nagios fusion is down
Posted: Thu Jan 16, 2020 7:44 am
by deek
Hi
Nagios fusion is down and i could see the below error on all the log files.
PHP Fatal error: Call to a member function debugDumpParams() on a non-object in /usr/local/nagiosfusion/html/includes/classes/db.inc.php on line 589
Thanks
Deepan
Re: Nagios fusion is down
Posted: Thu Jan 16, 2020 7:46 am
by deek
/usr/local/nagiosfusion/var/log/auth_subsys.log
/usr/local/nagiosfusion/var/log/cmd_subsys.log
/usr/local/nagiosfusion/var/log/log_subsys.log
Re: Nagios fusion is down
Posted: Thu Jan 16, 2020 1:24 pm
by benjaminsmith
Hello
@deek,
Prior to this error, did you have any other issues with the server? A couple more questions to help us troubleshoot the issue.
1. What version of Fusion are you running?
2. Can you post the logs for the database and system messages?
Code: Select all
tail -50 /var/log/mariadb/mariadb.log
tail -50/var/log/httpd/*access_log
tail -50 /var/log/messages
3. Verify the server has enough disk space (post output).
4. Increase the Polling Subsystem Memory
See:
Nagios Fusion Performance Tuning
Re: Nagios fusion is down
Posted: Fri Jan 17, 2020 5:58 am
by deek
Hi Benjamin,
Usually the nagios fusion used to be very slow nothing more than that.
1) Nagios fusion version : 4.1.5
2) Uploaded the required logs ( nagios_fusion_logs)
3)Uploaded the df -h pic ( nagios_fusion_df_h)
4) Not able to tune it since the nagios fusion console is not accesible.
Thanks
Deepan.
nagios_fusion.zip
Re: Nagios fusion is down
Posted: Fri Jan 17, 2020 1:39 pm
by benjaminsmith
Hello Deek,
The server is running out of free RAM and therefore is not enough memory available for the database.
InnoDB: mmap(137756672 bytes) failed; errno 12
200117 1:38:19 InnoDB: Completed initialization of buffer pool
200117 1:38:19 InnoDB: Fatal error: cannot allocate memory for the buffer pool
Is this a VM or physical server? Would you be able to add more RAM to this server and then re-start the server?
Re: Nagios fusion is down
Posted: Fri Jan 17, 2020 2:27 pm
by deek
It’s a VM
Re: Nagios fusion is down
Posted: Fri Jan 17, 2020 2:40 pm
by benjaminsmith
Hi,
Ok. Thanks. Can you increase the memory, restart and let me know if the issue is resolved?
Re: Nagios fusion is down
Posted: Sun Jan 19, 2020 9:32 am
by deek
Thanks Benjamin. We will validate after the RAM changes and update here.
Re: Nagios fusion is down
Posted: Mon Jan 20, 2020 10:47 am
by benjaminsmith
Hi Deek,
Thanks Benjamin. We will validate after the RAM changes and update here.
Sounds good. Also, the current version of Fusion is 4.1.8 and there were some important performance improvements in this release. If possible, I would highly recommend updating to the latest version.
See:
Nagios Fusion Upgrade Instructions
Backup before making any changes or updates.
Re: Nagios fusion is down
Posted: Mon Jan 20, 2020 11:44 am
by deek
Sure Benjamin.