KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

issue with macro variable after installing 10.50 beta

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
menno



Joined: 21 May 2010
Posts: 157

PostPosted: Wed Jan 18, 2017 1:33 am    Post subject: issue with macro variable after installing 10.50 beta Reply with quote

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
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed Jan 18, 2017 4:49 am    Post subject: Reply with quote

Where exactly do you use these variables?
Could you send some screenshots to support@ks-soft.net?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
menno



Joined: 21 May 2010
Posts: 157

PostPosted: Wed Jan 18, 2017 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Wed Jan 18, 2017 11:47 am    Post subject: Reply with quote

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

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
menno



Joined: 21 May 2010
Posts: 157

PostPosted: Thu Jan 19, 2017 9:56 am    Post subject: Reply with quote

thanks Alex
send you the email
menno
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index