Pre-written scripts are provided in VB Script and Perl Script. Scripts that test or measure common services are present in both languages. The more specialized scripts are present only in Perl Script.
The VB-Scripts will make use of an ActiveX component (ProbeTest.dll Object). This component will be installed with Net-Probe. If you need to use the VB-Scripts on a remote box then not only must NetProbe-Remote (NetProbe-Remote.pl or NetProbe-Remote-Service) be installed on the box, but also the ProbeTest.dll object. You can copy this object from the Net-Probe computer, to the new computer if desired. Once copied, go to command prompt and type:
in the directory containing the dll. You should get a message saying the component has been installed.
The Perl scipts do not require the ProbeTest.dll object but most do require Perl components. These components are all available from www.cpan.org. The use of the these components should make it simple to extend a Perl Script to do custom tasks required for your network.
Below lists all pre-written scripts. The primary modules required are listed (These modules may require other modules). Not all tests can be automatically setup for you by the Workspace Wizard. The Workspace Wizard will attempt to run a script if the only required input parameter is Host (and optionally Timeout) are set as input parameters. The first output argument will also need to be tagged as 'alarm, and 'state'. The wizard will then run the script filling in host and timeout and expect a reply of zero from the first return argument. If these two conditions are met then the alarm will be added. Not all of the pre-written scripts can conform to the standard. Below, the yes or no, found next to 'Workspace Wizard' implies if the wizard can add the host automatically.
In general, if a script does not take an in arg of 'Host' then the script can only test something on a local computer (i.e. the computer that is running the script). To run the test on a remote host, NetProbe-Remote will be required.
|Description||Test connectivity to a DataBase. If the system has an ODBC Drive for the DB then this test can be used. Create a table in the DB called PerfTest with one field called TestField. The table should contain at least one record. Usually this statement will make the table: CREATE TABLE PerfTest (TestField INTEGER DEFAULT 0, PRIMARY KEY(TestField)); INSERT INTO PerfTest VALUES (10); The test will create a connection, then read all TestFields in the PerfTest table. The time taken to perform these tasks is measured and returned.|
|Operating Systems||Subject to DB's ODBC Driver limitations.|
|Requirements||ODBC Driver for Database.|
|Scope||Unlimited (within abilities of ODBC Driver)|
|Graph Usage||The response time can be graphed.|
|Copyright (c) Warren Flemmer 2006||www.net-probe.com|