Skip to content

Instantly share code, notes, and snippets.

@thehar
Created June 24, 2013 23:59
Show Gist options
  • Save thehar/5854817 to your computer and use it in GitHub Desktop.
Save thehar/5854817 to your computer and use it in GitHub Desktop.
Workflow for nagios multi-opsen
1. Bare repo lives as a bare repo hosted up by #{web_server} in /srv/nagios.git
2. Clone it over to /etc/nagios3
3. Write a script to make magical git pull --rebase origin master and merge local changes with commits
4. Does a verbose check of nagios configs and halts script if 1 not 0.
5. Happiness in nagios configs after -v restart it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment