Simple PHP 5 Nagios Dashboard.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
config.php
functions.php
index.php
json.php

README.md

Simple Nagios Dashboard

Simple Nagios Dashboard is a simple php based Nagios Dashboard. It is intended for a wall mounted monitor. It displays all host and service warnings.

It requires that the Nagios status.dat file is available as JSON, it includes a module for that.

Setup is very simple, only PHP 5 is required. No database or whatsoever.

Installation

  • Extract code on Nagios Server

  • Edit $statusFile in json.php to point to the location of your nagios status.dat file

  • Install cronjob to generate JSON file:

      # /etc/cron.d/nagios-json
      * * * * * root /usr/bin/php5 /var/www/json.php > /var/www/nagios.json.tmp; cp /var/www/nagios.json.tmp /var/www/nagios.json
    
  • Extract code on webserver

  • Edit config.php and fill in your specific names and locations

  • ???

  • Visit page in web browser and PROFIT!!!

Credits