Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Download the required yum packages
yum install -y gcc glibc glibc-common gd gd-devel net-snmp net-snmp-devel net-snmp-utils make xinetd
# Add the Icinga User and Groups
/usr/sbin/useradd -m icinga
# Create the Icinga Directory
mkdir -p /usr/local/icinga/etc
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static