Fusion stopped working

This support forum board is for questions relating to Nagios Fusion.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Fusion stopped working

Post by raamardhani7 »

jolson wrote:I'm interested in the following:

Code: Select all

cat /etc/sudoers
ls /etc/cron.d/
cat /etc/cron.d/nagiosxi
tail -n200 /var/log/cron
tail -n200 /var/log/secure
egrep "apach|nagios" /etc/passwd
egrep "apach|nagios" /etc/group
Thank you!

Jesse
Hi Jesse

I am really sorry for troubling you people, my password is expired and I have set it to non expiry. Things started working fine, but below is the error now..

Code: Select all

tail -20 /usr/local/nagiosfusion/var/poller.log
Saving Tac Data to DB: LUSSVPNAGIOSXI00
Saving Tac Data to DB: LBSCHPNAGIOSXI00
Saving Tac Data to DB: LCNHKPNAGIOSXI00

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 32b9gk >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 32b9gk >> /usr/local/nagiosfusion/var/components/noc.log

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 9q240u >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 9q240u >> /usr/local/nagiosfusion/var/components/noc.log

CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host rkjriu >> /usr/local/nagiosfusion/var/components/noc.log

CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service rkjriu >> /usr/local/nagiosfusion/var/components/noc.log
Polling Recent Alerts...
NAGIOSXI ALERT FETCH LUSSVPNAGIOSXI00
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 98462638 bytes) in /usr/local/nagiosfusion/html/includes/utilsx.inc.php on line 114
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Fusion stopped working

Post by lmiltchev »

Run the following command from the CLI on the Fusion box and show us the output:

Code: Select all

grep memory_limit /etc/php.ini
You may need to bump up the value and restart apache:

Code: Select all

service httpd restart
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Fusion stopped working

Post by raamardhani7 »

lmiltchev wrote:Run the following command from the CLI on the Fusion box and show us the output:

Code: Select all

grep memory_limit /etc/php.ini
You may need to bump up the value and restart apache:

Code: Select all

service httpd restart
Hope this helps.
Have changed the value to

Code: Select all

From
grep memory_limit /etc/php.ini
memory_limit = 128M

to 
grep memory_limit /etc/php.ini
memory_limit = 512M
Recycled crond and httpd. 512M is this a good move? or do I need to reduce???
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Fusion stopped working

Post by lmiltchev »

512M should be good, depending on your resources. What is the output of the following command?

Code: Select all

free -h
Is the issue resolved now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Fusion stopped working

Post by raamardhani7 »

lmiltchev wrote:512M should be good, depending on your resources. What is the output of the following command?

Code: Select all

free -h
Is the issue resolved now?
Hi...

Issue is sorted..

Code: Select all

free -b
             total       used       free     shared    buffers     cached
Mem:    8255045632 1911361536 6343684096   30121984  121647104  400056320
-/+ buffers/cache: 1389658112 6865387520
Swap:   4227854336          0 4227854336
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Fusion stopped working

Post by Box293 »

It is OK to lock this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Fusion stopped working

Post by raamardhani7 »

Box293 wrote:It is OK to lock this thread?
Please close this thread, thank for the update.. :)
Locked