Skip to content
Permalink
Browse files

Create var for nagios

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 20, 2019
1 parent 1f6305d commit 9388537a9ebfaa9f3147f79c61e9dd4b2e6d3a88
Showing with 7 additions and 0 deletions.
  1. +7 −0 build/050-nagios
@@ -11,6 +11,13 @@ fi
usermod -a -G nagios www-data
usermod -a -G nagcmd nagios
usermod -a -G nagcmd www-data

# Add var folder
if [[ ! -e /var/lib/nagios/ ]]; then
mkdir /var/lib/nagios/
chown -R nagios:nagios /var/lib/nagios/
fi

cd /tmp
# NEMS 1.4.1
# wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.3.4.tar.gz

0 comments on commit 9388537

Please sign in to comment.
You can’t perform that action at this time.