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
INFO global: Vagrant version: 1.5.1 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.5.1/bin/vagrant" | |
INFO global: VAGRANT_LOG="debug" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Linux" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" |
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/bash | |
# https://github.com/ClusterLabs/resource-agents/pull/320 | |
# Script to try to reproduce the bug | |
while true; do | |
PRE=$(</proc/net/dev) | |
STDOUT=$(/bin/bash /usr/lib/ocf/lib/heartbeat/findif.sh 2>&1) | |
if [[ $? != 0 ]]; then | |
echo "Before /proc/net/dev" > /tmp/bug-resource-agents | |
echo "$PRE" >> /tmp/bug-resource-agents |
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
<section data-markdown> | |
<script type="text/template"> | |
## Page title | |
A paragraph with some text and a [link](http://hakim.se). | |
</script> | |
</section> | |
<section data-markdown> | |
<script type="text/template"> | |
## Otra pagina |
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
<section> | |
<h2>Broadcasting Your</h3> | |
<h1>Reveal.js</h1> | |
<h2>Slideshow Presentations</h2> | |
</section> | |
<section> | |
Balbalblab | |
</section> |
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
<section class="" data-id="c6f4a3adfec9442f0c5176bee6c3ecc3"> | |
<h1>Monitorización automatizada</h1> | |
<div>presentacion</div> | |
</section> | |
<section class="" data-id="fde3a8402e73af2183265cb6f68d0098"> | |
<h2>Puppet</h2> | |
<div> | |
<br> | |
</div> | |
<div>blabl</div> |
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: puppetmaster | |
# Required-Start: $network $named $remote_fs $syslog | |
# Required-Stop: $network $named $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
### END INIT INFO | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
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
# | |
# Collectd check should be defined: | |
# Name: collectd | |
# Puppet type: monitorizacion::checks::collectd | |
# Example: {"Plugin":"processes","Process":"sshd","Threshold":[{"Instance":"sshd","Type":[{"Name":"ps_count","DataSource":"processes","FailureMin":1}]}]} | |
# | |
#{ | |
# "Plugin": "processes", | |
# "Process": "sshd", | |
# "Threshold": [ |
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
import gearman | |
import base64 | |
import time | |
def check_request_status(job_request): | |
if job_request.complete: | |
print "Job %s finished! Result: %s - %s" % (job_request.job.unique, job_request.state, job_request.result) | |
elif job_request.timed_out: | |
print "Job %s timed out!" % job_request.unique | |
elif job_request.state == JOB_UNKNOWN: |
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
[icinga-stable-release] | |
name=ICINGA (stable release for epel) | |
baseurl=http://packages.icinga.org/epel/$releasever/release/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=http://packages.icinga.org/icinga.key |
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
define command{ | |
command_name check_local_users | |
command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ | |
} | |
define command{ | |
command_name check-host-alive | |
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 5 | |
} |
OlderNewer