
NagVis is a visualization addon for the well known network managment system Nagios
Key features
- Display of single Hosts and Services
- Visualize a complete Host- or Servicegroup with one icon
- Display the summary state of a Host and all its services
- Display only the real problems
- Sub-map icons which represent a complete NagVis Map in one icon (drill down)
- Visualization of complete IT processes using self drawn graphics
- Online documentation of IT environments including current states
- Visualisation of network traffic using weathermap lines
- Multilingual capabilities
- Web configuration interface (WUI)
Key features
Take a look at ScreenShots to better understand its usability.
Installation
Install Nagios
Install Nconf -If required.
Install Dependency
install epel repo to get mod_python for centos 6
rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm yum install php-mbstring mod_python graphviz -y |
Download & Install MK Livestatus
MKLivestatus is a new type of Nagios event broker module. Simplified: It serves a socket where programs can access information directly from the Nagios core. The module is easy to install, brings no administrative overhead and is very fast.
Check_mk adopts a new a approach for collecting data from operating systems and network components. It obsoletes NRPE, check_by_ssh, NSClient and check_snmp. It has many benefits, the most important of which are:
- Significant reduction of CPU usage on the Nagios host.
- Automatic inventory of items to be checked on hosts.
The larger your Nagios installation is, the more important get these points. In fact check_mk enables you to implement a monitoring environment exceeding 20.000 checks/min on the first hand.
ReadMore
tar zxvf check_mk-1.1.8.tar.gz cd check_mk-1.1.8 ./setup.sh mkdir /var/lib/check_mk/web/nagiosadmin -p chown apache: /var/lib/check_mk -R service httpd restart service nagios restart |
make sure user apache belongs to nagios group [usermod -a -G nagios apache]
else you’ll need to change permission for live file every time you restart nagios [chmod 777 /usr/local/nagios/var/rw/live]
check working of check_mk with existing nagiosadmin auth http://192.168.1.1/check_mk/
Download & Install NagVis with View Only access
tar zxvf nagvis-1.5.6.tar.gz cd nagvis-1.5.6 ./install.sh service httpd reload #you may need to modify php.ini for timezone. e.g for India /etc/php.ini date.timezone = Asia/Calcutta |
add last three lines in /etc/httpd/conf.d/nagvis.conf
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /nagvis RewriteCond %{REMOTE_ADDR} !^192\.168\.1\.58 RewriteCond %{REMOTE_ADDR} !^192\.168\.1\.147 RewriteRule /nagvis - [E=REMOTE_USER:guest] |
this will treat all users as guest except 1.58 & 1.147
also you need to allow guest users to view maps, you can modify settings by nagiosadmin user loggedin to nagvis.
Access nagvis using http://192.168.1.1/nagvis/frontend/nagvis-js/index.php
NagVis Docs
Pingback: Hookah Supplies
Pingback: Cgi script installation service
Pingback: Tweets that mention Install & Configure NagVis | LinuxReaders -- Topsy.com