| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
. ../support/simple_eval_tools.sh |
| 4 |
|
| 5 |
HEADER uptime using HOST-RESOURCES |
| 6 |
|
| 7 |
SKIPIFNOT USING_HOST_HR_SYSTEM_MODULE |
| 8 |
|
| 9 |
SKIPIF NETSNMP_DISABLE_SNMPV1 |
| 10 |
|
| 11 |
# |
| 12 |
# Begin test |
| 13 |
# |
| 14 |
|
| 15 |
# standard V1 configuration: testcommunity |
| 16 |
. ./Sv1config |
| 17 |
|
| 18 |
STARTAGENT |
| 19 |
|
| 20 |
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.1.1.0" |
| 21 |
|
| 22 |
STOPAGENT |
| 23 |
|
| 24 |
CHECKORDIE "^.1.3.6.1.2.1.25.1.1.0 = Timeticks:" |
| 25 |
|
| 26 |
FINISHED |
| 27 |
|