Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Latest commit

 

History

History
34 lines (20 loc) · 1.23 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.23 KB

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