Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
README.md
config.conf
nagios-controller

README.md

Nagios Notification Controller

schedule specific time for nagios notifications

Config Path

Your can change nagios.cmd path in bin/*.sh

  • nagios default cmd path: /opt/nagios/var/rw/nagios.cmd

Install and Deploy

  1. Download nagios-controller release version
wget https://github.com/shazi7804/nagios-notification-controller/archive/v1.0.0.tar.gz
  1. uncompression nagios-controller to /opt
$ tar zxvf v1.0.0.tar.gz -C /opt
$ ln -fs nagios-notification-controller-1.0.0 nagios-controller
  1. Set maintain config.conf
  • Config is CSV format.
  • Service field is option.
#Host, Service, Downtime, Startime
web01,check_cpu,00:00,01:00
web02,check_cpu,00:00,01:00
web03,,00:00,01:00
  1. Set crontab run every minute.
*/1 * * * * root /opt/nagios-controller/nagios-controller
You can’t perform that action at this time.