SYS_SNMP_ACTIVE

Use the SYS_SNMP_ACTIVE script function to check whether the SNMP (Simple Network Management Protocol) connection of the Automation Engine is active. For more information, see SNMP Support.

Syntax

SYS_SNMP_ACTIVE ()

Return Codes

The script function has the following return codes:

  • Y
    The SNMP connection of the AE is active
  • N
    The SNMP connection of the AE is inactive

Example

The following script checks if the SNMP connection is active, and prints the result in the activation report.

:SET &RET# = SYS_SNMP_ACTIVE()
:
PRINT &RET#

See also: