03.03.2015 Views

MonitorMagic - Tools4Ever.com

MonitorMagic - Tools4Ever.com

MonitorMagic - Tools4Ever.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MonitorMagic</strong> topics<br />

The T4eSql plugin is a <strong>MonitorMagic</strong> plugin. It is used to execute an SQL query. The results of<br />

the SQL query can be used as an criteria to trigger rules of the <strong>MonitorMagic</strong> <strong>com</strong>mand monitor.<br />

The T4eSql plugin uses an ODBC connection to execute the query. The ODBC datasource must<br />

exist in order for the query to succeed.<br />

Syntax:<br />

Tools4ever Sql Utility Version 3.48<br />

Copyright (c) 2003 Tools4ever bv. All rights reserved.<br />

www.tools4ever.<strong>com</strong><br />

Usage:<br />

T4eSql <br />

options:<br />

-c:<strong>com</strong>mand file<br />

-d:odbc-string<br />

Read specification from <strong>com</strong>mand file. (Ignores all other <strong>com</strong>mand line<br />

options).<br />

Database ODBC connection string.<br />

-q:sql-query SQL Query to execute.<br />

-f:sql query file<br />

-o:output file<br />

-s:separator<br />

Read SQL query from specified file.<br />

Write output to specified file.<br />

Use separator, specify one of SPACE, COMMA, COLON,SEMICOLON,TAB<br />

noheaders<br />

nostats<br />

quotes<br />

singlequotes<br />

rownumbers<br />

nolog<br />

helpodbc<br />

Do not show header information.<br />

Do not show search result statistics.<br />

Use double quotes.<br />

Use single quotes.<br />

Preceed results with rownumbers.<br />

Supress log output on errors.<br />

Show help on ODBC connection string.<br />

Additional information:<br />

When the -c option is used, not other options should be specified on the <strong>com</strong>mand line. Instead,<br />

all option should be specified in the <strong>com</strong>mand file. In the <strong>com</strong>mand file, each option should be<br />

specified on a separate line. When specifying file names, use the .\filename notation to specify<br />

the current directory. You can also use full path file name specification. For any question or<br />

additional information contact www.tools4ever.<strong>com</strong>.<br />

More information:<br />

Command monitor - Overview<br />

<strong>MonitorMagic</strong> Plugins<br />

Plugin - T4eWebPing<br />

Plugin - T4ePortPing<br />

Plugin - T4eDirSize<br />

Plugin - T4eSql<br />

Plugin - T4eRexec<br />

Plugin - T4eSsh<br />

Plugin - T4eUnixInfo<br />

Plugin - T4eSSHUnixInfo<br />

Plugin - T4eRexec<br />

319

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!