#!/bin/sh . ../eval_tools.sh HEADER 1st CPU on Solaris using HOST-RESOURCES if test `uname -s` != "SunOS" ; then # a bogus skip for !suns SKIPIFNOT XXXYYYZZZ fi SKIPIF DISABLE_SNMPV2C SKIPIFNOT USING_HOST_MODULE # # Begin test # # standard V1 configuration: testcomunnity . ./Sv1config STARTAGENT # ask for the description of the first CPU in the system CAPTURE "snmpget -On $SNMP_FLAGS -c testcommunity -v 1 $SNMP_TRANSPORT_SPEC:$SNMP_TEST_DEST$SNMP_SNMPD_PORT .1.3.6.1.2.1.25.3.2.1.3.768" CHECKORDIE "^.1.3.6.1.2.1.25.3.2.1.3.768 = STRING: CPU" STOPAGENT FINISHED