Will writing to a database with suggested query give metrics

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
grantqa
Posts: 7
Joined: Mon Aug 04, 2008 12:03 pm
Location: London

Will writing to a database with suggested query give metrics

Post by grantqa »

Will writing the primary log to a database with the suggested query give the same metrics as writing to the text log file, when viewing the log with Log Analyzer?

http://www.ks-soft.com/hostmon.eng/mfra ... ctions.htm

INSERT INTO HMLOG (EVENTTIME, TESTNAME, STATUS, REPLY, TESTID, TESTMETHOD, RECURRENCES) VALUES (‘%DateTime%', '%TestName%', '%Status%', ‘%Reply%', %TestID%, ‘%TestMethod%’, %Recurrences%)

I plan to select "Midnight" default logging mode for primary log.
ironcurtain
Posts: 34
Joined: Mon Apr 28, 2008 10:15 am

Re: Will writing to a database with suggested query give met

Post by ironcurtain »

From menu select "Logs & Reports", then from "Common log" section click on hyperlink "ODBC" from sentence "For each log you may choose defferent log type (ODBC or File),"
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

INSERT INTO HMLOG (EVENTTIME, TESTNAME, STATUS, REPLY, TESTID, TESTMETHOD, RECURRENCES) VALUES (‘%DateTime%', '%TestName%', '%Status%', ‘%Reply%', %TestID%, ‘%TestMethod%’, %Recurrences%)
Yes, it will work. You may remove Recurrences field. Its not necessary.
http://www.ks-soft.net/hostmon.eng/mfra ... tm#odbclog

Regards
Alex
Post Reply