Page 5 of 5

Re: Nagiosxi does not show availability report

Posted: Tue Feb 02, 2016 3:46 pm
by tgriep
Login as root on the XI server, run the following to see if this helps.

Code: Select all

service nagios stop
killall -9 nagios
service nagios start
Wait a few minutes and if the report still has the error, run the following and post the output here.

Code: Select all

ps -ef
netstat -an
Thanks

Re: Nagiosxi does not show availability report

Posted: Wed Feb 03, 2016 10:57 am
by jonathan.cruz
Another point. When i try add any comment in a host or service the information don't was saved.

Re: Nagiosxi does not show availability report

Posted: Wed Feb 03, 2016 5:28 pm
by rkennedy
We try to address one issue per thread, can you open a new one for the notes isssue?

What is the output of these commands? -

Code: Select all

ps -ef
netstat -an

Re: Nagiosxi does not show availability report

Posted: Thu Feb 04, 2016 7:03 am
by jonathan.cruz
Of course I can open another forum. Below is the output of the processes and netstat

Re: Nagiosxi does not show availability report

Posted: Thu Feb 04, 2016 5:48 pm
by tgriep
The ps command's output was cut off, can you run the command like this and post the output?

Code: Select all

ps -ef --cols=300
Run this as well and post the output.

Code: Select all

ls -l /usr/local/nagios/var/rw/
Can you go to Reports, Legacy Reports and run that Availability report?

Re: Nagiosxi does not show availability report

Posted: Fri Feb 05, 2016 5:38 am
by jonathan.cruz
ls -l /usr/local/nagios/var/rw/
total 0
prw-rw---- 1 nagios nagcmd 0 Feb 4 18:10 nagios.cmd
srw-rw---- 1 nagios nagcmd 0 Feb 4 12:14 nagios.qh

ls -la /usr/local/nagios/etc/
total 252
drwsrwsr-x 7 apache nagios 4096 Jan 28 09:14 .
drwxr-xr-x 9 root root 4096 Apr 23 2015 ..
-rw-rw-r-- 1 apache nagios 0 Feb 2 18:23 cgi.cfg.tmp
-rw-rw-r-- 1 apache nagios 28907 Feb 4 12:14 commands.cfg
-rw-rw-r-- 1 apache nagios 1884 Feb 4 12:14 contactgroups.cfg
-rw-rw-r-- 1 apache nagios 13707 Feb 4 12:14 contacts.cfg
-rw-rw-r-- 1 apache nagios 1675 Feb 4 12:14 contacttemplates.cfg
-rw-rw-r-- 1 apache nagios 817 Feb 4 12:14 hostdependencies.cfg
-rw-rw-r-- 1 apache nagios 819 Feb 4 12:14 hostescalations.cfg
-rw-rw-r-- 1 apache nagios 837 Feb 4 12:14 hostextinfo.cfg
-rw-rw-r-- 1 apache nagios 9127 Feb 4 12:14 hostgroups.cfg
drwsrwsr-x 2 apache nagios 20480 Feb 3 14:10 hosts
-rw-rw-r-- 1 apache nagios 16141 Feb 4 12:14 hosttemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Feb 3 10:24 import
-rwxrwxr-x 1 apache nagios 5597 Dec 18 12:25 nagios.cfg
-rw-rw-r-- 1 apache nagios 2229 Apr 23 2015 ndo2db.cfg
-rw-rw-r-- 1 apache nagios 4827 Apr 23 2015 ndomod.cfg
-rw-rw-r-- 1 apache nagios 5345 Apr 23 2015 nsca.cfg
drwxrwsr-x 4 apache nagios 4096 Jan 28 09:14 pnp
-rw-rw-r-- 1 apache nagios 0 Sep 19 16:46 recurringdowntime.cfg
-rwxrwxr-x 1 apache nagios 210 Apr 23 2015 resource.cfg
-rw-rw-r-- 1 apache nagios 823 Feb 4 12:14 servicedependencies.cfg
-rw-rw-r-- 1 apache nagios 825 Feb 4 12:14 serviceescalations.cfg
-rw-rw-r-- 1 apache nagios 843 Feb 4 12:14 serviceextinfo.cfg
-rw-rw-r-- 1 apache nagios 3733 Feb 4 12:14 servicegroups.cfg
-rw-rw-r-- 1 apache nagios 2661 Oct 9 14:47 servicegroups.cfgbkp
drwsrwsr-x 2 apache nagios 20480 Feb 3 14:16 services
-rw-rw-r-- 1 apache nagios 24860 Feb 4 12:14 servicetemplates.cfg
drwsrwsr-x 2 apache nagios 4096 Jan 28 09:14 static
-rw-rw-r-- 1 apache nagios 16042 Feb 4 12:14 timeperiods.cfg


I can`t run any Legacy Reports . Follow the error

Re: Nagiosxi does not show availability report

Posted: Fri Feb 05, 2016 5:50 am
by jonathan.cruz
I have copy the CGI file from the sample and put the permission for my apache user and now the report its works.

Re: Nagiosxi does not show availability report

Posted: Fri Feb 05, 2016 12:14 pm
by hsmith
Glad to hear that worked for you. Are we good to close this thread?

Re: Nagiosxi does not show availability report

Posted: Wed Feb 10, 2016 6:54 am
by jonathan.cruz
Yes, Thank for help !!!

Re: Nagiosxi does not show availability report

Posted: Wed Feb 10, 2016 11:08 am
by bwallace
Glad we were able to help. We'll lock this thread now and feel free to open another should you require assistance with anything else.