Notifications Page takes a long time to open

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Notifications Page takes a long time to open

Post by MSPk »

Hi,

We are using Nagios XI 2012R1.8 and have configured about 64 hosts with 640 services. When I try to open the notification page it take about 5-10 mins to open up and during this time it will not allow me to open section on nagios either. everything else works fine, please suggest.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Notifications Page takes a long time to open

Post by slansing »

Can you do the following:

Navigate to Admin > System Profile > click the "Download" button

Then in the file that is downloaded please remove sensitive information, such as your config snapshot "It should be the .tar.gz file within the zip you downloaded. And make sure the logs that were gathered do not show sensitive info. Then upload the information here in attachments. That will allow us to check some system vitals.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Notifications Page takes a long time to open

Post by MSPk »

here it is...

Profile
profile.zip
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Notifications Page takes a long time to open

Post by lmiltchev »

What kind of browser are you using? Are you seeing the same behavior when you try a different browser? Run the following commands and show the output:

Code: Select all

tail /var/log/httpd/error_log
tail /var/log/messages
Be sure to check out our Knowledgebase for helpful articles and solutions!
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Notifications Page takes a long time to open

Post by MSPk »

We are using IE8 and unfortunately dont have any other brower in our environment to test.

tail /var/log/httpd/error_log

Code: Select all

tail /var/log/httpd/error_log

check_mssql_server.py: error: Cannot specify both instance and port.
which: no gnome-session in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no gnome-session in (/sbin:/usr/sbin:/bin:/usr/bin)
[Thu May 23 13:30:40 2013] [error] [client 122.98.112.104] PHP Notice:  Undefined index:  contactgroup_members in /usr/local/nagiosxi/html/includes/components/ccm/classes/Form_class.php on line 585, referer: http://209.207.236.210/nagiosxi//includes/components/ccm/?cmd=view&type=contact
which: no gnome-session in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no gnome-session in (/sbin:/usr/sbin:/bin:/usr/bin)
[Thu May 23 13:58:02 2013] [error] [client 122.98.112.104] PHP Notice:  Undefined index:  contactgroup_members in /usr/local/nagiosxi/html/includes/components/ccm/classes/Form_class.php on line 585, referer: http://209.207.236.210/nagiosxi//includes/components/ccm/?cmd=view&type=contact
[Thu May 23 13:58:10 2013] [error] [client 122.98.112.104] PHP Notice:  Undefined index:  contactgroup_members in /usr/local/nagiosxi/html/includes/components/ccm/classes/Form_class.php on line 585, referer: http://209.207.236.210/nagiosxi//includes/components/ccm/index.php?cmd=view&type=contact
[Thu May 23 13:58:18 2013] [error] [client 122.98.112.104] PHP Notice:  Undefined index:  contactgroup_members in /usr/local/nagiosxi/html/includes/components/ccm/classes/Form_class.php on line 585, referer: http://209.207.236.210/nagiosxi//includes/components/ccm/index.php?cmd=view&type=contact

tail /var/log/messages

Code: Select all

 tail /var/log/messages
May 24 01:01:13 lfvses19030 nagios: SERVICE ALERT: NEODEVWS1-MySQL;MySQL Table Cache Hit Rate;OK;HARD;5;OK - table cache hitrate 0.11%, 70.31% filled
May 24 01:01:13 lfvses19030 nagios: SERVICE NOTIFICATION: nagiosadmin;NEODEVWS1-MySQL;MySQL Table Cache Hit Rate;OK;xi_service_notification_handler;OK - table cache hitrate 0.11%, 70.31% filled
May 24 01:01:13 lfvses19030 nagios: SERVICE NOTIFICATION: Service Now;NEODEVWS1-MySQL;MySQL Table Cache Hit Rate;OK;xi_service_notification_handler;OK - table cache hitrate 0.11%, 70.31% filled
May 24 01:01:14 lfvses19030 nagios: SERVICE NOTIFICATION: test;NEODEVWS1-MySQL;MySQL Table Cache Hit Rate;OK;xi_service_notification_handler;OK - table cache hitrate 0.11%, 70.31% filled
May 24 01:02:13 lfvses19030 nagios: Warning: Return code of 139 for check of service 'Drive E: Disk Usage' on host 'NEODSTGNET01' was out of bounds.
May 24 01:03:23 lfvses19030 nagios: Warning: Return code of 139 for check of service 'Drive E: Disk Usage' on host 'NEODSTGNET02' was out of bounds.
May 24 01:03:23 lfvses19030 nagios: SERVICE ALERT: NEOTSTGWSD02-MySQL;MySQL Table Cache Hit Rate;OK;HARD;5;OK - table cache hitrate 0.01%, 53.12% filled
May 24 01:03:23 lfvses19030 nagios: SERVICE NOTIFICATION: nagiosadmin;NEOTSTGWSD02-MySQL;MySQL Table Cache Hit Rate;OK;xi_service_notification_handler;OK - table cache hitrate 0.01%, 53.12% filled
May 24 01:03:23 lfvses19030 nagios: SERVICE NOTIFICATION: Service Now;NEOTSTGWSD02-MySQL;MySQL Table Cache Hit Rate;OK;xi_service_notification_handler;OK - table cache hitrate 0.01%, 53.12% filled
May 24 01:03:24 lfvses19030 nagios: SERVICE NOTIFICATION: test;NEOTSTGWSD02-MySQL;MySQL Table Cache Hit Rate;OK;xi_service_notification_handler;OK - table cache hitrate 0.01%, 53.12% filled
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Notifications Page takes a long time to open

Post by MSPk »

I have managed to check it on a mozilla firefox 3 browser and even there it is the same.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Notifications Page takes a long time to open

Post by slansing »

Please run the following and share the output with us:

Code: Select all

service nagios stop

killall -9 nagios

service ndo2db stop

service httpd stop

service httpd start

service ndo2db start

service nagios start
It also looks like you are having issues with npcd hitting your load threshold which we can fix after we figure out this current problem. Can you share the specs of this server with us? Such as Memory, CPU, HDD, etc.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Notifications Page takes a long time to open

Post by MSPk »

This is the output I get.

Code: Select all

service nagios stop
Stopping nagios: done.
[root@localhost ~]# killall -9 nagios
nagios: no process killed
[root@localhost ~]# service ndo2db stop
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for reading: No such file or directory
done.
[root@localhost~]# service httpd stop
Stopping httpd:                                            [  OK  ]
You have mail in /var/spool/mail/root
[root@localhost ~]# service httpd start
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 209.207.236.210 for ServerName
                                                           [  OK  ]
[root@localhost ~]# service ndo2db start
Starting ndo2db: done.
[root@NEOTPRDNGOS01 ~]# service nagios start
Starting nagios: done.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Notifications Page takes a long time to open

Post by MSPk »

Server Configuration:

Red Hat Enterprise Linux 5 -Virtual Server
Processor Qty: 2,
Processor Speed: 2.66 GHz,
Total Memory: 8GB,
HD Capacity: 128GB, HD Config: "/"46 GB + "/apps"64GB
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Notifications Page takes a long time to open

Post by MSPk »

does the above output suggest any issue with the server/notification view?
Locked