build-esm-cr

build_esm_cr
code format="bash" severity=$1 if [ -z $1 ] ; then echo "Usage: `basename $0` " >&2 exit 1 fi
 * 1) !/bin/bash

if [ $1 = "2" ] ; then SEV='crit' fi

if [ $1 = "3" ] ; then SEV='noncrit' fi

server_os=`uname` fqdn=`hostname --fqdn` fqdn="`echo $fqdn|tr '[a-z]' '[A-Z]'`" ip_addy=`/sbin/ifconfig eth0 | grep "inet addr:" | sed 's/addr://g' | awk '{print $2}'`
 * 1) Some Variables

echo "

=
======= Required Smarts Information ====================

What Zone is Server in (Zone 1, 2, or 3) - Zone 1

Platform (Windows or UNIX) - UNIX

Server OS - $server_os

Physical Server name (s) (FQDN) - $fqdn

Server (s) Physical IP address to be managed - $ip_addy

Are the server (s) clustered (Yes/No) - NO

For a clustered server, if it is a NT(Windows) or HPUX server, provide Cluster Name(s) and the virtual (logical) IP addresses associated with the clusters -

Platform support team Remedy Group - UNIX The platform team is the team that will install NetIQ agent (if needed) and help resolve installation / discovery issues that might occur with the NetIQ agent installation, SNMP or ICMP

Node up/down: Remedy group for trouble ticket assignment - UNIX

Severity Level - $severity

Check server how many times before issuing ticket - 2 (default is 2, equating to two 5 min polls that would equal a 10 min outage)

=
=Required NETIQ Information================

Is the NetIQ Agent Installed and version? Y/N: Y - 7

"Example: Yes,  7.0 Agent" or 6.5 Agent or NO

If NO a CR request will be created by ESM Ops to the platform team for them to install the NetIQ Management Agent on the server. If you do not know please contact your platform team who can assist you.

NetIQ package - global, guts_linux, guts_linux-$SEV "; code