AlertCloud component displays wrong hostnames

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
txwomansu
Posts: 36
Joined: Mon Oct 10, 2011 9:05 am

AlertCloud component displays wrong hostnames

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: AlertCloud component displays wrong hostnames

Post 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.';
Be sure to check out our Knowledgebase for helpful articles and solutions!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: AlertCloud component displays wrong hostnames

Post by mguthrie »

We'll test the fix and get it posted as soon as it's ready
txwomansu
Posts: 36
Joined: Mon Oct 10, 2011 9:05 am

Re: AlertCloud component displays wrong hostnames

Post by txwomansu »

That fixed it! Thanks.
Locked