mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/nagios: Updated for version 3.2.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
efbcbe15fe
commit
1093f54c02
4 changed files with 21 additions and 10 deletions
|
@ -119,3 +119,12 @@ with the nagios-plugins.
|
|||
To monitor Windows hosts, install NSClient++ on them.
|
||||
|
||||
Do check the http://wiki.nagios.org pages for some useful information.
|
||||
|
||||
3) Growing log files
|
||||
--------------------
|
||||
|
||||
If you are monitoring several items, your log files can grow considerably.
|
||||
Nagios keeps a history of all logs in /var/nagios/archives/.
|
||||
After a few months this can be quite a bit of information, so consider
|
||||
creating some kind of clean-up or compacting script (Left as an exercise to
|
||||
the reader :) )
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
# Slackware build script for nagios:
|
||||
# IT infrastructure monitoring system
|
||||
|
||||
# Written by Niels Horn - niels.horn@gmail.com
|
||||
# revision date 2010/07/10
|
||||
# Written by Niels Horn <niels.horn@gmail.com>
|
||||
# revision date 2010/09/04
|
||||
|
||||
PRGNAM=nagios
|
||||
VERSION=${VERSION:-3.2.1}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-3.2.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -78,8 +78,8 @@ CFLAGS="$SLKCFLAGS" \
|
|||
--sbindir=/usr/sbin/$PRGNAM \
|
||||
--datadir=$DOCROOT/$PRGNAM \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--libexecdir=/usr/libexec/nagios \
|
||||
--sysconfdir=/etc/nagios \
|
||||
--libexecdir=/usr/libexec/$PRGNAM \
|
||||
--sysconfdir=/etc/$PRGNAM \
|
||||
--localstatedir=/var/$PRGNAM \
|
||||
--mandir=/usr/man \
|
||||
--build=$ARCH-slackware-linux$ARCHQUADLET \
|
||||
|
@ -105,6 +105,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
# Change configuration files to .new
|
||||
find $PKG/etc/$PRGNAM/ -name *.cfg | while read cfg ; do mv $cfg $cfg.new ; done
|
||||
mv $PKG/etc/httpd/extra/nagios.conf $PKG/etc/httpd/extra/nagios.conf.new
|
||||
# cfg files may contain passwords, so we don't want 'others' to read them
|
||||
chmod -R g-w,o-rx $PKG/etc/$PRGNAM
|
||||
|
||||
# Create directory for lock-file
|
||||
mkdir -p $PKG/var/run/nagios
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="nagios"
|
||||
VERSION="3.2.1"
|
||||
VERSION="3.2.2"
|
||||
HOMEPAGE="http://www.nagios.org/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/nagios/nagios-3.2.1.tar.gz"
|
||||
MD5SUM="d4655ee8c95c9679fd4fd53dac34bbe3"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/nagios/nagios-3.2.2.tar.gz"
|
||||
MD5SUM="e73004f401bfd680631ba900b5a8e60a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Niels Horn"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
nagios: Nagios (a powerful IT infrastructure monitoring system)
|
||||
nagios:
|
||||
nagios: Nagios is a powerful monitoring system for organizations to identify
|
||||
nagios: Nagios is a powerful monitoring system for organizations to identify
|
||||
nagios: and resolve IT infrastructure problems before they affect critical
|
||||
nagios: business processes.
|
||||
nagios:
|
||||
|
|
Loading…
Reference in a new issue