IPWorks SNMP 2020 Python Edition

Questions / Feedback?

sys_up_time Property

Time passed since the agent was initialized (in hundredths of a second).

Syntax

def get_sys_up_time() -> int: ...
def set_sys_up_time(value: int) -> None: ...

sys_up_time = property(get_sys_up_time, set_sys_up_time)

Default Value

0

Remarks

This property is used when sending SNMP traps, and it normally provides the time since the system was restarted in 1/100s of a second.

If another value is desired, you may set this property to a custom value. From that point on, sys_up_time will return the value set plus time elapsed.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 Python Edition - Version 20.0 [Build 8202]