Host and Service Trends

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.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

Please find attached.
Attachments
messages_log.txt
(102.14 KiB) Downloaded 264 times
httpd_log.txt
(731 Bytes) Downloaded 258 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Host and Service Trends

Post by Box293 »

Can you please post a copy of /usr/local/nagios/etc/nagios.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

PFA
Attachments
nagios.cfg
Nagios.cfg file
(46.56 KiB) Downloaded 274 times
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

Dear Box any update on it?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Host and Service Trends

Post by tgriep »

Those menus rely on the a few packages being installed and they may not of been installed.

Try installing these packages.

Code: Select all

gd
gd-devel
png-devel
jpeg-devel
Then you will have to re-configure the nagios source, recompile and install it.

You should see the trends.cgi file here.

Code: Select all

/usr/local/nagios/sbin/trends.cgi
and the trends html files here

Code: Select all

/usr/local/nagios/share
If so, then you should be able to access the web links.
Be sure to check out our Knowledgebase for helpful articles and solutions!
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

Thanks for the reply:

trends.cgi file is missing.

Trends html files are available at the Location
/usr/local/nagios/share

Following files are present:
trends-form.html
trends-graph.html
trends-host-yaxis.html
trends.html
trends-links.html
trends-service-yaxis.html

=============================================================
Also i tried to install the Packages mentioned by you following is the update:

gd --- It is Already installed.
====
Package gd-2.0.35-26.el7.x86_64 already installed and latest version
Nothing to do

gd-devel ---It was Missing and Installed it.

png-devel -- When i try to install, it is giving the following error:
=============
No package png-devel available.
Error: Nothing to do

Also this Package is not listed in the Prerequisite of Nagios.


jpeg-devel
=============
Loaded plugins: ulninfo
No package jpeg-devel available.
Error: Nothing to do

Also this Package is not listed in the Prerequisite of Nagios.


Kindly how to install the following 2 packages: png-devel and jpeg-devel ???
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Host and Service Trends

Post by Box293 »

It's possible that the gd-devel package that you just installed included the jpeg libraries. Can you try the recompile steps and seen if your problem is now installed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

Thanks Box for the update.

Just want to be sure, kindly confirm that i need to do only the following steps as suggested by you and tgriep.

Downloading the Source
==========================
cd /tmp
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/na ... 4.5.tar.gz
tar xzf nagioscore.tar.gz

Compile
===============
cd /tmp/nagioscore-nagios-4.4.5/
./configure
make all

Install Binaries
==================
make install
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

Hi Box,

Can you please check and confirm the steps?
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Host and Service Trends

Post by amitgupta19 »

Can anyone confirm that i have to use the below steps only?

Downloading the Source
==========================
cd /tmp
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/na ... 4.5.tar.gz
tar xzf nagioscore.tar.gz

Compile
===============
cd /tmp/nagioscore-nagios-4.4.5/
./configure
make all

Install Binaries
==================
make install
Locked