1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
2 require_once('op5/config.php');
5 <div align
="center" style
="padding-top:10px;">
6 <?php
echo html
::image('application/views/icons/icon.png',''); ?
>
8 <h1
><?php
echo _('Livestatus query failed'); ?
></h1
>
10 <p
><?php
echo sprintf(_('A livestatus query failed. Make sure <strong>Nagios is running</strong>, <strong>livestatus is loaded</strong>, and that <strong>livestatus is configured to create the socket "%s"</strong>'), preg_replace("~^unix://~", null, op5config
::instance()->getConfig('livestatus.path'))); ?
></p
>
11 <?php
if (isset($exception)) {
12 echo "<code><pre>$exception</pre></code>";