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
#!/usr/bin/env python2 | |
import base64 | |
import json | |
import logging | |
import requests | |
import sys | |
from swiftclient import client | |
class AuthenticationHubic: |
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
#!/usr/bin/env python | |
import xmlrpclib | |
import sys | |
# Simple Nagios/Icinga check for a process under Supervisord. | |
# Requires XML-RPC interface (inet) enabled | |
__author__ = 'Jan-Piet Mens <jpmens()gmail.com>' |
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
#!/usr/bin/env python | |
## GENERATED FILE - DO NOT EDIT | |
import urllib2 | |
import sys | |
import os | |
try: | |
import json |
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
#!/usr/bin/perl | |
# -*- perl -*- | |
# | |
# varnish_ - Munin plugin to for Varnish | |
# Copyright (C) 2009 Redpill Linpro AS | |
# | |
# Author: Kristian Lyngstøl <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
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: svnserve | |
# Required-Start: $network $local_fs $remote_fs | |
# Required-Stop: $network $local_fs $remote_fs | |
# Should-Start: $all | |
# Should-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 |
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
require "logstash/outputs/base" | |
require "logstash/namespace" | |
require "thread" | |
# Write events over a UDP socket. | |
# | |
# Each event json is separated by a newline. | |
class LogStash::Outputs::Udp < LogStash::Outputs::Base |
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 | |
export PATH=${PATH}:/usr/local/bin:/usr/bin | |
mysqldir="/data/backup/mysql" | |
date=`date +%Y-%m-%d` | |
dbdir="/var/lib/mysql" | |
if [ ! -d "${mysqldir}/${date}" ]; then | |
mkdir -p ${mysqldir}/${date} | |
fi |
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 | |
class soapclientd extends soapclient | |
{ | |
public $action = false; | |
public function __construct($wsdl, $options = array()) | |
{ | |
parent::__construct($wsdl, $options); | |
} |
NewerOlder