View previous topic :: View next topic |
Author |
Message |
menno
Joined: 21 May 2010 Posts: 157
|
Posted: Wed Jan 18, 2017 1:33 am Post subject: issue with macro variable after installing 10.50 beta |
|
|
Hi HM team
i have an issue with macro variable after installing 10.50 beta.
(these https://www.ks-soft.net/hostmon.eng/profiles.htm#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 |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Wed Jan 18, 2017 4:49 am Post subject: |
|
|
Where exactly do you use these variables?
Could you send some screenshots to support@ks-soft.net? |
|
Back to top |
|
|
menno
Joined: 21 May 2010 Posts: 157
|
Posted: Wed Jan 18, 2017 6:22 am Post subject: |
|
|
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: |
<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
[img=http://www109.zippyshare.com/scaled/Zf8Wyjdd/file.html][/img]
%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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jan 18, 2017 11:47 am Post subject: |
|
|
Fixed.
Please send your registration name or order number to support@ks-soft.net, we will provide update
Regards
Alex |
|
Back to top |
|
|
menno
Joined: 21 May 2010 Posts: 157
|
Posted: Thu Jan 19, 2017 9:56 am Post subject: |
|
|
thanks Alex
send you the email
menno |
|
Back to top |
|
|
|