Hi ports@,
README-main for nagios describes how to enable nagios-web. It shows that
you can link a provided httpd.conf snippet. This is a Apache httpd.conf
snippet, the diff below makes that clear.
I found some more README files where Apache is being referred to as
httpd, I can send diffs for those too if desired.
Thanks,
Caspar Schutijser
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/nagios/nagios/Makefile,v
retrieving revision 1.78
diff -u -p -r1.78 Makefile
--- Makefile 30 Dec 2015 10:01:26 -0000 1.78
+++ Makefile 26 Jun 2016 10:47:17 -0000
@@ -7,7 +7,7 @@ COMMENT-web= cgis and webpages for nagio
V= 4.0.8
REVISION-web= 2
-REVISION-main= 2
+REVISION-main= 3
DISTNAME= nagios-$V
PKGNAME-main= nagios-$V
PKGNAME-web= nagios-web-$V
Index: pkg/README-main
===================================================================
RCS file: /cvs/ports/net/nagios/nagios/pkg/README-main,v
retrieving revision 1.8
diff -u -p -r1.8 README-main
--- pkg/README-main 5 Oct 2015 12:58:44 -0000 1.8
+++ pkg/README-main 26 Jun 2016 10:47:17 -0000
@@ -31,7 +31,8 @@ To start nagios, reboot or start it manu
Web User-Interface
==================
-To enable nagios-web, link the provided httpd.conf snippet:
+If using Apache, you can enable nagios-web by linking the provided
+httpd.conf snippet:
# ln -s /var/www/conf/modules.sample/nagios.conf \
/var/www/conf/modules
@@ -44,7 +45,7 @@ authentication; you can create the passw
When done, restart the web server:
- # /etc/rc.d/httpd restart
+ # /etc/rc.d/apache2 restart
You should then be able to access the web interface at
http://localhost/nagios/