[91784] trunk/dports/net/nagios/Portfile
snc at macports.org
snc at macports.org
Tue Apr 10 07:52:35 PDT 2012
Revision: 91784
https://trac.macports.org/changeset/91784
Author: snc at macports.org
Date: 2012-04-10 07:52:35 -0700 (Tue, 10 Apr 2012)
Log Message:
-----------
nagios: fix notes
Modified Paths:
--------------
trunk/dports/net/nagios/Portfile
Modified: trunk/dports/net/nagios/Portfile
===================================================================
--- trunk/dports/net/nagios/Portfile 2012-04-10 14:50:05 UTC (rev 91783)
+++ trunk/dports/net/nagios/Portfile 2012-04-10 14:52:35 UTC (rev 91784)
@@ -94,22 +94,22 @@
}
-notes \
- " ************************************************************
- The basic steps to complete the installation are below. But Nagios is
- a complex program so you should read the documentation online at
- http://www.nagios.org or locally at ${prefix}/share/nagios/docs/index.html
- to fully understand Nagios.
- ************************************************************
+notes "
+************************************************************
+The basic steps to complete the installation are below. But Nagios is\
+a complex program so you should read the documentation online at\
+http://www.nagios.org or locally at ${prefix}/share/nagios/docs/index.html\
+to fully understand Nagios.
+************************************************************
-IMPORTANT: A user and group called 'nagios' has been created and you must run
+IMPORTANT: A user and group called 'nagios' has been created and you must run\
nagios as that user.
1) Setup Apache's httpd.conf file for Nagios (restart Apache when done)
- Insert the \"Nagios stuff\" text block somewhere *above* your Apache cgi-bin
+ Insert the \"Nagios stuff\" text block somewhere *above* your Apache cgi-bin\
ScriptAlias statement:
ScriptAlias /cgi-bin/ \"/Library/WebServer/CGI-Executables/\"
@@ -155,7 +155,7 @@
for i in *cfg-sample; do mv \$i `echo \$i | sed -e s/cfg-sample/cfg/`; done;
exit
-c) Configure the default commands.cfg file to your requirements. Then test
+c) Configure the default commands.cfg file to your requirements. Then test\
the Nagios configuration with this command until you get no errors:
sudo nagios -v ${prefix}/etc/nagios/nagios.cfg
@@ -173,13 +173,13 @@
authorized_for_all_host_commands= nagiosadmin
-4) Create a 'nagiosadmin' Apache user/password to correspond with the Nagios Apache
+4) Create a 'nagiosadmin' Apache user/password to correspond with the Nagios Apache\
user created above
htpasswd -c ${prefix}/etc/nagios/htpasswd.users nagiosadmin
- Create other users as desired, omit '-c' since it creates the password file. Make
- additional users login names match Nagios contact names to restrict web viewing to your
+ Create other users as desired, omit '-c' since it creates the password file. Make\
+ additional users login names match Nagios contact names to restrict web viewing to your\
host's by contact.
@@ -205,4 +205,5 @@
Lock file: ${prefix}/var/nagios/nagios.lock
Init file: ${prefix}/var/nagios/nagios.init
HTML URL: http://localhost/nagios/
- CGI URL: http://localhost/nagios/cgi-bin/"
+ CGI URL: http://localhost/nagios/cgi-bin/
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120410/0477347e/attachment.html>
More information about the macports-changes
mailing list