Merge branch 'maint/7.0'
[ninja.git] / application / views / livestatus.php
blobc0941d50d767622cc49ca8ae9899a307ff1604ac
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
2 require_once('op5/config.php');
3 ?>
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>";
13 } ?>
14 </div>