Problem with nested UDVs

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
jdean987
Posts: 16
Joined: Fri Oct 14, 2005 8:32 am
Location: Indianapolis

Problem with nested UDVs

Post by jdean987 »

Greetings,

I am using the UDV feature to hold the email addresses of our admins. The following example shows a simplified version of our structure:

%udv_aa% is: %udv_bb%;%udv_xx%

%udv_xx% is: jim@here.now

%udv_bb% is: %udv_cc%;joe@here.now

%udv_cc% is: jeff@here.now

The scenario applies when we need to notify %udv_aa%, which should expand to jeff@here.now;joe@here.now;jim@here.now

In this scenario Jim and Joe both get emails but Jeff's udv never expands and is instead sent to the email address %udv_cc%. I've replicated this behavior and it is always the 3rd variable that fails to expand.

We are on release 5.38

I have worked around this but thought I should mention it.

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

Post by KS-Soft »

Correct. HostMonitor does not resolve unlimited recursions specified by user variables. Just 2 level deep.
Do you really need such variables? We can add 1 more level...

Regards
Alex
jdean987
Posts: 16
Joined: Fri Oct 14, 2005 8:32 am
Location: Indianapolis

Post by jdean987 »

Alex,

No need to change. We can work around the 2 variables limit; it's just a different way not a worse way.

Thanks for the offer though.

Jeff
V Arun
Posts: 52
Joined: Sun Apr 11, 2004 11:17 pm

Post by V Arun »

Alex,

I have a need for another level. For ex.. I use %commentline1% for TO field in email alerts..

commentline1 = %udv_admingroup%
%udv_admingroup%=%udv_arun%, %udv_alex%
udv_arun=arun@xyz.com
udv_alex=alex@abc.om

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

Post by KS-Soft »

Ok. Update available at www.ks-soft.net/download/hm564c.zip

Regards
Alex
Post Reply