![Asentria Teleboss 850 Скачать руководство пользователя страница 188](http://html.mh-extra.com/html/asentria/teleboss-850/teleboss-850_user-manual_2981745188.webp)
TeleBoss 850 2.06.280_STD User Manual
Page 182
a_lib.Sleep
Description
Suspend script activities for specified amount of time.
Syntax
a_lib.Sleep(time_in_milliseconds)
time_in_milliseconds: How much time to sleep, in milliseconds
Returns
None.
Example
-- wait for 5 seconds before further actions
a_lib.Sleep(5000)
a_lib.SNMPGet
Description
Gets and SNMP object from a host.
Syntax
a_lib.SNMPGet(host, community name, oid)
host: Host name or IP address
community name: Community name string
oid: Object identifier string
Returns
Returns a string containing the value of the object if successful. If not successful, returns 'nil' and an error
message.
Example
-- read time from an T850 unit
timeobj, err = a_lib.SNMPGet("10.10.5.137", "public",
"1.3.6.1.4.1.3052.9.2.8.1")
if timeobj == nil then
print(err)
return
end
Содержание Teleboss 850
Страница 6: ......