I've followed the KB Article "nagios-xi-using-grafana-with-existing-performance-data-805" .
I can install the Grafana Server OK and can connect to the console on port 3000.
I run into problems installing the PNP components. They all seem to install OK. I can't however get past the "Grant localhost permission to PNP Nagios" part. After I modify the pnp4nagios.conf file as per the article, I keep getting the following message when I run the curl http://localhost/pnp4nagios command :
Code: Select all
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /pnp4nagios
on this server.</p>
</body></html>
Contents of the /etc/httpd/conf.d/pnp4nagios.conf file :
Code: Select all
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
Alias /pnp4nagios "/usr/local/pnp4nagios/share"
<Directory "/usr/local/pnp4nagios/share">
AllowOverride None
Order allow,deny
#Allow from all
Require ip 127.0.0.1 ::1
#
# Use the same value as defined in nagios.conf
#
AuthName "Nagios Access"
# AuthType Basic
# AuthUserFile /usr/local/nagios/etc/htpasswd.users
# Require valid-user
<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
Options symLinksIfOwnerMatch
# Installation directory
RewriteBase /pnp4nagios/
# Protect application and system files from being viewed
RewriteRule "^(?:application|modules|system)/" - [F]
# Allow any files or directories that exist to be displayed directly
RewriteCond "%{REQUEST_FILENAME}" !-f
RewriteCond "%{REQUEST_FILENAME}" !-d
# Rewrite all other URLs to index.php/URL
RewriteRule "^.*$" "index.php/$0" [PT]
</IfModule>
</Directory>Also another issue is that the KB article shows different Grafana Screens for configuration compared to the version I have installed - (Grafana v5.4.2)
Specifically when I try to create a PNP datasource, the KB article shows to select "Access = proxy" In my Grafana version, there are only 2 options I can select for access - " Server (default) & Browser"
Any ideas on how I can progress this installation?
thanks... Fred