Modified config default-server.conf for nagios.

This commit is contained in:
Peter Pfeiffer
2009-03-10 12:39:10 +01:00
committed by Michael Tremer
parent 0a40eac54e
commit 2b11cc8648
3 changed files with 9 additions and 7 deletions

View File

@@ -5,4 +5,4 @@
DocumentRoot /srv/web/ipfire/html DocumentRoot /srv/web/ipfire/html
#Include /etc/httpd/conf/conf.d/*.conf Include /etc/httpd/conf/conf.d/*.conf

View File

@@ -439,6 +439,6 @@ usr/share/nagios/stylesheets
#usr/share/nagios/stylesheets/summary.css #usr/share/nagios/stylesheets/summary.css
#usr/share/nagios/stylesheets/tac.css #usr/share/nagios/stylesheets/tac.css
#usr/share/nagios/stylesheets/trends.css #usr/share/nagios/stylesheets/trends.css
var/archives var/nagios/archives
var/rw var/nagios/rw
var/spool/checkresults var/nagios/spool/checkresults

View File

@@ -85,7 +85,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--sysconfdir=/etc/nagios \ --sysconfdir=/etc/nagios \
--datadir=/usr/share/nagios \ --datadir=/usr/share/nagios \
--sbindir=/usr/share/nagios/cgi-bin \ --sbindir=/usr/share/nagios/cgi-bin \
--localstatedir=/var \ --localstatedir=/var/nagios \
--libexecdir=/usr/lib/nagios \
--with-lockfile=/var/lock/nagios.lock \ --with-lockfile=/var/lock/nagios.lock \
--with-nagios-user=nobody \ --with-nagios-user=nobody \
--with-nagios-group=nobody \ --with-nagios-group=nobody \
@@ -96,8 +97,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--with-httpd-conf=/etc/httpd/conf/conf.d \ --with-httpd-conf=/etc/httpd/conf/conf.d \
--enable-nanosleep --enable-nanosleep
cd $(DIR_APP) && make all $(MAKETUNING) cd $(DIR_APP) && make all $(MAKETUNING)
cd $(DIR_APP) && make install install-init install-commandmode install-config cd $(DIR_APP) && make install install-init install-commandmode install-config install-webconf
cd $(DIR_SRC) && tar xfz $(DIR_DL)/nagios-plugins-1.4.13.tar.gz cd $(DIR_SRC) && tar xfz $(DIR_DL)/nagios-plugins-1.4.13.tar.gz
cd $(DIR_SRC)/nagios-plugins* && ./configure --prefix=/usr \ cd $(DIR_SRC)/nagios-plugins* && ./configure --prefix=/usr \
--libexecdir=/usr/lib/nagios \ --libexecdir=/usr/lib/nagios \
@@ -106,3 +107,4 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_SRC)/nagios-plugins* && make install cd $(DIR_SRC)/nagios-plugins* && make install
@rm -rf $(DIR_APP) @rm -rf $(DIR_APP)
@$(POSTBUILD) @$(POSTBUILD)