ODBC log test error

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
efiten
Posts: 19
Joined: Mon Feb 13, 2012 8:26 am

ODBC log test error

Post by efiten »

I'm trying to enable logging to an MS-SQL database, but i'm not able to connect. unfortunately i haven't got that much experience with SQL

I use SQL 2008 R2, made a database called "HMLOG", made an ODBC user-DSN, but then i'm stuck with the error :
[Microsoft][ODBC SQL Server Driver][SQL Server]Invalid Object Name 'hmlog'.
Has anyone some info about further creation of tables, or just an SQL query to create those? i want to collect as much info as possible into it.

I use HM 9.10

Erwin
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Looks like there is no table "hmlog" in database.
You may create table using the following SQL query:

Code: Select all

CREATE TABLE hmlog ( 
  eventtime datetime, 
  testname varchar (100), 
  status varchar (16), 
  reply varchar(100), 
  testid int, 
  testmethod varchar(100) 
);
Please note:
1. If you start HostMonitor as service, it will not be able to use User DSN. Only System DSN will be used . So, if you are planning to start HostMonitor as service and as regular application, use "System DSN" option. In this case HostMonitor will work equally in both modes.
2. If you are using Windows x64 Edition and you want to setup ODBC Logging or ODBC test method, you should setup ODBC datasources using 32-bit ODBC Data Source Administrator (e.g. C:\WINDOWS\SysWOW64\odbcad32.exe).

Please check the manual or visit our web site for more informatio at:
http://www.ks-soft.net/hostmon.eng/mfra ... tm#odbclog
efiten
Posts: 19
Joined: Mon Feb 13, 2012 8:26 am

Post by efiten »

I made an mistake in the table name :oops:
I saw it when I started your query and it created a new table...

I did use a 64-bit system and used 32-bit ODBC Data Source Administrator with a system DSN.


TnX
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So it works fine now?

Regards
Alex
efiten
Posts: 19
Joined: Mon Feb 13, 2012 8:26 am

Post by efiten »

Yes, everything works fine now, over 20 ODBC connections to SQL in 'the cloud' ;)

Our RMA agent are all used at the moment, is it possible to get extra agents? we use the enterprise edition.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Yes, everything works fine now, over 20 ODBC connections to SQL in 'the cloud'

Great :)
Our RMA agent are all used at the moment, is it possible to get extra agents? we use the enterprise edition.
Sure, you may purchase additional tools like RMA, RCC, e.t.c.
Please check for details at:
http://www.ks-soft.net/hostmon.eng/regmon.htm#tools
Post Reply