Email ODBC Results

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
DainMuller
Posts: 4
Joined: Tue Oct 27, 2009 9:37 am

Email ODBC Results

Post by DainMuller »

If I set up an ODBC Test to run a query, is there an easy way for it to return those results to me in an email?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you setup ODBC Query test to check some field of the table, value of this field will be displayed in Reply field of the test. So you may use %Reply% variable in e-mail template.
Otherwise HostMonitor does not check field values...

Regards
Alex
michael_volk
Posts: 4
Joined: Thu Jan 26, 2012 3:35 am

Post by michael_volk »

Hello,

We would like to pass all the values ​​in the e-mail. Is that possible?

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

Post by KS-Soft »

all the values? Dataset returned by SQL Query? No, there is no such option.

Regards
Alex
michael_volk
Posts: 4
Joined: Thu Jan 26, 2012 3:35 am

Post by michael_volk »

Hi Alex,

can be added to the wish list with? Can you put this differently?
Greetings Michael
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

H'm, I am not sure this task fits within "network monitoring" scope :roll:
Probably you just need some script for your SQL database?

Regards
Alex
michael_volk
Posts: 4
Joined: Thu Jan 26, 2012 3:35 am

Post by michael_volk »

Hi Alex,

the response of the test is monitored for the tablespaces. it monitors the value in percent and the return should be the name of the bad tablespace.

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

Post by KS-Soft Europe »

Could we see your SQL Query for checking tablespaces ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Do you mean your query returns 2 fields, you want to check one but send by e-mail both fields?

Regards
Alex
michael_volk
Posts: 4
Joined: Thu Jan 26, 2012 3:35 am

Post by michael_volk »

I would like to check one field and two fields to send a mail.

Regards

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

Post by KS-Soft »

Usually several fields can be combined into one, e.g. query can check space, select most used tablespaces (when used space > some threshold) and return space+name as single field in descending order.

Regards
Alex
Post Reply