Page 2 of 3
Re: Host and Service Trends
Posted: Tue Mar 31, 2020 6:37 am
by amitgupta19
Please find attached.
Re: Host and Service Trends
Posted: Tue Mar 31, 2020 3:20 pm
by Box293
Can you please post a copy of /usr/local/nagios/etc/nagios.cfg
Re: Host and Service Trends
Posted: Wed Apr 01, 2020 3:45 am
by amitgupta19
PFA
Re: Host and Service Trends
Posted: Thu Apr 02, 2020 2:51 am
by amitgupta19
Dear Box any update on it?
Re: Host and Service Trends
Posted: Thu Apr 02, 2020 8:43 am
by tgriep
Those menus rely on the a few packages being installed and they may not of been installed.
Try installing these packages.
Then you will have to re-configure the nagios source, recompile and install it.
You should see the trends.cgi file here.
and the trends html files here
If so, then you should be able to access the web links.
Re: Host and Service Trends
Posted: Thu Apr 02, 2020 10:34 am
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 ???
Re: Host and Service Trends
Posted: Thu Apr 02, 2020 4:14 pm
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.
Re: Host and Service Trends
Posted: Fri Apr 03, 2020 4:28 am
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
Re: Host and Service Trends
Posted: Mon Apr 06, 2020 12:24 am
by amitgupta19
Hi Box,
Can you please check and confirm the steps?
Re: Host and Service Trends
Posted: Tue Apr 07, 2020 3:37 am
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