Page 1 of 3

Notifications Page takes a long time to open

Posted: Thu May 23, 2013 10:41 am
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.

Re: Notifications Page takes a long time to open

Posted: Thu May 23, 2013 11:28 am
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.

Re: Notifications Page takes a long time to open

Posted: Thu May 23, 2013 11:31 am
by MSPk
here it is...

Profile
profile.zip

Re: Notifications Page takes a long time to open

Posted: Thu May 23, 2013 1:09 pm
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

Re: Notifications Page takes a long time to open

Posted: Fri May 24, 2013 12:05 am
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

Re: Notifications Page takes a long time to open

Posted: Fri May 24, 2013 5:42 am
by MSPk
I have managed to check it on a mozilla firefox 3 browser and even there it is the same.

Re: Notifications Page takes a long time to open

Posted: Fri May 24, 2013 2:35 pm
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.

Re: Notifications Page takes a long time to open

Posted: Sat May 25, 2013 12:09 pm
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.

Re: Notifications Page takes a long time to open

Posted: Mon May 27, 2013 4:45 am
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

Re: Notifications Page takes a long time to open

Posted: Tue May 28, 2013 11:27 am
by MSPk
does the above output suggest any issue with the server/notification view?