issue with macro variable after installing 10.50 beta

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
menno
Posts: 158
Joined: Fri May 21, 2010 1:27 am

issue with macro variable after installing 10.50 beta

Post by menno »

Hi HM team
i have an issue with macro variable after installing 10.50 beta.
(these https://www.ks-soft.net/hostmon.eng/pro ... m#RepMacro )

we use a standard report that uses %AckBadTests% and %BadTests% but after upgrading to 10.50 they are allways 0.

so i made a test that allways returns bad ( ping to 1.1.1.1 ) but even then the %BadTests% variable stays 0 .

Is this a known issue in 10.50 ??

Can you please help us out here ?

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

Post by KS-Soft Europe »

Where exactly do you use these variables?
Could you send some screenshots to support@ks-soft.net?
menno
Posts: 158
Joined: Fri May 21, 2010 1:27 am

Post by menno »

i am sorry ... i thought i was clear enough

we use a html report that runs every minute .
this runs well unill we upgrade it to 10.50

this is a part of the code we use under the header tab from the HTML report template:

Code: Select all

<BODY>

<TABLE WIDTH="100%" cellpadding="2" cellspacing="1">
<TR class="Good">
<TD align="center" colspan=5>

<SCRIPT LANGUAGE="javascript">

if (%BadTests%>0)
{
   document.write("<center><b><h3>Acknowledged: <font color=red> " + (%AckBadTests%+%AckWarningTests%) + "</font> Down: <font color=red>" + (%BadTests%) + "</font></b></h3></center> ");
   document.write(' <audio controls autoplay><source src="sounds/towarn.mp3" type="audio/mpeg"></audio>');
}
else
{ 
document.write("<center><b><h3>Acknowledged: <font color=red> " + (%AckBadTests%+%AckWarningTests%) + "</font> Down: <font color=red>" + (%BadTests%) + "</font></b></h3></center> ");
}

</SCRIPT>
our config
Image

%BadTests% is ALLWAYS 0 also when i create a simple ping to 1.1.1.1 ( that fails and returns bad in the HM screen)

can you help us with that ?

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

Post by KS-Soft »

Fixed.
Please send your registration name or order number to support@ks-soft.net, we will provide update

Regards
Alex
menno
Posts: 158
Joined: Fri May 21, 2010 1:27 am

Post by menno »

thanks Alex
send you the email
menno
Post Reply