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
issue with macro variable after installing 10.50 beta
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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:
our config

%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
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>
%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