Nagiosgraph FAIL
Nagiosgraph FAIL
Hi All:
Has anyone installed nagiosgraph on CentOS 6.5? I have nagios 4.0.7 installed, rrd is installed, but when I attempt to install nagiosgraph I get a message nagios::config **FAIL**, this is the only prereq that fails.
Does anyone know how I get past this problem?
Thank you
S
Has anyone installed nagiosgraph on CentOS 6.5? I have nagios 4.0.7 installed, rrd is installed, but when I attempt to install nagiosgraph I get a message nagios::config **FAIL**, this is the only prereq that fails.
Does anyone know how I get past this problem?
Thank you
S
Re: Nagiosgraph FAIL
The perl-Nagios-Config library is included in the perl-Nagios-Plugin package. Have you installed it?
Code: Select all
yum install perl-Nagios-Plugin
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Nagiosgraph FAIL
Hello,
I am also getting same error even after install suggested package.
[root@localhost nagiosgraph-1.5.1]# ./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.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9726
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL***
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
Thanks,
Imran Khan.
I am also getting same error even after install suggested package.
[root@localhost nagiosgraph-1.5.1]# ./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.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9726
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL***
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
Thanks,
Imran Khan.
-
- Posts: 196
- Joined: Mon May 27, 2013 3:16 pm
Re: Nagiosgraph FAIL
Hello,
Followed the below steps and fixed the issue.
1) perl -MCPAN -e shell
2) install Nagios::Config
[root@localhost nagiosgraph-1.5.1]# ./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.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9726
checking optional PERL modules
GD...2.44
Nagios::Config...36
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
Thanks,
Imran Khan.
Followed the below steps and fixed the issue.
1) perl -MCPAN -e shell
2) install Nagios::Config
[root@localhost nagiosgraph-1.5.1]# ./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.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9726
checking optional PERL modules
GD...2.44
Nagios::Config...36
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
Thanks,
Imran Khan.
Re: Nagiosgraph FAIL
OP: Have you resolved your issue?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Nagiosgraph FAIL
Hello there,
Got the same error, while doing the pre-check to install nagiosgraph ( ./install.pl --check-prereq )
/root/nagiosgraph/nagiosgraph-1.5.2 # ./install.pl --check-prereq
checking required PERL modules
Carp...1.3301
CGI...4.13
Data::Dumper...2.124
Digest::MD5...2.54
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.15
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL*** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
Even after installing all the pre-requisites I could find around the net:
yum install perl-rrdtool perl-GD
yum -y install perl-GD php-gd rrdtool-perl rrdtool-php rrdtool perl-CGI perl-Time-HiRes
yum install perl-Nagios-Plugin
Looking I got to this page: http://support.nagios.com/forum/viewtop ... =7&t=28276
But when followed their step to fix the error:
1) perl -MCPAN -e shell
2) install Nagios::Config
I got another error:
Checking prerequisites...
- ERROR: Test::Exception is not installed
- ERROR: List::Compare is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Creating new 'Build' script for 'Nagios-Object' version '0.21.20'
Could not read '/root/.cpan/build/Nagios-Object-0.21.20-BbpgLp/META.yml'. Falling back to other methods to determine prerequisites
CPAN: Module::Build loaded ok (v0.35)
---- Unsatisfied dependencies detected during ----
---- DUNCS/Nagios-Object-0.21.20.tar.gz ----
Test::Exception [build_requires]
List::Compare [build_requires]
Shall I follow them and prepend them to the queue of modules we are processing right now? [yes]
Here, I entered "yes" and then I got prompted for more dependencies down the road,
to wich I answered "yes" to all of them.
Finally got to:
Installing /usr/local/bin/statusdat_demo.pl
DUNCS/Nagios-Object-0.21.20.tar.gz
./Build install -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
cpan[2]> exit
Terminal does not support GetHistory.
Lockfile removed.
/root/nagiosgraph/nagiosgraph-1.5.2 # ./install.pl --check-prereq
checking required PERL modules
Carp...1.3301
CGI...4.13
Data::Dumper...2.124
Digest::MD5...2.54
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.15
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config...36 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
/root/nagiosgraph/nagiosgraph-1.5.2 #
So I'm good to continue installing nagiosgraph.
Hope it helps.
Got the same error, while doing the pre-check to install nagiosgraph ( ./install.pl --check-prereq )
/root/nagiosgraph/nagiosgraph-1.5.2 # ./install.pl --check-prereq
checking required PERL modules
Carp...1.3301
CGI...4.13
Data::Dumper...2.124
Digest::MD5...2.54
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.15
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL*** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
Even after installing all the pre-requisites I could find around the net:
yum install perl-rrdtool perl-GD
yum -y install perl-GD php-gd rrdtool-perl rrdtool-php rrdtool perl-CGI perl-Time-HiRes
yum install perl-Nagios-Plugin
Looking I got to this page: http://support.nagios.com/forum/viewtop ... =7&t=28276
But when followed their step to fix the error:
1) perl -MCPAN -e shell
2) install Nagios::Config
I got another error:
Checking prerequisites...
- ERROR: Test::Exception is not installed
- ERROR: List::Compare is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Creating new 'Build' script for 'Nagios-Object' version '0.21.20'
Could not read '/root/.cpan/build/Nagios-Object-0.21.20-BbpgLp/META.yml'. Falling back to other methods to determine prerequisites
CPAN: Module::Build loaded ok (v0.35)
---- Unsatisfied dependencies detected during ----
---- DUNCS/Nagios-Object-0.21.20.tar.gz ----
Test::Exception [build_requires]
List::Compare [build_requires]
Shall I follow them and prepend them to the queue of modules we are processing right now? [yes]
Here, I entered "yes" and then I got prompted for more dependencies down the road,
to wich I answered "yes" to all of them.
Finally got to:
Installing /usr/local/bin/statusdat_demo.pl
DUNCS/Nagios-Object-0.21.20.tar.gz
./Build install -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
cpan[2]> exit
Terminal does not support GetHistory.
Lockfile removed.
/root/nagiosgraph/nagiosgraph-1.5.2 # ./install.pl --check-prereq
checking required PERL modules
Carp...1.3301
CGI...4.13
Data::Dumper...2.124
Digest::MD5...2.54
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.15
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config...36 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking nagios installation
found nagios exectuable at /usr/sbin/nagios
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
/root/nagiosgraph/nagiosgraph-1.5.2 #
So I'm good to continue installing nagiosgraph.
Hope it helps.
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Nagiosgraph FAIL
Thank you for your efforts - glad you got it sorted!
Re: Nagiosgraph FAIL
Hi,
I am also getting same error even after:
1) yum -y install perl-CPAN
cpan Nagios::Config
2) perl -MCPAN -e shell
install Nagios::Config
checking required PERL modules
Carp...1.11
CGI...3.51
Data::Dumper...2.124
Digest::MD5...2.39
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL*** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking nagios installation
found nagios exectuable at /usr/local/nagios/bin/nagios
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
Please, help!!!
I am also getting same error even after:
1) yum -y install perl-CPAN
cpan Nagios::Config
2) perl -MCPAN -e shell
install Nagios::Config
checking required PERL modules
Carp...1.11
CGI...3.51
Data::Dumper...2.124
Digest::MD5...2.39
File::Basename...2.77
File::Find...1.14
MIME::Base64...3.08
POSIX...1.17
RRDs...1.3008
Time::HiRes...1.9721
checking optional PERL modules
GD...2.44
Nagios::Config... ***FAIL*** <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking nagios installation
found nagios exectuable at /usr/local/nagios/bin/nagios
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
Please, help!!!
Re: Nagiosgraph FAIL
You can try compiling it. Make sure you have Module::Build installed:
Check the installed version:
Check prerequisites before installing Nagiosgraph:
Hope this helps.
Code: Select all
perl -MCPAN -e 'install Module::Build'
Code: Select all
cd /tmp
wget http://search.cpan.org/CPAN/authors/id/D/DU/DUNCS/Nagios-Object-0.21.20.tar.gz
tar zxvf Nagios-Object-0.21.20.tar.gz
cd Nagios-Object-0.21.20
perl Build.PL
./Build
./Build test
./Build install
Code: Select all
perl -MNagios::Config -le 'print $Nagios::Config::VERSION'
Code: Select all
cd /tmp/nagiosgraph-1.5.2
./install.pl --check-prereq
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagiosgraph FAIL
Hi lmiltchev,
it works, thank you very much for your help
Best Regards!
it works, thank you very much for your help
Best Regards!