|
View previous topic :: View next topic |
Author |
Message |
beholder
Joined: 07 May 2002 Posts: 3
|
Posted: Tue Feb 20, 2007 4:03 am Post subject: Export to text file |
|
|
Hi,
I need to export all tests to a text file using command line tool. I can do this from file menu but i just want to insert test details to a database with a scheduled task, and I want to take a report which servers are monitored and which are not by sql join to server list table.
It will be possible with exporting tests with a command line tool to a text file. Or any other suggestions to do this?
Thanks and regards |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Tue Feb 20, 2007 4:45 am Post subject: |
|
|
Probaly, the best way to automate exporting tests, is to create a specific report. For instance, you may use "Custom Report" : http://www.ks-soft.net/hostmon.eng/mframe.htm#profiles.htm#CustomHTML
You may use following variable with in report's body: http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#macro
I wan to point out at "Test specific macro variables", like %HostAddr
Quote from the manual:
=========
%HostAddr% - Represents the host name (or IP address) of the target system for the following tests: Ping, TCP, URL, HTTP Oracle, Interbase, MS SQL, MySQL, Sybase, Postgre, Process, Service, NT Log, CPU Usage, SNMP, SMTP, POP, IMAP, DNS, LDAP, UNC, UDP, NTP, RADIUS, Temperature Monitor, Traffic Monitor
=========
So, you may create custom report with "%HostAddr%" variable, that will be represent monitored servers for "Database Tests" and you may join it to servers list table, I suppose.
To implement exporting test automatically, you should create foregoing report, create action profile with "Generate reports" action ( http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#actRep ) and schedule such action profile using built-in Scheduler ("Options > Scheduler" http://www.ks-soft.net/hostmon.eng/mframe.htm#options.htm#SchedPage )
Also you may enable "Generate reports every N min" option. Option available at "Options > Reports" tab.
Regards,
Max |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|