Nagios BPI Process are in hang state

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ganesh.batwal
Posts: 16
Joined: Thu May 04, 2017 7:48 am

Nagios BPI Process are in hang state

Post by ganesh.batwal »

Dear Support,
We are facing the issue while executing / running the Nagios BPI interface. We are not getting any error message, but the processing icon continuously showing as busy even running after hrs, Pl refer the attached screen for the same.
Kindly check and advice.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios BPI Process are in hang state

Post by ssax »

Please run this command (and let it run), then reproduce the issue, and post the full output of the tail command:

Code: Select all

tail -F /var/log/httpd/*error_log
If you click on any of the other priority tabs does it give any errors?
ganesh.batwal
Posts: 16
Joined: Thu May 04, 2017 7:48 am

Re: Nagios BPI Process are in hang state

Post by ganesh.batwal »

Dear Support,
Pl find the required output.

==> /var/log/httpd/ssl_error_log <==
[Wed Sep 12 13:08:38.527167 2018] [:error] [pid 4866] [client 192.168.250.240:63528] PHP Notice: Undefined index: tag in /data/nagiosxi/html/nath_status.php on line 28
[Wed Sep 12 14:00:46.305631 2018] [:error] [pid 25066] [client 172.30.18.251:57897] PHP Warning: simplexml_load_string(): Entity: line 28: parser error : StartTag: invalid element name in /data/nagiosxi/html/includes/utils-systat.inc.php on line 17, referer: https://nagios.jetairways.com/nagiosxi/index.php?
[Wed Sep 12 14:00:46.305683 2018] [:error] [pid 25066] [client 172.30.18.251:57897] PHP Warning: simplexml_load_string(): etairways.com;/usrcore Disk Usage;OK;HARD;1;/usrcore: 12%used(6056MB/50425MB) (< in /data/nagiosxi/html/includes/utils-systat.inc.php on line 17, referer: https://nagios.jetairways.com/nagiosxi/index.php?
[Wed Sep 12 14:00:46.305697 2018] [:error] [pid 25066] [client 172.30.18.251:57897] PHP Warning: simplexml_load_string(): ^ in /data/nagiosxi/html/includes/utils-systat.inc.php on line 17, referer: https://nagios.jetairways.com/nagiosxi/index.php?
[Wed Sep 12 14:00:46.311656 2018] [:error] [pid 4111] [client 172.30.18.251:57898] PHP Warning: simplexml_load_string(): Entity: line 28: parser error : StartTag: invalid element name in /data/nagiosxi/html/includes/utils-systat.inc.php on line 17, referer: https://nagios.jetairways.com/nagiosxi/index.php?
[Wed Sep 12 14:00:46.311689 2018] [:error] [pid 4111] [client 172.30.18.251:57898] PHP Warning: simplexml_load_string(): etairways.com;/usrcore Disk Usage;OK;HARD;1;/usrcore: 12%used(6056MB/50425MB) (< in /data/nagiosxi/html/includes/utils-systat.inc.php on line 17, referer: https://nagios.jetairways.com/nagiosxi/index.php?
[Wed Sep 12 14:00:46.311700 2018] [:error] [pid 4111] [client 172.30.18.251:57898] PHP Warning: simplexml_load_string(): ^ in /data/nagiosxi/html/includes/utils-systat.inc.php on line 17, referer: https://nagios.jetairways.com/nagiosxi/index.php?
[Wed Sep 12 15:22:13.752848 2018] [:error] [pid 18028] [client 172.30.6.39:38331] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /data/nagiosxi/html/dashboards/dashboard.php on line 0, referer: https://nagios.jetairways.com/nagiosxi/dashboards/
[Wed Sep 12 15:22:22.314917 2018] [:error] [pid 5881] [client 172.30.6.39:38753] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /data/nagiosxi/html/dashboards/dashboard.php on line 0, referer: https://nagios.jetairways.com/nagiosxi/dashboards/
[Wed Sep 12 15:36:05.248601 2018] [:error] [pid 25709] [client 172.30.6.39:9534] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /data/nagiosxi/html/includes/components/nagiosbpi/classes/BpGroup_class.php on line 0, referer: https://nagios.jetairways.com/nagiosxi/ ... /index.php
^C
[root@jet-nagios-prod conf.d]#


Kindly check and advice.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios BPI Process are in hang state

Post by lmiltchev »

What are the values of max_execution_time, max_input_time and memory_limit in the /etc/php.ini file?

Try the following:

1. Increase these values in the /etc/php.ini file, for example:

Code: Select all

max_execution_time = 120
max_input_time = 240
memory_limit = 1024M
Also, add this to the bottom of the file:

Code: Select all

max_input_vars=100000
Save and exit.

2. Edit the /etc/httpd/conf/httpd.conf file by adding the following line to the bottom:

Code: Select all

LimitRequestLine 100000
3. Restart apache:

Code: Select all

service httpd restart
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ganesh.batwal
Posts: 16
Joined: Thu May 04, 2017 7:48 am

Re: Nagios BPI Process are in hang state

Post by ganesh.batwal »

Dear Support,
Required parameters are updated, Still the BPI process are not completed.
Pl find the required logs. Kindly check and advice.

[Fri Sep 14 15:05:05.933966 2018] [:error] [pid 18570] [client 172.30.6.39:44968] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 72 bytes) in /data/nagiosxi/html/includes/components/nagiosbpi/classes/BpGroup_class.php on line 0, referer: https://nagios.jetairways.com/nagiosxi/ ... /index.php
[Fri Sep 14 15:05:35.573747 2018] [:error] [pid 18727] [client 172.30.6.39:46011] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 72 bytes) in /data/nagiosxi/html/includes/components/nagiosbpi/classes/BpGroup_class.php on line 0, referer: https://nagios.jetairways.com/nagiosxi/ ... /index.php
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios BPI Process are in hang state

Post by lmiltchev »

How large is your BPI config?

There must be something in your config that's causing loops, and you are running out of memory. I believe your best bet would be to open a ticket via our Support Center, so that we could schedule a remote session to further troubleshoot the issue.

https://support.nagios.com/tickets/
Be sure to check out our Knowledgebase for helpful articles and solutions!
ganesh.batwal
Posts: 16
Joined: Thu May 04, 2017 7:48 am

Re: Nagios BPI Process are in hang state

Post by ganesh.batwal »

Thanks for an update.. We have raised the support case for a remote session.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios BPI Process are in hang state

Post by lmiltchev »

Since you have an open ticket in our system, I will be closing this topic now. We will continue communicating via email.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked