Avail feature updated
[ninja.git] / application / config / exception.php
blobbe231aaa261cbc4a5902c7d4bb2da67d479270a0
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
3 /**
4 * Commands to include output of in exception
5 */
6 $config['shell_commands'] = array(
7 "id",
8 "df -hP",
9 "date",
10 "rpm -q op5-monitor",
11 "rpm -q op5-default-appliance",
12 "rpm -q op5-system-release",
13 "uname -a",
14 "cat /proc/version",
15 "grep -D skip . /etc/*-release",
16 "mon node status",
17 "mon node show",
18 "top -bcn1M | head",
19 "grep ^model.name /proc/cpuinfo | uniq -c",
20 "lspci | sed -r 's/^[^ ]+ //' | sort | uniq -c",
21 "mon sysconf check"
24 $config['extra_info'] = array(
25 'Monitor user' => user::session('username')