Sybase Adaptive Server Anywhere SNMP Extension Agent manual

Page 24

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

Image 24
Contents Adaptive Server Anywhere Snmp Extension Agent User’s Guide Page Contents Page About This Manual SQL Anywhere Studio documentation Page Page Documentation conventions Following icons are used in this documentation Adaptive Server Anywhere sample database Asademo.dbFinding out more and providing feedback Using the Adaptive Server Anywhere Snmp Extension Agent Page Adaptive Server Anywhere Snmp Extension Agent Agent are included in your SQL Anywhere Studio installation Adaptive Server Anywhere Snmp Extension Agent Understanding Snmp Adaptive Server Anywhere MIB Files\Sybase\SQL Anywhere 9\snmp\iAnywhere.mibMIB Rdbms MIB Using the Adaptive Server Anywhere Snmp Extension Agent Installing SnmpTo restart the Snmp service Control Panel Configuring the Adaptive Server Anywhere Snmp Extension Agent To restart the Adaptive Server Anywhere Snmp Extension Agent Page ASAAgent DB1 Software SET Option PUBLIC.opt = ’value’ Using traps To configure the Snmp serviceCreating dynamic traps Trap examples Adaptive Server Anywhere Snmp Extension Agent Reference Page Adaptive Server Anywhere MIB Reference Adaptive Server Anywhere MIB AgentAsaMetaData tables AsaSrvMetaData.asaSrvPropMetaDataTable AsaDbMetaData.asaDbPropMetaDataTable Server statistics AsaDbMetaData.asaDbOptMetaDataTableOID Server properties OID Database statistics OID Database properties OID Adaptive Server Anywhere MIB Reference Database options Adaptive Server Anywhere MIB Reference OID Adaptive Server Anywhere MIB Reference OID Rdbms MIB Reference Rdbms MIB RdbmsDbTableRdbmsDbInfoTable RdbmsDbParamTable Rdbms MIB ReferenceRdbmsDbLimitedResourceTable Write FileRdbmsSrvTable RdbmsSrvInfoTableRdbmsSrvParamTable RdbmsSrvLimitedResourceTableIf this is 0, then it returns prop Page Index Index Cooperativecommittimeout option Index Index Odbcdescribebinaryasvarbinary Pinnedcursorpercentofcache ReadOnly property Truncatetimestampvalues option Installing Snmp Windows XP