nagiosgraph installation error
9,536
Solution 1
Install the package libnagios-object-perl
as well as package librrds-perl
.
This is assuming you are running Debian.
Solution 2
If you are using CentOS, just follow these steps:
Install CPAN if you haven't installed it yet.
yum -y install perl-CPAN
The install the module with cpan
cpan Nagios::Config
Press yes when asking to install dependencies..
That's it you got the perl module.
# ./install.pl --check-prereq
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...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
Related videos on Youtube
![ivcode](https://i.stack.imgur.com/NUSdw.jpg?s=256&g=1)
Author by
ivcode
Updated on September 18, 2022Comments
-
ivcode almost 2 years
I'm trying to install nagiosgraph where my nagios system works perfectly fine. Downloaded
nagiosgraph-1.5.0.tar.gz
, unpacked it and issued./install.pl --check-prereq
It gives mechecking required PERL modules Carp...1.04 CGI...3.15 Data::Dumper...2.121_08 Digest::MD5...2.36 File::Basename...2.74 File::Find...1.10 MIME::Base64...3.07 POSIX...1.09 RRDs... ***FAIL*** Time::HiRes...1.9717 checking optional PERL modules GD...2.30 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 *** one or more problems were detected!
I verified nagios configuration
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
and gave me no errors