Hi all.
I've had some very weird things happen to my XI instance. A coworker has been making changes to the database directly because there are too many devices to manage in the interface. All that got changed was some links to contact groups and notifications. Now when I run reports, I get correct graphs, but for the list of devices, only half an IP address shows up (the same half IP for all entries) and for the breakdown of services on the devices all I see is 0.000 instead of a service name. What the H would cause that sort of problem?
Very strange behavior in XI reports
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Very strange behavior in XI reports
Last edited by cwscribner on Mon Jan 30, 2012 1:53 pm, edited 1 time in total.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Very strange behavior in XI reports
This is a known bug that is fixed in our SVN for the next release (likely within a couple weeks).
If you need it fixed before that, you can backup the following file and then make these changes:
/usr/local/nagiosxi/html/reports/availability.php
about line 895 change
to
and about like 941 change
to
If you need it fixed before that, you can backup the following file and then make these changes:
/usr/local/nagiosxi/html/reports/availability.php
about line 895 change
Code: Select all
echo "<td>".number_format($hn,3)." </td>";
Code: Select all
echo "<td>".$hn." </td>";
Code: Select all
echo "<td>".number_format($sd,3)." </td>";
Code: Select all
echo "<td>".$sd." </td>";
-
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Very strange behavior in XI reports
Fixed. Thanks!
I wish all problems were this easy to fix
I wish all problems were this easy to fix
