Page 1 of 1

Availability Report pbm

Posted: Wed Feb 01, 2012 3:36 am
by leens
Hello

In 2011 R1.9 I have problem that I have 0.000 in place of host name. I see it was a bug in R1.8 but I have this in R1.9

Re: Availability Report pbm

Posted: Wed Feb 01, 2012 10:11 am
by scottwilkerson
this is a known bug that is fixed in the next release. If you would like to fix it before then you can do the following:

open the file /usr/nagiosxi/html/reports/availability.php

on line 895 change

Code: Select all

echo "<td>".number_format($hn,3)."  </td>";
to
echo "<td>".$hn."  </td>";
and on line 941 change

Code: Select all

echo "<td>".number_format($sd,3)."  </td>";
to
echo "<td>".$sd."  </td>";

Re: Availability Report pbm

Posted: Wed Feb 08, 2012 1:59 am
by leens
Thanks a lot

Re: Availability Report pbm

Posted: Wed Feb 08, 2012 7:43 am
by scottwilkerson
This is also fixed in 2011R2.0