Page 1 of 1

AlertCloud component displays wrong hostnames

Posted: Thu Oct 20, 2011 4:56 pm
by txwomansu
Hello,
Please help with this issue:

Viewing in Firefox 6.0.2 and Internet Explorer 8...

AlertCloud component displays wrong hostnames. For example for 2 different hosts, there are two 'alert clouds' flying but both of them dispaly the same hostname. When you click on these hostnames one-by-one, you get to these 2 different hosts. How to correct Alert Cloud so that the 'cloud' displays the correct host information?

Thank you!

Re: AlertCloud component displays wrong hostnames

Posted: Fri Oct 21, 2011 10:48 am
by lmiltchev
Did you see the comment on the Nagios Exchange about this component?
Bug in xmldata.php
byKorrax, September 18, 2011
This Component is realy nice.

But there is a bug in the xmldata.php.

In line 81 the variable $hostname must be called $lasthost to show the right host at this point.

echo '.$lasthost.';

Re: AlertCloud component displays wrong hostnames

Posted: Fri Oct 21, 2011 1:33 pm
by mguthrie
We'll test the fix and get it posted as soon as it's ready

Re: AlertCloud component displays wrong hostnames

Posted: Fri Oct 21, 2011 4:30 pm
by txwomansu
That fixed it! Thanks.