nagiosgraph installation

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.
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

nagiosgraph installation

Post by harsha.s.aryan »

Hi i am using nagios Core 4.1.1 can any one tell me how to configure nagiosgraph in that.

Regards,
harsha
Regards,
Harsha
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: nagiosgraph installation

Post by bwallace »

On what OS/version is Core running on? (Red Hat 6.x, 7x, Ubuntu 12, 14..etc)
Be sure to check out the Knowledgebase for helpful articles and solutions!
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Re: nagiosgraph installation

Post by harsha.s.aryan »

is is Ubuntu 14.04
Regards,
Harsha
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Re: nagiosgraph installation

Post by harsha.s.aryan »

error

./install.pl --check-prereq
checking required PERL modules
Carp...1.29
CGI...3.63
Data::Dumper...2.145
Digest::MD5...2.52
File::Basename...2.84
File::Find...1.23
MIME::Base64...3.13
POSIX...1.32
RRDs...1.4007
Time::HiRes...1.9725
checking optional PERL modules
GD... ***FAIL***

Nagios::Config...36
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/apache2
found apache init script at /etc/init.d/apache2
Regards,
Harsha
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: nagiosgraph installation

Post by bwallace »

Looks like you need to run:
apt-get install librrds-perl libgd-gd2-perl

Pretty good doc here containing step by step instructions for Installing NagiosGraph on a Debian system....
http://www.linuxfunda.com/2013/04/02/st ... gios-core/


For the record, Nagiosgraph is not one of our products. I would recommend posting your question on their support forum at:
http://sourceforge.net/projects/nagiosgraph/support
They can probably help you better (resolve your issue faster), since it's their product.
Be sure to check out the Knowledgebase for helpful articles and solutions!
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Re: nagiosgraph installation

Post by harsha.s.aryan »

apt-get install librrds-perl libgd-gd2-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgd-gd2-perl is already the newest version.
librrds-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.
root@nagios-new:/home/harshas/nagiosgraph-1.5.2# ./install.pl --check-prereq
checking required PERL modules
Carp...1.29
CGI...3.64
Data::Dumper...2.145
Digest::MD5...2.52
File::Basename...2.84
File::Find...1.23
MIME::Base64...3.13
POSIX...1.32
RRDs...1.4007
Time::HiRes...1.9725
checking optional PERL modules
GD...2.46
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/apache2
found apache init script at /etc/init.d/apache2
Regards,
Harsha
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: nagiosgraph installation

Post by bwallace »

I'm copying the following from this thread, looks like it may apply to you.
https://support.nagios.com/forum/viewto ... =7&t=28276

You can try compiling it. Make sure you have Module::Build installed:
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


Check the installed version:
perl -MNagios::Config -le 'print $Nagios::Config::VERSION'

Check prerequisites before installing Nagiosgraph:

Code: Select all

cd /tmp/nagiosgraph-1.5.2
./install.pl --check-prereq
Be sure to check out the Knowledgebase for helpful articles and solutions!
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Re: nagiosgraph installation

Post by harsha.s.aryan »

Hi,

LINK:- http://www.linuxfunda.com/2013/04/02/st ... gios-core/

installation is completed as i followed the above link but i am getting below error in apache.

Forbidden

You don't have permission to access /nagiosgraph/ on this server.
Apache/2.4.7 (Ubuntu) Server at 192.168.10.61 Port 80
Regards,
Harsha
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: nagiosgraph installation

Post by bwallace »

Glad to hear installation is complete. Again, I must say Nagiosgraph is not one of our products. I would recommend posting your questions to their support forum at:
http://sourceforge.net/projects/nagiosgraph/support
-- they can probably assist faster since its their product :D --

But if you prefer to continue here, please post the permissions of:

Code: Select all

ls -ld /usr/local/nagiosgraph/cgi
ls -ld /usr/local/nagiosgraph
Be sure to check out the Knowledgebase for helpful articles and solutions!
harsha.s.aryan
Posts: 52
Joined: Fri Nov 13, 2015 9:05 am

Re: nagiosgraph installation

Post by harsha.s.aryan »

drwxr-xr-x 2 nagios nagios 4096 Apr 22 08:45 /usr/local/nagiosgraph/cgi
drwxr-xr-x 10 nagios nagios 4096 Apr 22 08:45 /usr/local/nagiosgraph

is there any default nagios graph which i can get it.

apart from nagiosgraph
Regards,
Harsha
Locked