retire-esm-cr

retire_esm_cr

 * OBSELETE** - updated and incorporated into MASTER Retirement Scripts

code format="bash"
 * 1) !/bin/bash

FQHOST=$1 if [ -z $1 ] ; then echo "Usage: `basename $0` " >&2 exit 1 fi


 * 1) SHOST=`echo $FQHOST | tr "." " " | awk '{print $1}'`
 * 2) DOMAIN=`echo $FQHOST | tr "." " " | awk '{print $2"."$3"."$4}'`

echo " ESM-Server(s) Remove Profile This profile is used to request the removal of all ESM monitoring on any designated Server packages and/or Node Up/Down monitoring.

This request is for ESM Smarts & NetIQ removal and if a server has multiple business area monitoring packages (ie: GUTS, GBIP, MQSERIES, GUTS, or ISG) this request will also remove NetIQ packages.

If this request is only to remove NetIQ packages, please list below:

=
============ Required Information =========================

What Zone is server in - 1

Platform (Windows or UNIX) - UNIX

Physical Server(s) name (FQDN) - `echo $FQHOST | tr '[:lower:]' '[:upper:]'`

Server Physical IP address(s) to be Removed - `nslookup $FQHOST | grep Address | tail -1 | awk '{print $2}'`

Is this server clustered (Yes/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 -

Remove SMARTS Node up/down monitoring - Yes / No: Yes

ALL NETIQ monitoring will be removed - Yes/ No: Yes

Please list all packages to be removed: ALL ";

code