Page 1 of 2

Nagios 4.1.0-rc1 "Trends Report"

Posted: Mon Mar 30, 2015 10:41 am
by nagtech2
When I click on "Trends" for a host or "Alert histogram" I get a blank screen that has 3 small horizontal lines at very top slightly right of center. I had installed over a working 4.08 system.

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Mon Mar 30, 2015 3:30 pm
by cmerchant
Is it possible for you to show us a screen shot. Thanks.

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Mon Mar 30, 2015 5:09 pm
by nagtech2
Attached is what I get when I click on trends

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Tue Mar 31, 2015 2:55 pm
by lmiltchev
What kind of system/distro/architecture is nagios installed on? Run the following commands and show us the output:

Code: Select all

uname -a
cat /etc/*release
Also, try to go to "Trends". When you see the "blank" page, show us a tail of the apache error log.

In RHEL/CentOS:

Code: Select all

tail -50 /var/log/httpd/error_log
In Ubuntu/Debian

Code: Select all

tail -50 /var/log/apache2/error.log

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Wed Apr 01, 2015 9:10 am
by nagtech2
3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.2 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

The only issue in the http error log was a permission issue for a jpg file I added to a host which I just fixed. This is the last error message in the log, no entry created this morning when I access "Trend"

[Tue Mar 31 10:52:27.360543 2015] [core:error] [pid 3678] (13)Permission denied: [client XX.XX.XX.XX:53927] AH00132: file permissions deny server access: /usr/local/nagios/share/images/logos/vertical.jpg, referer: http://xx000xssql50x/nagios/cgi-bin/sta ... props=1024

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Wed Apr 01, 2015 3:21 pm
by ssax
Please post the output of the following command:

Code: Select all

ls -l /usr/local/nagios/sbin/

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Wed Apr 01, 2015 3:22 pm
by ssax
Also, did you restart apache?

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Wed Apr 01, 2015 3:31 pm
by jolson
In addition to what ssax has mentioned,

It looks like you're using a custom Nagios Core UI. Can you access the "Trends Report" from Nagios Core itself?

http://nagios.core.ip/nagios/

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Wed Apr 01, 2015 5:29 pm
by nagtech2
-rwxrwxr-x 1 nagios nagios 320576 Mar 27 06:50 archivejson.cgi
-rwxrwxr-x 1 nagios nagios 301880 Mar 27 06:50 avail.cgi
-rwxrwxr-x 1 nagios nagios 300296 Mar 27 06:50 cmd.cgi
-rwxrwxr-x 1 nagios nagios 273136 Mar 27 06:50 config.cgi
-rwxrwxr-x 1 nagios nagios 314136 Mar 27 06:50 extinfo.cgi
-rwxrwxr-x 1 nagios nagios 265128 Mar 27 06:50 histogram.cgi
-rwxrwxr-x 1 nagios nagios 244504 Mar 27 06:50 history.cgi
-rwxrwxr-x 1 nagios nagios 244496 Mar 27 06:50 notifications.cgi
-rwxrwxr-x 1 nagios nagios 318272 Mar 27 06:50 objectjson.cgi
-rwxrwxr-x 1 nagios nagios 236264 Mar 27 06:50 outages.cgi
-rwxrwxr-x 1 nagios nagios 240376 Mar 27 06:50 showlog.cgi
-rwxrwxr-x 1 nagios nagios 314160 Mar 27 06:50 status.cgi
-rwxrwxr-x 1 nagios nagios 316416 Mar 27 06:50 statusjson.cgi
-rwxrwxr-x 1 nagios nagios 261088 Mar 27 06:50 statusmap.cgi
-rwxrwxr-x 1 nagios nagios 256816 Mar 27 06:50 statuswml.cgi
-rwxrwxr-x 1 nagios nagios 240400 Mar 27 06:50 statuswrl.cgi
-rwxrwxr-x 1 nagios nagios 265024 Mar 27 06:50 summary.cgi
-rwxrwxr-x 1 nagios nagios 252736 Mar 27 06:50 tac.cgi
-rwxrwxr-x 1 nagios nagios 269224 Mar 27 06:50 trends.cgi

And that is the nagios core for 4.1.0-rc1. Yes apache was restarted.

Thanks

Re: Nagios 4.1.0-rc1 "Trends Report"

Posted: Wed Apr 01, 2015 5:38 pm
by nagtech2
jolson wrote:In addition to what ssax has mentioned,

It looks like you're using a custom Nagios Core UI. Can you access the "Trends Report" from Nagios Core itself?

http://nagios.core.ip/nagios/
This is the new core 4.1.0-rc1