%HostAddr% and url request

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Guest

Post by Guest »

I'm storing HM data in a SQL database. When storing the host address for a url request test, it stores "%HostAddr%", the variable itself, instead of the real address, the value of the variable. All other tests result in a correct value of %HostAddr%

Am I missing something or is this the way it should work?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

According to the documentation %HostAddr% macro variable represents the host name (or IP address) of the target system for the following tests: Ping, TCP, Oracle, Interbase, MS SQL, MySQL, Sybase, Postgre, Process, Service, NT Log, CPU Usage, SNMP, SMTP, POP, IMAP, DNS, LDAP
This variable is not applicable for other tests.

Regards
Alex
Locked