Where did you install nagios from and can you share the output of the following commands.
Code:
ls /usr/local/nagios/share
ls /usr/share/nagios/html
rpm -ql nagios
yum info nagios
1.I was using some article from google, don't remember the link right now.
2.
ls /usr/local/nagios/share
angularjs d3 histogram-graph.html includes jsonquery.html map-form.html media ssi trends-host-yaxis.html
bootstrap-3.3.7 docs histogram.html index.php locale map-links.html robots.txt stylesheets trends.html
config.inc.php graph-header.html histogram-links.html infobox.html main.php map.php side.php trends-form.html trends-links.html
contexthelp histogram-form.html images js map-directive.html map-popup.html spin trends-graph.html trends-service-yaxis.html
3.
ls /usr/share/nagios/html
ls: cannot access /usr/share/nagios/html: No such file or directory
4.
ls /usr/share/nagios/html
ls: cannot access /usr/share/nagios/html: No such file or directory
[root@nagios aadmin_arybev]# rpm -ql nagios
package nagios is not installed
5.
yum info nagios
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* epel: mirrors.kernel.org
* extras: mirror.fileplanet.com
* updates: sjc.edge.kernel.org
Available Packages
Name : nagios
Arch : x86_64
Version : 4.4.6
Release : 4.el7
Size : 1.8 M
Repo : epel/x86_64
Summary : Host/service/network monitoring program
URL :
https://www.nagios.org/projects/nagios-core/
License : GPLv2
Description : Nagios is a program that will monitor hosts and services on your
: network. It has the ability to send email or page alerts when a
: problem arises and when a problem is resolved. Nagios is written
: in C and is designed to run under Linux (and some other *NIX
: variants) as a background process, intermittently running checks
: on various services that you specify.
:
: The actual service checks are performed by separate "plugin" programs
: which return the status of the checks to Nagios. The plugins are
: available at
https://github.com/nagios-plugins/nagios-plugins
:
: This package provides the core program, web interface, and documentation
: files for Nagios. Development files are built as a separate package.