Skip to content

Instantly share code, notes, and snippets.

View franmrl's full-sized avatar

Francisco Martínez franmrl

  • Barcelona, Catalunya, Spain
  • X @franmrl
View GitHub Profile
@gardart
gardart / nagios-set-downtime.sh
Created August 26, 2016 13:50
Nagios - Schedule Downtime from the command line (from any host)
#!/bin/bash
# Bash script to schedule downtime for Host
function die {
echo $1;
exit 1;
}
if [ $# -lt 1 ]; then