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.
System slow after update:Nagios XI 2011R1.4
-
- Posts: 3
- Joined: Mon Jun 20, 2011 7:32 am
-
- Posts: 3
- Joined: Mon Jun 20, 2011 7:32 am
Re: System slow after update:Nagios XI 2011R1.4
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.
[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.
-
- Posts: 3
- Joined: Mon Jun 20, 2011 7:32 am
Re: System slow after update:Nagios XI 2011R1.4
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
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
-
- 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
All right, glad you got it sorted out.
Re: System slow after update:Nagios XI 2011R1.4
See our global announcement:
http://support.nagios.com/forum/viewtop ... =16&t=2585
http://support.nagios.com/forum/viewtop ... =16&t=2585