Hostgroup summary Layout error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Hostgroup summary Layout error

Post by sarfarosh »

Hello,
Since i have upgraded to Nagios XI 2012R1.8 have been facing loads of issue, if we solve 1 issue Other is ready to popup, now am facing issue While checking HOSTGROUP summary it show Nagios Core like Interface. & mine HTTPD error Log says

Code: Select all

[Wed May 15 15:40:27 2013] [error] [client 49.248.31.220] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary
[Wed May 15 15:40:42 2013] [error] [client 49.248.31.220] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=overview
[Wed May 15 15:40:50 2013] [error] [client 49.248.31.220] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary
[Wed May 15 15:40:53 2013] [error] [client 49.248.31.220] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=grid
[Wed May 15 15:40:57 2013] [error] [client 49.248.31.220] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?servicegroup=all&style=summary
 
Other thing is is can you help me with Distributing Monitoring in Nagios Xi Configuration Notes,
Config:-
Vmware with 4 Core CPU, 4 Gb ram & 80 Gb Hdd,

We are monitoring around 150 Switches for Bandwidth/port & Port Uptime status.
Have done all the Fine tuning mentioned in
http://assets.nagios.com/downloads/nagi ... rmance.pdf
Create Ramdisk,
Offloaded Mysql Database to another server
installed Mod_gearman referring http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
But this didn't helped much, mine CPU utilization is very much high Load average it shows as 55.98 81.41 49.97, & server becomes totally inaccessible even through SSH

Can you please help me with this as well on how can i get server utilization down by distributing the Server load on another server ?
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Hostgroup summary Layout error

Post by abrist »

1. What version of XI did you upgrade from?

2. Do you see any load issues with mysqld, or any other processes? (It looks like mrtg may be the primary load culprit.)

3. How many ports do each of your 150 switches have?

It also looks like you *may* have ram issues - swap is *full*. Can you get a process output sorted by ram usage? Lets see how much ram is used for disk caching:

Code: Select all

free -m 

z. A few of us at the office are curious - What top clone was used in your screenshot? Something using ncurses?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Hostgroup summary Layout error

Post by sarfarosh »

Hello Abrist,

1. I have upgraded from version 1.6 to 1.8

2. i have offloaded Mysql to another virtual server,Mysql resource utilization is ok, but on this nagios server after starting Nagios service, HTTPD seems to consuming most of the Swap space & memory, Mrtg & Nd02db are the highest CPU consumer.

3.There are mostly 24 port switches, But some even have 48 ports as well

4. free -m says

Code: Select all

[root@nagios155 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          3948       3355        593          0        177        612
-/+ buffers/cache:       2566       1382
Swap:         5951       4263       1688

5. while accessing
Hostgroup Summary
Hostgroup Overview
Hostgroup Grid
Servicegroup Summary
Servicegroup Overview
Servicegroup Grid
it gives me the error

Code: Select all

Error: Could not read host and service status information!
attaching screen shot of it & mine httpd log says

Code: Select all

[root@nagios155 ~]# tail -f /var/log/httpd/error_log
[Thu May 16 21:22:46 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary
[Thu May 16 21:29:10 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary
[Thu May 16 21:42:18 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary
[Thu May 16 21:50:46 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary
[Thu May 16 21:51:03 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=overview
[Thu May 16 21:51:07 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=grid
[Thu May 16 21:51:10 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?servicegroup=all&style=summary
[Thu May 16 21:51:14 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=grid
[Thu May 16 21:51:17 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=overview
[Thu May 16 21:51:21 2013] [error] [client 120.62.182.234] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/js/jquery, referer: http://123.176.37.155/nagiosxi/includes/components/nagioscore/ui/status.php?hostgroup=all&style=summary


z. Na thatś not ncurses but itś HTOP a quite clean type of TOP clone.
You do not have the required permissions to view the files attached to this post.
sarfarosh
Posts: 211
Joined: Fri Oct 05, 2012 3:56 am

Re: Hostgroup summary Layout error

Post by sarfarosh »

Guys any help on this would be of great help
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Hostgroup summary Layout error

Post by lmiltchev »

Is nagios running?

Code: Select all

service nagios status
If it's not running start it:

Code: Select all

service nagios start
What is the output of the following commands?

Code: Select all

tail /usr/local/nagios/var/nagios.log
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Hostgroup summary Layout error

Post by abrist »

Could you download the tarball again and re-run the upgrade while capturing the log?

Code: Select all

./upgrade 2>&1 > /tmp/upgrade.log
Post the log here in code wraps.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked