Nagios

by pauljnarang
0 deployments · 0 still active · last rev. 12 days ago

Installs Nagios

Compatible with: CentOS 7, Fedora 27, Fedora 28, CentOS 6.8, Fedora 26
						#!/bin/sh

#########################################
#
#  More info and licensing at:
#  http://www.nagios.com/products/nagiosxi
#
#########################################

source <ssinclude StackScriptID="20">
source <ssinclude StackScriptID="154">

system_update
install_basics

FILE=/usr/local/nagiosxi/is.installed
if [ -f $FILE ];
then
   echo "Nagios XI is already installed"
else
   (
    cd /usr/local
    wget http://assets.nagios.com/downloads/nagiosxi/installNagiosXIvm.sh
    chmod +x /usr/local/installNagiosXIvm.sh
    /usr/local/installNagiosXIvm.sh
   )
   rm -f /usr/local/installNagiosXIvm.sh
fi