Page 3 of 3

Re: Performance Issue on Nagios XI server

Posted: Wed Oct 07, 2015 7:35 pm
by tthomas
Hi All,

We are still facing few issues on Nagios GUi.

We can see that service checks are working and alerts are going even everything is appearing in CCM.
But nothing is appearing GUi. Status showing 0 hosts/services
service_status.PNG
We tried restarting nagios, apache

Code: Select all

 1032  /etc/init.d/httpd stop
 1033  /etc/init.d/nagios stop
 
 1035  /etc/init.d/nagios start
 1036  /etc/init.d/httpd start

But nothing helped.

The only thing we could see is in messages log.

Code: Select all

Oct  8 02:28:09 ndo2db: Error: queue send error, retrying...
Oct  8 02:28:10 ndo2db: Message sent to queue
Could you please help here.

Re: Performance Issue on Nagios XI server

Posted: Wed Oct 07, 2015 7:44 pm
by BanditBBS
Try restarting ndo2db process as well.

Re: Performance Issue on Nagios XI server

Posted: Thu Oct 08, 2015 3:32 am
by tthomas
Hi,

We have tried starting "ndo2db" also. Still no luck.Als we see that "ndo2db" error is in log file for long time. Hence we are not suspecting this is causing "GUI" not coming up. (Correct me if I a mwrong).


Here is the brief summary:

GUI is working (partially). Home page, CCM, Admin Page is shwoing in correctly. But only when we do "Service Summary" "Service Overview" tab under Homepage, the Dashboard are not showing up. This issue is occuring since last night. However service checks are happenign in background and alerts are received. Only issue is Dashboard is not showing up.

We checking below:

1. No changes were made in http.conf file
2. Also no other files modified in last 2 days

Any sugestions?

Re: Performance Issue on Nagios XI server

Posted: Thu Oct 08, 2015 6:46 am
by tthomas
Hi,

Any help on this is much appretiated.

Regards,
Tino Thomas

Re: Performance Issue on Nagios XI server

Posted: Thu Oct 08, 2015 1:11 pm
by tthomas
Hi

Few things we noted here.

GUI showing everything properly for one normal user. It is not working for any other users including admin users.

If you login to the nagios core url instead of nagiosXI URL as any user, GUI is showing everything properly

http://Hostname/nagios (core) -----> showing everything properly for all the users

http://Hostname/nagiosxi (xi) ------> showing everything properly for only one normal user

The user, who is able to view everything, is having less privileges compared to the other admin users.

Regards
Tino

Re: Performance Issue on Nagios XI server

Posted: Thu Oct 08, 2015 4:55 pm
by tgriep
Can you run the following and post the output here to see if there are any errors in the mysqld.log file?

Code: Select all

tail -f /var/log/mysqld.log

Re: Performance Issue on Nagios XI server

Posted: Thu Oct 08, 2015 5:02 pm
by tthomas
I do not see any particular error in mysqld.log. We did shutdown mysql service few times as part of troubleshooting. Only logs for stop/start is there in mysqld.log

Code: Select all

151008 17:22:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
151008 17:28:30 mysqld_safe Starting mysqld daemon with databases from /u01/appl/mysql
151008 17:28:30 [Note] Plugin 'InnoDB' is disabled.
151008 17:28:30 [Note] Event Scheduler: Loaded 0 events
151008 17:28:30 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
151008 17:52:08 [Note] /usr/libexec/mysqld: Normal shutdown

151008 17:52:08 [Note] Event Scheduler: Purging the queue. 0 events
151008 17:52:10 [Note] /usr/libexec/mysqld: Shutdown complete

151008 17:52:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
151008 18:12:07 mysqld_safe Starting mysqld daemon with databases from /u01/appl/mysql
151008 18:12:07 [Note] Plugin 'InnoDB' is disabled.
151008 18:12:07 [Note] Event Scheduler: Loaded 0 events
151008 18:12:07 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution

Re: Performance Issue on Nagios XI server

Posted: Fri Oct 09, 2015 1:16 pm
by lmiltchev
Run the following commands and show us the output in code wraps:

Code: Select all

service nagios stop
killall nagios
service ndo2db stop
service ndo2db start
service nagios start
service nagios status
service ndo2db status
service mysqld status
tail -100 /var/log/messages | grep ndo

Re: Performance Issue on Nagios XI server

Posted: Fri Oct 09, 2015 1:18 pm
by tmcdonald
I'll be closing this thread since you have a ticket open with us in our ticketing system. We will continue providing support there.