Download sources for required Nagiosgraph modules

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Download sources for required Nagiosgraph modules

Post by neworderfac33 »

Good afternoon,

I'm attempting to install Nagiosgraph, but the ./install.pl --check-prereq command displays the following:

Code: Select all

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... ***FAIL***
  Time::HiRes...1.9721
checking optional PERL modules
  GD... ***FAIL***
  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!
It looks like I need the PERL GD and RRDs modules.
I need to find a reputable source from where these can be downloaded (preferably with installation instructions!), as our security policy doesn't allow anything to be automatically downloaded to our servers, without them scanning it first.

Can anyone help, please?

Thanks in advance

Pete
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Download sources for required Nagiosgraph modules

Post by dwhitfield »

What version of Nagios Core are you running? We've seen a lot of issues with the latest version with Nagiosgraph. People have had more success with https://docs.pnp4nagios.org/. To be 100% clear, neither Nagiosgraph nor pnp4nagios is our product.

This is not to say we can't try to get your Nagiosgraph working. Maybe your OS is different and thus there will be better package compatibility. I just don't want you to waste a lot of time here on something we don't actually support.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Download sources for required Nagiosgraph modules

Post by neworderfac33 »

Good afternoon - thanks for coming back to me.

I'm on 4.0.8.

My Security people are telling me that they can download the PERL GD from CPAN, but say that" RRDs should come with rrdtool".

is this the same plugin as is described here:

https://exchange.nagios.org/index.php?o ... rd=rrdtool ?

I appreciate that you don't provide support for NagiosGraph, I was more interested in where to find the tools to get it up and running and was under the impression that it was the go-to product for Nagios Graphing - are you recommending PNP4Nagios on the basis of functionality, or is it just that it's less likely to give me grief? :-)

Cheers

pete
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Download sources for required Nagiosgraph modules

Post by dwhitfield »

What OS are you running? I think I've tried to install nagiosgraph on Debian and CentOS. I should be able to figure out what exactly I installed for that.

FWIW, there are a fair amount of related packages. You should be able to download the deb or rpm, scan and then install on the server. I can give exact commands once I know the system.

Code: Select all

[root@centos7x64 nrpe-3.0.1]# yum search rrd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cs.uwp.edu
 * epel: mirror.steadfast.net
 * extras: mirror.trouble-free.net
 * updates: mirrors.umflint.edu
=============================== N/S matched: rrd ===============================
collectd-rrdcached.x86_64 : RRDCacheD plugin for collectd
collectd-rrdtool.x86_64 : RRDTool plugin for collectd
flow-tools-rrdtool.x86_64 : Scripts for flow-tools to build rrd graphs
php-pecl-rrd.x86_64 : PHP Bindings for rrdtool
pyrrd.noarch : A Pure Python Wrapper for RRDTool
rrdtool-devel.i686 : RRDtool libraries and header files
rrdtool-devel.x86_64 : RRDtool libraries and header files
rrdtool-doc.x86_64 : RRDtool documentation
rrdtool-lua.x86_64 : Lua RRDtool bindings
rrdtool-perl.x86_64 : Perl RRDtool bindings
rrdtool-php.x86_64 : PHP RRDtool bindings
rrdtool-python.x86_64 : Python RRDtool bindings
rrdtool-ruby.x86_64 : Ruby RRDtool bindings
rrdtool-tcl.x86_64 : Tcl RRDtool bindings
uwsgi-plugin-rrdtool.x86_64 : uWSGI - Plugin for RRDTool support
cacti.noarch : An rrd based graphing tool
collectd.x86_64 : Statistics collection daemon for filling RRD files
collectd-web.x86_64 : Contrib web interface to viewing rrd files
rrdtool.i686 : Round Robin Database Tool to store and display time-series data
rrdtool.x86_64 : Round Robin Database Tool to store and display time-series data
Last edited by dwhitfield on Fri Nov 18, 2016 10:55 am, edited 1 time in total.
Reason: question mark FTW
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Download sources for required Nagiosgraph modules

Post by neworderfac33 »

It's Red Hat Enterprise Linux Server release 6.6 (Santiago)
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Download sources for required Nagiosgraph modules

Post by avandemore »

peterooney wrote:I appreciate that you don't provide support for NagiosGraph, I was more interested in where to find the tools to get it up and running and was under the impression that it was the go-to product for Nagios Graphing
The go-to product for graphing in Nagios is Nagios XI. The vast amount of plugins on Nagios Exchange are 3rd party products. We try to help, but they are provided as-is.
Previous Nagios employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Download sources for required Nagiosgraph modules

Post by dwhitfield »

Assuming the rrdtool-perl is the one you want.

Code: Select all

yum -y install perl-GD php-gd rrdtool-perl rrdtool-php

Code: Select all

[root@DW-NagiosCore nagiosgraph-1.5.2]# ./install.pl
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***

Code: Select all

[root@DW-NagiosCore nagiosgraph-1.5.2]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.trouble-free.net
 * epel: mirror.steadfast.net
 * extras: mirror.cc.columbia.edu
 * updates: mirror.cs.uwp.edu
repo id                                                                     repo name                                                                                                          status
base                                                                        CentOS-6 - Base                                                                                                     6,696
epel                                                                        Extra Packages for Enterprise Linux 6 - x86_64                                                                     12,230
extras                                                                      CentOS-6 - Extras                                                                                                      62
updates                                                                     CentOS-6 - Updates                                                                                                    603
repolist: 19,591
Please let us know if you have trouble locating the package.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Download sources for required Nagiosgraph modules

Post by neworderfac33 »

Good morning, folks,

After much intervention from our InfoSec team to install half the known universe, with Perl and RRDs installed successfully, I'm now getting the following:

Code: Select all

[root@MyNagiosServer nagiosgraph-1.5.2]# ./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.56
  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
Is it going to be an issue that I'm getting a FAIL for Nagios::Config ?

regards

Pete
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Download sources for required Nagiosgraph modules

Post by dwhitfield »

That's probably a question for https://sourceforge.net/p/nagiosgraph/discussion/394748.

Please *do* let us know if you are unable to get a response there.
neworderfac33
Posts: 329
Joined: Fri Jul 24, 2015 11:04 am

Re: Download sources for required Nagiosgraph modules

Post by neworderfac33 »

Not to worry - I managed to get everything working this morning, so this thread can now be closed - thank you for all your assistance!
Pete
Locked