This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: hubot | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the hubot hubot service | |
# Description: starts the hubot bot for the Campfire rooms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# This script receives pages in the formats | |
# /usr/bin/curl -d host="$HOSTALIAS$" -d output="$SERVICEOUTPUT$" -d description="$SERVICEDESC$" -d type=service -d state="$SERVICESTATE$" $CONTACTADDRESS1$ | |
# /usr/bin/curl -d host="$HOSTNAME$" -d output="$HOSTOUTPUT$" -d type=host -d state="$HOSTSTATE$" $CONTACTADDRESS1$ | |
# | |
# Author: | |
# maethor | |
# based on oremj (https://gist.github.com/oremj/3702073) | |
irc = require('irc') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- | |
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent: | |
# | |
# openldap backup handler script for backupninja | |
# | |
getconf backupdir /var/backups/ldap | |
getconf suffixes all | |
getconf compress yes | |
getconf ldif yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- | |
# vim: set filetype=sh sw=3 sts=3 expandtab autoindent: | |
HELPERS="$HELPERS ldap:ldap_database_backup" | |
ldap_create_file() { | |
while true; do | |
checkBox "ldap action wizard" "check options" \ | |
"compress" "compress the ldif output files" yes | |
status=$? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## configuration file for openldap backups | |
## | |
## Only support "slapcat" method. | |
## The LDIFs generated are suitable for use with slapadd. | |
## As the entries are in database order, not superior first order, | |
## they cannot be loaded with ldapadd without being reordered. | |
## | |
## backupdir (default /var/backups/ldap): the destination for the backups |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Guillaume Subiron, Sysnove, 2013 | |
# | |
# Description : | |
# | |
# This plugin checks if we're running the newest installed kernel. | |
# Works on Debian. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# | |
# Copyright (c) 2014 Guillaume <maethor> Subiron (http://www.sysnove.fr/) | |
# Plugin: check_nginx_status | |
# | |
$colors = array( | |
'read' => '#5a3d99', | |
'write' => '#ff0000', | |
'wait' => '#e5ca44', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
sudo: yes | |
tasks: | |
- name: Update packages list | |
apt: update_cache=yes | |
when: ansible_os_family == 'Debian' | |
- name: List packages to upgrade (1/2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Guillaume Subiron, Sysnove, 2014 | |
# | |
# Description : | |
# | |
# This plugin checks if all installed daemons are running. | |
# Works on Debian. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Guillaume Subiron, Sysnove, 2016 | |
# Inspired by Benjamin Sonntag's https://github.com/octopuce/octopuce-goodies/blob/master/letsencrypt-renew/letsencrypt-auto-renew.sh | |
# | |
# Description : | |
# | |
# This script generates or regenerates SSL certificates using acme-tiny | |
# to sign the certificate signing requests found in /etc/letsencrypt/ |
OlderNewer