All,
This is part of what I have, if the service is not equal to 1, how would I
issue a command to email someone? Can not find this in
the literature.
#### Check certain ARS stuff
#1) Check for the availability of telalert
$telalertcheck=`ps -ef | grep telalertd | grep -v grep`;
$telreturn=$?;
&logmesg("$telreturn","Urgent telalertd process (on $host) indicates the
process is down");
##2) check other ars process
if (telreturn != 1) {
}
elsif (telreturn == 1)
{
Thanks,
Richard
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]