Macro of RMA IP Address

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
grussell
Posts: 36
Joined: Thu Jan 21, 2010 2:24 am

Macro of RMA IP Address

Post by grussell »

Hi,

I am reviewing my logs and notice a number return "localhost" despite the test being executed by an RMA.

Is there a variable I can use to get the RMA IP address?

Something like %rma_ipaddress%

I want to avoid getting people to define custom comments..etc.

Many thanks,

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

Post by KS-Soft »

I think you may use %TestedObjectInfo% variable.
If you set "localhost" or "127.0.0.1" as target address and test is performed by the agent, this variable will show address of the agent (IP address or hostname, depends on option you have used when setup agent).

Regards
Alex
grussell
Posts: 36
Joined: Thu Jan 21, 2010 2:24 am

Post by grussell »

Thanks for the workaround - but would be great to have a variable which always returns the agent IP address (if it's not too difficult?)

Many thanks,

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

Post by KS-Soft »

%Agent% variable is not good enough?
You need just IP address, not hostname or name of the agent?

Regards
Alex
grussell
Posts: 36
Joined: Thu Jan 21, 2010 2:24 am

Post by grussell »

Ideally an IP address - it will help our engineers ensure that should "localhost" be the IP address, the agent IP takes precedence. It is just to clear up any potential ambiguity arise from a logged event for "host" not actually being that host because its performed via an Agent.

While on the subject of agents - I don't suppose its possible to specify the agent in a variable - so tests moved from folder to folder (with the variable set) will automatically use the correct agent?

Thank you.

p.s. Keep up the great work - I've seen a lot of monitoring solutions and AHM ticks more boxes than the rest. There are some real strokes of genius in the package.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ideally an IP address - it will help our engineers ensure that should "localhost" be the IP address, the agent IP takes precedence. It is just to clear up any potential ambiguity arise from a logged event for "host" not actually being that host because its performed via an Agent.
Ok, I have added "low" priority task into "to do" list
p.s. Keep up the great work - I've seen a lot of monitoring solutions and AHM ticks more boxes than the rest. There are some real strokes of genius in the package.
Thank you :)

Regards
Alex
Post Reply