Nagios 4.1.0-rc1 "Trends Report"

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
nagtech2
Posts: 30
Joined: Tue Dec 17, 2013 2:09 pm

Nagios 4.1.0-rc1 "Trends Report"

Post 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.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Nagios 4.1.0-rc1 "Trends Report"

Post by cmerchant »

Is it possible for you to show us a screen shot. Thanks.
nagtech2
Posts: 30
Joined: Tue Dec 17, 2013 2:09 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post by nagtech2 »

Attached is what I get when I click on trends
Attachments
screen01.jpg
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagtech2
Posts: 30
Joined: Tue Dec 17, 2013 2:09 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post 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
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post by ssax »

Please post the output of the following command:

Code: Select all

ls -l /usr/local/nagios/sbin/
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post by ssax »

Also, did you restart apache?
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post 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/
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
nagtech2
Posts: 30
Joined: Tue Dec 17, 2013 2:09 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post 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
nagtech2
Posts: 30
Joined: Tue Dec 17, 2013 2:09 pm

Re: Nagios 4.1.0-rc1 "Trends Report"

Post 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
Attachments
screen02.jpg
Locked