Configuring the Adaptive Server Anywhere SNMP Extension Agent

The Adaptive Server Anywhere Extension Agent can monitor one or more databases. The databases to be monitored are stored in the asasnmp.ini file with the following format:

[ASAAgent]

TrapPollTime=time in seconds

[DBn]

ConnStr=connection string

UtilDbPwd=utility database password

CacheTime=time in seconds

Trapt=trap information

Disabled=1 or 0

By default, your SQL Anywhere Studio installation places the asasnmp.ini file in the C:\Program Files\Sybase\SQL Anywhere 9\win32 directory.

Once you edit this file, you must restart the SNMP service or reset the Adaptive Server Anywhere SNMP Extension Agent so that the new settings are used by the Agent.

To restart the SNMP service (Control Panel)

1.Open the Control Panel.

On Windows 2000, from the Start menu choose Settings Control Panel.

On Windows XP, from the Start menu choose Control Panel.

2.In the Control Panel, double-click Administrative Tools.

3.Double-click Services.

4.Right-click SNMP Service and choose Restart from the popup menu. This stops and restarts the SNMP service.

To restart the SNMP service (Command line)

1.Open a command prompt and execute the following command:

net stop snmp

This stops the SNMP service.

2. Execute the following command:

net start snmp

This starts the SNMP service.

12

Page 24
Image 24
Sybase Adaptive Server Anywhere SNMP Extension Agent manual Configuring the Adaptive Server Anywhere Snmp Extension Agent