Availability Report pbm

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

Availability Report pbm

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Availability Report pbm

Post 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>";
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
leens
Posts: 34
Joined: Mon Apr 18, 2011 6:59 am

Re: Availability Report pbm

Post by leens »

Thanks a lot
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Availability Report pbm

Post by scottwilkerson »

This is also fixed in 2011R2.0
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked