Hello,
I am getting the below error during running ./install.pl --check-prereq command to check the pre requs for nagios graph.
below is the output of the command.
[root@server01 nagiosgraph-1.5.2]# ./install.pl --check-prereq
checking required PERL modules
Carp...1.3301
CGI...3.51
Data::Dumper...2.124
Digest::MD5...2.39
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.14
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL***
checking nagios installation
nagios not found in any of:
/usr/bin
/usr/sbin
/bin
/sbin
/usr/local/nagios3/bin
/usr/local/nagios2/bin
/usr/local/nagios/bin
/usr/local/icinga/bin
/opt/nagios3/bin
/opt/nagios2/bin
/opt/nagios/bin
/opt/icinga/bin
found nagios init script at /etc/init.d/nagios
checking web server installation
found apache executable at /usr/sbin/httpd
found apache init script at /etc/init.d/httpd
*** one or more problems were detected!
[root@server01 nagiosgraph-1.5.2]#
In my server nagios has been installed under /apps/nagios (external disk) as below.
[root@server01 nagiosgraph-1.5.2]# cd /apps/nagios
[root@server01 nagios]# ls -lrt
total 32
drwxrwxr-x. 2 nagios nagios 4096 Apr 12 21:10 sbin
drwxrwxr-x. 2 nagios nagios 4096 Apr 12 21:10 bin
drwxrwxr-x. 11 nagios nagios 4096 Apr 12 21:17 share
drwxr-xr-x. 2 nagios nagios 4096 Apr 12 21:17 include
drwxrwxr-x. 4 nagios nagios 4096 Sep 9 10:11 nagios_cloudstack
drwxrwxr-x. 3 nagios nagios 4096 Sep 9 11:33 etc
drwxrwxr-x. 3 nagios nagios 4096 Sep 9 11:44 libexec
drwxrwxr-x. 5 nagios nagios 4096 Sep 15 07:18 var
[root@server01 nagios]#
Please help me to resolve this issue.
Thanks in advance.
Regards,
Sachikanta