System status Issue part 2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

System status Issue part 2

Post by rdhall01 »

I had a topic titled System status Issue http://support.nagios.com/forum/viewtop ... 16&t=11874 which is locked, but I am still having a smilar issue. If I search for a specific host it finds it ok, but at the top of the page Host Status Summary and Service Status Summary are just spinning and never stop. Also when I add more hosts / services when I apply changes, it takes a long long time for the changes to apply,
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: System status Issue part 2

Post by abrist »

Alright. Sorry about the lock, it looked like we had a winner. :/
Lets check the apache error log once again. Run the following tail, and while it is running, try to browse to one of the broken pages. Then kill the tail and post the output:

Code: Select all

tail -f /var/log/httpd/error_log
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.
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: System status Issue part 2

Post by rdhall01 »

I thought we did have a winner, but may have been wishful thinking

output
[Mon Sep 16 11:02:46 2013] [error] [client 71.92.36.213] File does not exist: /var/www/html/favicon.ico
[Mon Sep 16 11:02:52 2013] [error] [client 71.92.36.213] File does not exist: /var/www/html/favicon.ico


only errors I see
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: System status Issue part 2

Post by abrist »

What browser are you using? We have had some jquery issues with certain versions of IE. If you are using IE, have you tried compatibility mode?
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.
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: System status Issue part 2

Post by rdhall01 »

Using chrome also tried firefox

Version 29.0.1547.66 m
Google Chrome is up to date.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: System status Issue part 2

Post by lmiltchev »

Run the following commands:

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt
Then also run the following command to begin capturing log output:

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt
Attempt to Apply Configuration from the web interface. After the browser has returned some output to the screen, press Ctrl+C to stop the log tail, and post the cmd.txt file and the reconfig.txt that was generated by the above instructions (wrapped in code tags).
Be sure to check out our Knowledgebase for helpful articles and solutions!
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: System status Issue part 2

Post by rdhall01 »

here are the 2 files
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: System status Issue part 2

Post by lmiltchev »

Can you run the following commands, and post the output?

Code: Select all

ps -ef | grep cmdsubsys
service crond status
ll -d /usr/local/nagios/var/rw/
ll /usr/local/nagios/var/rw/
chage -l nagios
Be sure to check out our Knowledgebase for helpful articles and solutions!
rdhall01
Posts: 87
Joined: Wed Nov 09, 2011 9:53 am

Re: System status Issue part 2

Post by rdhall01 »

command output

# ps -ef | grep cmdsubsys
nagios 23875 23874 0 15:45 ? 00:00:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios 23881 23875 0 15:45 ? 00:00:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
root 25172 19672 0 15:45 pts/1 00:00:00 grep cmdsubsys


service crond status
crond (pid 22290) is running...

ll -d /usr/local/nagios/var/rw/
drwxrwsr-x 2 nagios nagcmd 4096 Sep 26 15:36 /usr/local/nagios/var/rw/

ll /usr/local/nagios/var/rw/
total 0
prw-rw---- 1 nagios nagcmd 0 Sep 26 15:36 nagios.cmd

chage -l nagios
Last password change : Mar 12, 2012
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: System status Issue part 2

Post by scottwilkerson »

the following also please

Code: Select all

cat /etc/group|grep nag
Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked