Export to text file

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
beholder
Posts: 3
Joined: Tue May 07, 2002 6:00 pm

Export to text file

Post by beholder »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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/mfra ... CustomHTML
You may use following variable with in report's body: http://www.ks-soft.net/hostmon.eng/mfra ... .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/mfra ... htm#actRep ) and schedule such action profile using built-in Scheduler ("Options > Scheduler" http://www.ks-soft.net/hostmon.eng/mfra ... #SchedPage )

Also you may enable "Generate reports every N min" option. Option available at "Options > Reports" tab.

Regards,
Max
Post Reply