#!/bin/sh
#
# If the host support rpc.statd, then a potential error is 
# indicated (CA 97-26)
# Updated 8 March 1999:  Advanced Research Corporation

. config/paths.sh

# used in final output
target=$1
service=`$BASENAME $0 | $SED 's/\..*$//'`
if [ "`$RUP $target  | $GREP load`" ]; then
status="a"
severity="zwoi"
trustee="USER@$target"
trusted="ANY@ANY"
service_output="Doubtful Internet service"
text="confirm that rstatd should be running"

$ECHO "$target|$service|$status|$severity|$trustee|$trusted|$service_output|$text"
fi
# that's it...
