| Datasources |
|
|
|
1. How do I use the Event Log datasource to provide the ‘Alarm’ Types for Adroit into a Datagrid control?
Answer: Do the following: 1. Drag the ‘Adroit’ branch, beneath this Event Log datasource from the Enterprise Manager on to the ‘Datasource’ property of the required Datagrid control. This will display the Dataset wizard, requiring the selection of the fields to display in this Datagrid control. This wizard, also contains a ‘Filter’ dialog. 2. In this ‘Filter’ dialog, select ‘Type’ from the column drop-down box, select ‘=’ from the comparison operator, and type in ‘1’ which is the enumeration for ‘Error’. On completion of this wizard, this Datagrid control will display Events from Adroit with the Error flag. 2. What are the naming restrictions for datasources? Answer: Datasource names are case sensitive and limited to 50 characters in length. When specifying the datasource name, avoid using non standard text characters, since these are not supported e.g. \ / : * ? < > | # " 3. What happens if you do not specify a machine name when adding an Event Log datasource? Answer: If you do not supply a machine name for the Event Log datasource, it will connect to the event logs on the Server machine. 4. What happens if you do not specify the Agent Server when adding an Adroit datasource? Answer: If you do not specify the Agent Server when adding an Adroit datasource, it will attempt to connect to an Agent Server running on the Server machine. If this Agent Server is not running at the time, then the Adroit datasource will be created and will connect when this Agent server is started. 5. How do you add a password-protected OLE DB datasource? Answer: When adding an OLE DB datasource, if the required data is password-protected then ensure that the 'Allow Saving Password' checkbox is checked in the 'Connection' tab of the 'Data Link Properties' dialog. 6. Why cannot I create an Event Log datasource? Answer: If an Event Log datasource cannot be created on a machine, deleting all the existing eventlogs on this machine has been known to fix this problem. 7. Why can I no longer connect to a datasource after the Server has been rebooted? Answer: Please ensure that the required security credentials (authentication) are always supplied when connecting to remote machines, even if the connection is correctly tested without specifying them. Since once the Server has successfully connected to a machine, any further connections made to this machine will work whether the correct authentication is supplied or not. 8. The Event Log datasource configurable settings are global. Answer: Once an Event Log datasource is created, it is possible to specify BOTH the required polling interval and the maximum number of events that can be retrieved at once. Note: These are global settings that will apply to all the categories that are contained in this event log. For example if you set the poll rate to 10 seconds and the max. number of rows to return to 2, and now connect a number of categories to datagrids, each datagrid will have two entries and will be updated every 10 seconds. |





