Sybase Adaptive Server Anywhere SNMP Extension Agent User Manual page 29

Ianywhere solutions adaptive server anywhere snmp extension agent user's guide
Table of Contents

Advertisement

Setting values using the Adaptive Server Anywhere SNMP Extension
Agent
Executing stored procedures using the Adaptive Server Anywhere SNMP
Extension Agent
Chapter 1. The Adaptive Server Anywhere SNMP Extension Agent
The Adaptive Server Anywhere SNMP Extension Agent responds to SNMP
get, get-next, and set queries.
You can set any database option, some server properties, and one database
property using the Adaptive Server Anywhere SNMP agent.
When setting database options, the Adaptive Server Anywhere SNMP agent
executes the statement:
SET OPTION PUBLIC.opt = 'value'
When setting database and server properties, the sa_server_option system
procedure is used.
The way you set these values depends on your SNMP management software.
For the OIDs and information about the options and properties that can
be set with the Adaptive Server Anywhere SNMP Extension Agent, see
"The Adaptive Server Anywhere MIB" on page
The Adaptive Server Anywhere MIB includes an OID that allows you to
execute a stored procedure using the Adaptive Server Anywhere SNMP
Extension Agent. In order to execute the stored procedure, the user that the
Adaptive Server Anywhere SNMP Extension Agent uses to connect must
have one of the following:
execute permission on the procedure
be the owner of the procedure
have DBA authority
Any result sets or return values generated by the procedure are ignored.
To execute a stored procedure using the Adaptive Server Anywhere SNMP
Extension Agent, set the value of
1.3.6.1.4.1.897.2.3.5. db , where db is the database number in the asasnmp.ini
file) to a string that is the name of a stored procedure. Optionally, you can
supply arguments to the procedure; if no arguments are supplied,
parentheses ( ) are appended to the procedure name.
24.
asaAgent.asaProc
(OID
17

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Adaptive Server Anywhere SNMP Extension Agent and is the answer not in the manual?

Questions and answers

Table of Contents