FAQ  
 

How to use Stored Procedures with 'write database'?

Created 2007-05-08 by Rainer Gerhards.

EventReporter, MonitorWare Agent and WinSyslog support stored procedures in their 'write database' actions. This option is supported for Microsoft SQL Server only. With other database systems, it might work, but Adiscon does not guarantee it.

Stored procedures are used just like database tables. The main difference is that instead of the table name, the stored procedure name is provided and instead of field names, parameters are provided. An example configuration looks like this:

Using stored procedures with WinSyslog, MonitorWare Agent and EventReporter

The field order is relevant. Fields will be passed in that order as stored procedure arguments. In the sample above, "Message" becomes sp argument 1 and "Priority" argument 2. Of course, users need to supply the actual stored procedure. The configuration above could be used with a stored procedure like this:

Please note that processing within the stored procedure is the user's responsibility. Most importantly, a stored procedure should not take too long to execute, because this might affect overall product performance.

 

EventReporter
 Home
 Product Info
General Information
MonitorWare Products
Edition Comparison
Order and Pricing
Upgrade Insurance Info
News Releases
Version History
Product Tour
 - Screenshots
 Download
 Reference library
General Information
Step-by-step guides
 - All
 - Installation and Configuration
 - Services related
 - Actions related
 - Central Monitoring
Common Uses
Centralized monitoring
Security Reference
 Help
Support
Manual
FAQ
 - All
 - General questions
 - Installation and updates
 - EventReporter 6.x specific
Articles
Seminars Online
 - All
 - General
 - EventReporter related
 Order & pricing
Order now
Editions
Pricing Information
Upgrade Insurance Info
Local Reseller
 Contact Us
 Search
 
 



Printer Version Send this page to a friend

Copyright © 1988-2005 Adiscon GmbH All rights reserved.
Contact us via Secure Web Response | Privacy Policy
Topic Links: syslog | Free Weblinks Directory