VCSAG_GET_MONITOR_LEVEL

The agent developer can use this primitive to query if the LevelOne (Basic) monitoring or the LevelTwo (Detail) monitoring or both need to be scheduled.

Output parameters:

This API is typically used as Perl/Shell based script.

Perl based:

This API return the value of level_one and level__two and status as return value.

Usage:($ret, $level_one, $level_two) = VCSAG_GET_MONITOR_LEVEL();

Shell based:

This API return the value of level_one and level__two as environment variable VCSAG_MONITOR_LEVEL_ONE and VCSAG_MONITOR_LEVEL_TWO, and status as return value.

Usage:VCSAG_GET_MONITOR_LEVEL

Fetches the value of the LevelOne and LevelTwo monitoring flag as below if API passes,