Skip to content

Ivinco/nagiosUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nagiosUI

Features:

  • Responsive design: you can use phone, tablet or computer
  • Real-time status update: no need to refresh the page to see new alerts
  • XML and JSON: decreases traffic from the server few times which gives lower response time
  • Memcache & server side rendering
  • Actions:
    • quick acknowledgement:
      • Image of quickAck
      • quick acknowledged comment will be 'temp'
      • after quick acknowledgement icon will be changed to gravatar.com icon with user photo
      • quick acknowledged records are visible only in Normal tab
      • quick acknowledgement will be removed after instant acknowledgement and instant scheduling downtime
    • instant acknowledgement:
      • Image of ack
      • you must acknowledgement comment write in dialog
      • acknowledged record will be shown on Acknowledged tab
    • instant scheduling a downtime:
      • Image of sched
      • scheduling downtime comment you must write in dialog
      • scheduling downtime interval you must write/select from calendar in dialog
      • scheduled downtime record will be shown on Scheduled downtime tab
    • instant re-check:
      • Image of recheck
      • record will be rechecked in Nagios
  • mass operations (for grouped or searched/filtered results):
    • Image of mass
    • quick ack, instant ack, instant scheduling a downtime, instant re-check
  • Tabs (in type filters you can see count of alerts):
    • Image of tabs
    • Normal (alerts that are not acknowledged and not scheduled for downtime)
    • Acknowledged (acknowledged alerts)
    • Scheduled downtime (alerts scheduled for downtime)
    • EMERGENCY (alerts with suffix "EMERGENCY")
    • Hosts (just linke to Hosts list)
  • Grouping (you can turn on/off):
    • Image of grouping
    • Image of groupingAction
    • by Service: min 2 equal services (you can change it in config)
    • by Host: min 11 equal hosts (you can change it in config)
  • instant real-time search/filtering
  • instant javascript-based sorting
  • background refresh:
    • Image of refresh
    • you can choose frequency
  • 50% percentile duration
  • it shows only 1 alert if the whole host is down
  • services dependency

Installation:

  • install and run nagios-api: https://github.com/zorkian/nagios-api
  • you need to change htdocs/config/config.php.example file content and rename file to config.php:
    • $serversList = add information about nagios-api server
    • $database = mysql config
    • $infoRecordMark = inromation how detect info alert
    • $xmlArchive = nagios xml output path
    • $memcacheHost = memcache host
    • $memcachePort = memcache port
    • $memcacheName = memcache key (if you have few nagiosUI)
    • $accessControl = access control usage
    • $accessControlSuperUsers = superusers list
    • $accessControlGroupUrl = contact group path
    • $accessControlServiceUrl = services path
    • $longAlertsConfig = long alert notifications list
  • add data to db:
    • notes_urls
    • planned_templates
    • users_list