System slow after update:Nagios XI 2011R1.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
blazentadmin
Posts: 3
Joined: Mon Jun 20, 2011 7:32 am

System slow after update:Nagios XI 2011R1.4

Post by blazentadmin »

Have the following:

CentOS release 5.5
32-bit
1.7Mb Memory

Updraded system to Nagios XI 2011R1.4, system is almost unuasble, takes minutes to navigate around in the web interface. Have tried restarting services and restarting server with no improvement. This system ran fine before the upgrade.

I do see many of these entries in /var/log/httpd/error_log

[Tue Jun 21 08:59:01 2011] [error] [client 66.51.146.135] PHP Notice: Undefined index: avg_latency in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 117, referer: http://50.16.202.167/nagiosxi/admin/
[Tue Jun 21 08:59:01 2011] [error] [client 66.51.146.135] PHP Notice: Undefined index: min_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 118, referer: http://50.16.202.167/nagiosxi/admin/
[Tue Jun 21 08:59:01 2011] [error] [client 66.51.146.135] PHP Notice: Undefined index: max_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 119, referer: http://50.16.202.167/nagiosxi/admin/
[Tue Jun 21 08:59:01 2011] [error] [client 66.51.146.135] PHP Notice: Undefined index: avg_execution_time in /usr/local/nagiosxi/html/includes/utils-xmlsysstat.inc.php on line 120, referer: http://50.16.202.167/nagiosxi/admin/

Thanks,

Kurt Porta
Blazent, Inc.
blazentadmin
Posts: 3
Joined: Mon Jun 20, 2011 7:32 am

Re: System slow after update:Nagios XI 2011R1.4

Post by blazentadmin »

Additional information - log of stop/start


[root@ip-10-194-43-94 scripts]# /etc/init.d/nagios stop
Stopping nagios: ./etc/init.d/nagios: line 182: kill: (17573) - No such process done.
[root@ip-10-194-43-94 scripts]# /etc/init.d/nagiosxi stop
[root@ip-10-194-43-94 scripts]# /etc/init.d/ndo2db stop
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for reading: No such file or directory done.
[root@ip-10-194-43-94 scripts]# /etc/init.d/npcd stop
NPCD Stopped.



[root@ip-10-194-43-94 scripts]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@ip-10-194-43-94 scripts]# /etc/init.d/npcd start
NPCD started.
[root@ip-10-194-43-94 scripts]# /etc/init.d/ndo2db start
Starting ndo2db: done.
[root@ip-10-194-43-94 scripts]# /etc/init.d/nagiosxi start
[root@ip-10-194-43-94 scripts]# /etc/init.d/nagios start
Starting nagios: done.
blazentadmin
Posts: 3
Joined: Mon Jun 20, 2011 7:32 am

Re: System slow after update:Nagios XI 2011R1.4

Post by blazentadmin »

I found the duplicate definition errors:

Warning: Duplicate definition found for service 'SSL Certificate' on host 'UBS DEV' (config file '/usr/local/nagios/etc/services/SSL Certificate.cfg', starting on line 14)
Warning: Duplicate definition found for service 'DNS IP Match' on host 'UBS DEV' (config file '/usr/local/nagios/etc/services/DNS IP Match.cfg', starting on line 14)
Warning: Duplicate definition found for service 'check_apache' on host 'Zurich APP' (config file '/usr/local/nagios/etc/services/check_apache.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Check disk space on / partition' on host 'BHP APP' (config file '/usr/local/nagios/etc/services/Check Root Disk.cfg', starting on line 14)
Warning: Duplicate definition found for service 'tomcat_check' on host 'Zurich APP' (config file '/usr/local/nagios/etc/services/check_tomcat.cfg', starting on line 14)
Warning: Duplicate definition found for service 'check_mem' on host 'BHP APP' (config file '/usr/local/nagios/etc/services/check_mem.cfg', starting on line 14)
Warning: Duplicate definition found for service 'DNS Resolution' on host 'UBS DEV' (config file '/usr/local/nagios/etc/services/DNS Resolution.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Check disk space on sde2' on host 'UBS DEV' (config file '/usr/local/nagios/etc/services/Check sde2.cfg', starting on line 14)
Warning: Duplicate definition found for service 'check_oracle' on host 'Zurich DB' (config file '/usr/local/nagios/etc/services/check_oracle.cfg', starting on line 14)
Warning: Duplicate definition found for service 'Check disk space on sde1' on host 'UBS DEV' (config file '/usr/local/nagios/etc/services/Check sde1.cfg', starting on line 14)
Warning: Duplicate definition found for service 'check_mstr' on host 'Zurich APP' (config file '/usr/local/nagios/etc/services/check_mstr.cfg', starting on line 14)

I ended up reverting back to an image backup of the system, its back to running ok now.

Please close this issue
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: System slow after update:Nagios XI 2011R1.4

Post by tonyyarusso »

All right, glad you got it sorted out.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: System slow after update:Nagios XI 2011R1.4

Post by mguthrie »

Locked