Below is a simple bash script I created. It works by parsing a text file (one hostname per line) and attempting to connect to that hostname, then running a couple of checks which outputs it into a simple log file. This script of course can always be expanded.
#!/bin/bash
# This script is designed to login to each of the listed
# unix servers and probe:
# 1) See if EMC Power is installed
#----------------------------------
# Variables
#----------------------------------
HLIST=`cat host.list`
HOST=`/bin/hostname`
LOG=/tmp/emcpower-AIX_hosts.log
# Main Routine
for hlist in $HLIST
do
echo "----------------------------------------------------------------------------------" >> $LOG
echo "Hostname: $HOST" >> $LOG
oslevel=`ssh $HLIST 'oslevel -s'`
echo "O/S Level: $oslevel" >> $LOG
power=`ssh $HLIST 'lslpp -l |grep -i emcpower'`
if [[ "$?" == "1" ]]; then
echo "EMC Power is NOT installed." >> $LOG
else
echo "$power" >> $LOG
fi
done