On each server you plan to monitor, grant mon_role to the user account used to log in to the Adaptive Server and set monitoring options in the configuration file.
The Adaptive Server component of Sybase Control Center needs a user account to log in to Adaptive Server. To gather monitoring data, that account needs the role mon_role.
You can enable monitoring options using the sp_configure stored procedure or by editing the configuration file.
This example shows the monitoring section of the configuration file. Set these options either using sp_configure, or by manually editing the file. The Adaptive Server Monitor uses all these parameters, and notifies you if any of these options is not enabled. You may have to increase the values of sql text pipe max messages and errorlog pipe max messages depending on the level of activity on the monitored Adaptive Server.
[Monitoring] enable monitoring = 1 sql text pipe active = 1 sql text pipe max messages = 2000 plan text pipe active = DEFAULT plan text pipe max messages = DEFAULT statement pipe active = 1 statement pipe max messages = 2000 errorlog pipe active = DEFAULT errorlog pipe max messages = DEFAULT deadlock pipe active = 1 deadlock pipe max messages = 200 wait event timing = 1 process wait events = 1 object lockwait timing = 1 SQL batch capture = 1 statement statistics active = 1 per object statistics active = 1 max SQL text monitored = 4096 performance monitoring option = DEFAULT enable stmt cache monitoring = 1