#!/bin/sh # # $Source: /afs/.net/tools/arch/common/RCS/hostcheck,v $ # $Author: foley $ # $Header: /afs/.net/tools/arch/common/RCS/hostcheck,v 1.1 1999/02/24 04:28:04 foley Exp $ # PATH=/bin VARFILE=${VARFILE-/mit/snmp/nyser/etc/snmp.variables} if [ ! -r $VARFILE ]; then echo -n "attaching snmp... " /bin/athena/attach snmp if [ ! -r $VARFILE ]; then echo "Unable to read SNMP variables file." 1>&2 exit 1 fi fi /afs/net/tools/arch/@sys/bin/simon -request "query_agent -noprompt $*"