Sun Cluster 3.1 8/05 Release Notes for Solaris OS

Erroneous Code Samples

The sample code in the following sections is incorrect:

The correct code for both sections is as follows:

# cat /var/tmp/probe-apache2
#!/usr/bin/ksh
if echo "GET; exit" | mconnect -p 80 > /dev/null 2>&1
then
    exit 0
else
    exit 100
fi