Hello,
I have an ubuntu 16.04.3 with nagios core 4.3.4 and I'm trying to set up nagiosgraph using the following tutorial
http://www.linuxfunda.com/2013/04/02/st ... gios-core/
this is the result of prerequisits
root@sdnagios01:~/nagiosgraph-1.4.4# ./install.pl --check-prereq
checking required PERL modules
Carp...1.36
CGI...4.26
Data::Dumper...2.158
File::Basename...2.85
File::Find...1.29
MIME::Base64...3.15
POSIX...1.53_01
RRDs...1.5001
Time::HiRes...1.9726
checking optional PERL modules
GD...2.53
checking nagios installation
found nagios at /usr/local/nagios/bin/nagios
checking web server installation
found apache at /usr/sbin/apache2
root@sdnagios01:~/nagiosgraph-1.4.4#
I setup /usr/local/nagiosgraph/etc/nagiosgraph-apache.conf with the following:
# enable nagiosgraph CGI scripts
ScriptAlias /nagiosgraph/cgi-bin "/usr/local/nagiosgraph/cgi"
<Directory "/usr/local/nagiosgraph/cgi">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# enable nagiosgraph CSS and JavaScript
Alias /nagiosgraph "/usr/local/nagiosgraph/share"
<Directory "/usr/local/nagiosgraph/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<>
I also included the following line to /etc/apache2/apache2.conf
Include /usr/local/nagiosgraph/etc/nagiosgraph-apache.conf
But I'm getting
Forbidden
You don't have permission to access /nagiosgraph/cgi-bin/show.cgi on this server.
user nagios are owner from /usr/local/nagiosgraph folder and subfolders with
chown +r nagios /usr/local/nagiosgraph
root@sdnagios01:~/nagiosgraph-1.4.4# ls -lart /usr/local/nagiosgraph total 40
drwxr-xr-x 12 root root 4096 Jun 22 09:01 ..
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:01 share
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:01 cgi
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:01 bin
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:01 doc
drwxr-xr-x 3 nagios nagcmd 4096 Jun 22 09:01 var
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:01 util
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:01 examples
drwxr-xr-x 10 nagios nagcmd 4096 Jun 22 09:01 .
drwxr-xr-x 2 nagios nagcmd 4096 Jun 22 09:52 etc
Any idea, what I'm doing wrong?
Thanks
Best regards
Can't get nagiosgraph working
Re: Can't get nagiosgraph working
We neither wrote nor do we maintain Nagiosgraph, so this might be better asked on their forum: https://sourceforge.net/p/nagiosgraph/discussion/394748
Former Nagios employee