云计算百科
云计算领域专业知识百科平台

BMC PSL function(52)-snmp_close()

snmp_close()

含义:Close a PATROL Agent SNMP session(关闭snmp会话)

Format

snmp_close(session)

Parameter

Parameter Definition
session

ID of the SNMP session that is to be closed

The session is the value returned when an snmp_open() function is executed.

Description

The snmp_close() function closes session with the PATROL SNMP Sub-Agent that was opened with the snmp_open() function and removes internal structures belonging to session. The snmp_close() function sets the PSL variable errno = 93 (E_PSL_NO_SUCH_ID) if session is not a valid SNMP session ID. The snmp_close() function returns the string “OK” if successful

赞(0)
未经允许不得转载:网硕互联帮助中心 » BMC PSL function(52)-snmp_close()
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!