Page 1 of 2
nagiosgraph installation
Posted: Thu Apr 14, 2016 7:30 am
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
Re: nagiosgraph installation
Posted: Thu Apr 14, 2016 2:21 pm
by bwallace
On what OS/version is Core running on? (Red Hat 6.x, 7x, Ubuntu 12, 14..etc)
Re: nagiosgraph installation
Posted: Thu Apr 14, 2016 10:09 pm
by harsha.s.aryan
is is Ubuntu 14.04
Re: nagiosgraph installation
Posted: Fri Apr 15, 2016 2:57 am
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
Re: nagiosgraph installation
Posted: Fri Apr 15, 2016 9:55 am
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.
Re: nagiosgraph installation
Posted: Thu Apr 21, 2016 3:38 am
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
Re: nagiosgraph installation
Posted: Thu Apr 21, 2016 10:17 am
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
Re: nagiosgraph installation
Posted: Thu Apr 21, 2016 10:49 pm
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
Re: nagiosgraph installation
Posted: Fri Apr 22, 2016 1:38 pm
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

--
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
Re: nagiosgraph installation
Posted: Sat Apr 23, 2016 12:12 pm
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