Basic URL

Top  Previous  Next

Crash Magic supports a number of requests that can be made using a URL.  These calls do not require a login and are generally used for debugging and process monitoring.

 

$DIAGn

$DIAG<n> is parameter that may be called to determine a number of levels of operation of the running system

Possible values for "n" are:

1.Information (Process, memory load, ISAPI Pool parameters
2.Request information (URL, path, etc.)
3.Write to Windows Event Log
4.Raise application exception (currently disabled)
5.Write to log file (debug, important, error)
6.Web server settings
7.Server settings
8.System tables - Attempts to use system tables manager to access .Master user group.

 

Example:

http://www.governmenttools.com/cm/CrashMagicOnline_ISAPI.dll/$DIAG5

 

$DIAG?StatusLogLevel=<level>

Set a new value for StatusLogLevel.  Possible values for <level> are:

Detail, Debug, Info, Important, Warning, Error, Exception, None

$DIAG?DebugSysSQL=true/false

Turn on or off System SQL debugging

$DIAG?DebugUserSQL=true/false

Turn on or off User SQL debugging

$DIAG?MaxNumOfThreads=n

Set the maximum number of ISAPI threads between 3 and 100.

$DIAG?ResetAutoStart

Turns on Autostart.  Useful when system started while missing resources such as dB connections



$Version

Returns the version of the running instance of Crash Magic.

http://www.governmenttools.com/cm/CrashMagicOnline_ISAPI.dll/$Version

3.8.11.3

$SYSCONNECTION

Reports whether a connection to the system database is available

http://www.governmenttools.com/cm/CrashMagicOnline_ISAPI.dll/$SysConnection

true | false

$SYSTABLE

Reports whether a query can be executed against the system's user group table

http://www.governmenttools.com/cm/CrashMagicOnline_ISAPI.dll/$SysTable

true | false



 

In addition to the standalone URL parameters, the MagicAuto functionality provides for system automation through the URL.

More advanced functionality is available using the SOAP