#!/bin/bash

RAID_TYPE=$(/sbin/lspci | grep RAID)

cat << EoF | sendmail -f noreply@hostgator.com level3s@hostgator.com
Subject: Alert: Unknown RAID type on $(hostname)!
Raid type according to lspci:
$RAID_TYPE

Network config (to find the box easier):
$(/sbin/ip addr  | grep inet | head)
EoF
