Nagios 简明教程
Nagios - V Shell
V-Shell 是一个使用 PHP 编写的 Nagios Core 的轻量级 Web 界面。该界面易于安装和使用,并且是 Nagios 输出的替代品。VShell 的前端使用的是 AngularJs,因此设计具有响应性和现代感。它提供了 Quicksearch 功能和由 CodeIgniter 提供支持的 RESTful API。
V-Shell is a lightweight web interface to Nagios Core written in PHP. It is easy to install and use and it is an alternative to Nagios output. The frontend of VShell is on AngularJs, hence the design is responsive and modern. It provides Quicksearch functionality and RESTful API powered by CodeIgniter.
Nagios VShell 兼容 Nagios XI 和 Nagios Core 3.x。它需要在系统中安装 php 5.3 或更高版本、php-cli 和 apache。让我们了解如何安装 Nagios VShell。
Nagios VShell is compatible with Nagios XI and Nagios Core 3.x. It requires php 5.3 or higher, php-cli and apache installed in the system. Let us see how to install Nagios VShell.
Step 1 − 转到 tmp 目录并下载 vshell tar 文件。
Step 1 − Go to tmp directory and download the vshell tar file.
cd /tmp
wget http://assets.nagios.com/downloads/exchange/nagiosvshell/vshell.tar.gz

Step 2 − 提取 tar 文件。
Step 2 − Extract the tar file.
tar zxf vshell.tar.gz
Step 3 − 转到 vshell 目录,并向 install.php 文件授予可执行权限。最后,运行安装脚本。
Step 3 − Go to vshell directory and give executable permission to install.php file. Finally, run the install script.
cd vshell
chmod +x install.php
./install.php

Step 4 − 现在在浏览器中转到 https://192.168.56.101/vshell ,使用 nagiosadmin 登录,Vshell 即会显示出来。
Step 4 − Now go to https://192.168.56.101/vshell in your browser, login with nagiosadmin and your Vshell will appear.
