Page 3 of 5
Re: Nagiosxi does not show availability report
Posted: Tue Jan 19, 2016 4:34 pm
by hsmith
Can I please see a screenshot of the error when you try to run the report?
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 9:06 am
by jonathan.cruz
Following
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 10:08 am
by hsmith
What's the output of a 'service nagios status' command on the XI server?
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 12:45 pm
by jonathan.cruz
Running
# service nagios status
nagios (pid 15356) is running...
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 12:52 pm
by hsmith
Let's follow these steps:
Code: Select all
Navigate to Configure > CCM > Tools > Write Config Files
Click on 'Delete' (Don't worry, this is fine.)\
Click on 'Write'
Click on 'Verify'
Any errors?
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 1:42 pm
by jonathan.cruz
No Errors
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 1:58 pm
by rkennedy
Can you run the following commands to check the permissions on a few folders?
Code: Select all
ls -l /usr/local/nagios/var/spool/checkresults
ls -l /usr/local/nagios/var/spool
ls -l /usr/local/nagios/var/share
ls -l /usr/local/nagios/var
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 2:04 pm
by jonathan.cruz
root@MY SERVER ~]# ls -l /usr/local/nagios/var/spool
total 3160
drwxrwsr-x 2 nagios nagcmd 4096 Jan 20 16:56 checkresults
drwxr-xr-x 2 nagios nagios 2457600 Jan 20 17:01 perfdata
drwxr-xr-x 2 nagios nagios 765952 Jan 20 17:01 xidpe
[root@MY SERVER~]# ls -l /usr/local/nagios/var/spool/checkresults
total 0
[nagios@MY SERVER ~]$ ls -l /usr/local/nagios/var/share
ls: cannot access /usr/local/nagios/var/share: No such file or directory
]$ ls -l /usr/local/nagios/var
total 59660
drwxrwxr-x 2 nagios nagios 4096 Jan 19 23:59 archives
-rw-r--r-- 1 nagios nagios 1138 Jan 20 17:03 host-perfdata
-rw-r--r-- 1 nagios nagios 34 Jan 20 16:45 nagios.configtest
-rw-r--r-- 1 nagios nagios 6 Jan 20 16:44 nagios.lock
-rw-r--r-- 1 nagios nagios 6721783 Jan 20 17:03 nagios.log
-rw-rw-r-- 1 nagios nagios 13894 Sep 18 11:55 nagios.tmp9c7g1b
-rw-r--r-- 1 nagios nagios 5 Jan 13 14:36 ndo2db.lock
-rw-r--r-- 1 nagios nagios 0 Jan 20 16:56 ndomod.tmp
srwxr-xr-x 1 nagios nagios 0 Jan 13 14:36 ndo.sock
-rw-r--r-- 1 nagios nagios 4715196 Jan 20 16:57 npcd.log
-rw-r--r-- 1 nagios nagios 10485804 Oct 22 05:46 npcd.log.old
-rw-r--r-- 1 nagios nagios 5597425 Jan 20 16:56 objects.cache
-rw-r--r-- 1 nagios nagios 5598679 Jan 20 16:45 objects.precache
-rw-rw-r-- 1 nagios nagios 9777106 Jan 20 16:38 perfdata.log
-rw------- 1 nagios nagios 9057977 Jan 20 16:56 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Jan 20 16:56 rw
-rw-r--r-- 1 nagios nagios 36945 Jan 20 17:04 service-perfdata
drwxr-xr-x 5 nagios nagios 4096 Apr 23 2015 spool
drwxr-xr-x 2 nagios nagios 4096 Jan 20 17:03 stats
-rw-rw-r-- 1 nagios nagios 9001226 Jan 20 17:03 status.dat
Re: Nagiosxi does not show availability report
Posted: Wed Jan 20, 2016 2:42 pm
by rkennedy
These look fine, can you verify two more permissions?
Code: Select all
ls -l /usr/local/nagios/share
ls -l /usr/local/nagios
Re: Nagiosxi does not show availability report
Posted: Mon Jan 25, 2016 6:08 am
by jonathan.cruz
ls -l /usr/local/nagios/share
total 224
drwxr-xr-x 2 root root 4096 Apr 23 2015 ajaxterm
drwxrwxr-x 4 nagios nagios 4096 Oct 9 16:40 angularjs
drwxrwxr-x 3 nagios nagios 4096 Oct 9 16:39 bootstrap-3.3.0
-rw-rw-r-- 1 nagios nagios 576 Oct 9 16:40 config.inc.php
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:40 contexthelp
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:40 d3
drwxrwxr-x 3 nagios nagios 4096 Apr 23 2015 docs
-rw-rw-r-- 1 nagios nagios 879 Oct 9 16:40 graph-header.html
-rw-rw-r-- 1 nagios nagios 4136 Oct 9 16:40 histogram-form.html
-rw-rw-r-- 1 nagios nagios 5579 Oct 9 16:40 histogram-graph.html
-rw-rw-r-- 1 nagios nagios 2855 Oct 9 16:40 histogram.html
-rw-rw-r-- 1 nagios nagios 2372 Oct 9 16:40 histogram-links.html
drwxrwxr-x 3 nagios nagios 4096 Oct 9 16:40 images
drwxrwxr-x 3 nagios nagios 4096 Oct 9 16:40 includes
-rw-rw-r-- 1 nagios nagios 1653 Oct 9 16:40 index.php
-rw-rw-r-- 1 nagios nagios 1660 Oct 9 16:40 infobox.html
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:40 js
-rw-rw-r-- 1 nagios nagios 1177 Oct 9 16:40 jsonquery.html
drwxr-xr-x 4 root root 4096 Apr 23 2015 locale
-rw-rw-r-- 1 nagios nagios 8745 Oct 9 16:40 main.php
-rw-rw-r-- 1 nagios nagios 1967 Oct 9 16:40 map-directive.html
-rw-rw-r-- 1 nagios nagios 3824 Oct 9 16:40 map-form.html
-rw-rw-r-- 1 nagios nagios 2627 Oct 9 16:40 map.html
-rw-rw-r-- 1 nagios nagios 623 Oct 9 16:40 map-links.html
-rw-rw-r-- 1 nagios nagios 1723 Oct 9 16:40 map-popup.html
drwxrwxr-x 2 nagios nagios 4096 Apr 23 2015 media
drwxrwxr-x 543 nagios nagios 20480 Jan 18 17:19 perfdata
drwxr-xr-x 8 nagios nagios 4096 Apr 23 2015 pnp
-rw-rw-r-- 1 nagios nagios 26 Oct 9 16:40 robots.txt
-rw-rw-r-- 1 nagios nagios 657 Oct 9 16:40 rss-corebanner.php
-rw-rw-r-- 1 nagios nagios 1071 Oct 9 16:40 rss-corefeed.html
-rw-rw-r-- 1 nagios nagios 898 Oct 9 16:40 rss-corefeed.php
-rw-rw-r-- 1 nagios nagios 544 Oct 9 16:40 rss-newsfeed.html
-rw-rw-r-- 1 nagios nagios 1068 Oct 9 16:40 rss-newsfeed.php
-rw-rw-r-- 1 nagios nagios 6275 Oct 9 16:40 side.php
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:40 spin
drwxrwxr-x 2 nagios nagios 4096 Apr 23 2015 ssi
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:40 stylesheets
-rw-rw-r-- 1 nagios nagios 4243 Oct 9 16:40 trends-form.html
-rw-rw-r-- 1 nagios nagios 4256 Oct 9 16:40 trends-graph.html
-rw-rw-r-- 1 nagios nagios 852 Oct 9 16:40 trends-host-yaxis.html
-rw-rw-r-- 1 nagios nagios 2990 Oct 9 16:40 trends.html
-rw-rw-r-- 1 nagios nagios 3586 Oct 9 16:40 trends-links.html
-rw-rw-r-- 1 nagios nagios 1065 Oct 9 16:40 trends-service-yaxis.html
ls -l /usr/local/nagios
total 36
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:47 bin
drwsrwsr-x 7 apache nagios 4096 Dec 22 13:17 etc
drwxr-xr-x 2 root root 4096 Apr 23 2015 include
drwxrwsr-x 5 apache nagios 12288 Jan 19 14:29 libexec
drwxrwxr-x 2 nagios nagios 4096 Oct 9 16:40 sbin
drwxrwxr-x 18 nagios nagios 4096 Oct 9 16:40 share
drwxrwxr-x 6 nagios nagios 4096 Jan 25 09:08 var