Page 1 of 1
System status Issue part 2
Posted: Mon Sep 16, 2013 10:02 am
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,
Re: System status Issue part 2
Posted: Mon Sep 16, 2013 10:11 am
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:
Re: System status Issue part 2
Posted: Mon Sep 16, 2013 10:25 am
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
Re: System status Issue part 2
Posted: Mon Sep 16, 2013 11:08 am
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?
Re: System status Issue part 2
Posted: Mon Sep 16, 2013 1:34 pm
by rdhall01
Using chrome also tried firefox
Version 29.0.1547.66 m
Google Chrome is up to date.
Re: System status Issue part 2
Posted: Tue Sep 17, 2013 10:26 am
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).
Re: System status Issue part 2
Posted: Tue Sep 17, 2013 3:38 pm
by rdhall01
here are the 2 files
Re: System status Issue part 2
Posted: Wed Sep 18, 2013 9:31 am
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
Re: System status Issue part 2
Posted: Thu Sep 26, 2013 2:48 pm
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
Re: System status Issue part 2
Posted: Thu Sep 26, 2013 5:04 pm
by scottwilkerson
the following also please
Thanks