Nagios xi

https://assets.nagios.com/downloads/nagiosxi/docs/Installing-Nagios-XI-Manually-on-Linux.pdf

[root@jenkinsslave ~]# curl https://assets.nagios.com/downloads/nagiosxi/install.sh | sh

http://130.211.135.148/nagiosxi/install.php

nagios1nagios2nagios3nagios4

Nagios XI Installer
Welcome to the Nagios XI installation. Just answer a few simple questions and you’ll be ready to go.
General Program Settings
Program URL:
http://130.211.135.148/nagiosxi/
Administrator Name:
Nagios Administrator
Administrator Email Address:
root@localhost
Administrator Username:
nagiosadmin
Administrator Password:
ojFvdaq5rnXjkLqkSXNM
Timezone Settings
Timezone:
Install

[root@jenkinsslave ~]# cat install.sh 
#!/bin/sh
DIR=nagiosxi
DLDIR=nagiosxi
FILE=xi-latest.tar.gz
# Check whether we have sufficient privileges
if [ $(id -u) -ne 0 ]; then
    echo “This script needs to be run as root/superuser.” >&2
    exit 1
fi
if ! which wget &>/dev/null; then
    yum install wget -y
fi
cd /tmp
echo “check if /tmp/nagiosxi exists”
if [ -d /tmp/$DIR ]; then
    rm -rf /tmp/$DIR
fi
echo “Downloading latest Nagios XI release”
tar xzf /tmp/$FILE
cd /tmp/$DIR
chmod +x ./fullinstall
./fullinstall
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s