This file contains hidden or 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
[pid 15372] futex(0x7f56bd77a584, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 180037, {1382713223, 284066576}, ffffffff) = -1 ETIMEDOUT (Connection timed out) | |
[pid 15372] clock_gettime(CLOCK_REALTIME, {1382713223, 284262812}) = 0 | |
[pid 15372] futex(0x7f56bd77a5b0, FUTEX_WAKE_PRIVATE, 1) = 0 | |
[pid 15372] futex(0x7f56bd77a584, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 180039, {1382713223, 294262812}, ffffffff) = -1 ETIMEDOUT (Connection timed out) | |
[pid 15372] clock_gettime(CLOCK_REALTIME, {1382713223, 294443228}) = 0 | |
[pid 15372] futex(0x7f56bd77a5b0, FUTEX_WAKE_PRIVATE, 1) = 0 | |
[pid 15372] futex(0x7f56bd77a584, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 180041, {1382713223, 304443228}, ffffffff) = -1 ETIMEDOUT (Connection timed out) | |
[pid 15372] clock_gettime(CLOCK_REALTIME, {1382713223, 304614972}) = 0 | |
[pid 15372] futex(0x7f56bd77a5b0, FUTEX_WAKE_PRIVATE, 1) = 0 | |
[pid 15372] futex(0x7f56bd77a584, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 180043, {1382713223, 314614972}, ffffffff) = -1 ETIMEDOUT |
This file contains hidden or 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
16:58:42.512969 IP6 2001:470:b792:1:940:2d84:8ea2:7e96 > 2a03:2880:f006:301:face:b00c:0:1: ICMP6, echo request, seq 533, length 64 | |
16:58:42.512969 IP6 2001:470:b792:1:940:2d84:8ea2:7e96 > 2a03:2880:f006:301:face:b00c:0:1: ICMP6, echo request, seq 533, length 64 | |
16:58:42.513011 IP6 2001:470:b792:1:940:2d84:8ea2:7e96 > 2a03:2880:f006:301:face:b00c:0:1: ICMP6, echo request, seq 533, length 64 | |
16:58:42.542823 IP6 2a03:2880:f006:301:face:b00c:0:1 > 2001:470:b792:1:940:2d84:8ea2:7e96: ICMP6, echo reply, seq 533, length 64 | |
16:58:42.542897 IP6 2a03:2880:f006:301:face:b00c:0:1 > 2001:470:b792:1:940:2d84:8ea2:7e96: ICMP6, echo reply, seq 533, length 64 | |
16:58:42.557646 IP6 2a03:2880:f006:301:face:b00c:0:1 > 2001:470:b792:1:940:2d84:8ea2:7e96: ICMP6, echo reply, seq 533, length 64 | |
16:58:42.557719 IP6 2a03:2880:f006:301:face:b00c:0:1 > 2001:470:b792:1:940:2d84:8ea2:7e96: ICMP6, echo reply, seq 533, length 64 | |
16:58:42.572402 IP6 2a03:2880:f006:301:face:b00c:0:1 > 2001:470:b792:1:940:2d84:8ea2:7e96: ICMP6, echo reply, seq 5 |
This file contains hidden or 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
--- tpl.default 2013-10-18 17:05:30.454860448 +0200 | |
+++ files/manifests/basenode/lxc/template_ubuntu 2013-10-18 19:25:10.563448837 +0200 | |
@@ -46,17 +46,19 @@ | |
iface lo inet loopback | |
auto eth0 | |
-iface eth0 inet dhcp | |
+#iface eth0 inet dhcp | |
+iface eth0 inet manual | |
EOF |
This file contains hidden or 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
/sbin/iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT | |
/sbin/iptables -A FORWARD -s 172.16.0.0/12 -j ACCEPT | |
/sbin/iptables -t nat -s 172.16.0.0/12 -o eth0 -A POSTROUTING -j SNAT --to 91.214.168.110 | |
# | |
# Netflix | |
# | |
for i in /proc/sys/net/ipv4/conf/*/rp_filter ; do | |
echo 2 > $i | |
done |
This file contains hidden or 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
$default_packages = [ "vim-enhanced", "strace", "wget", "git", "man", "patch", "Pound", "fuse-sshfs"] | |
package { $default_packages : | |
ensure => latest, | |
require => Yum::Managed_yumrepo['epel'] | |
} |
This file contains hidden or 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 | |
error_reporting(-1); | |
ini_set('display_errors',1); | |
if (@$i / 0 ) { | |
echo 'hoi'; | |
} else { | |
echo 'doei'; | |
} |
This file contains hidden or 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
Spec: | |
@@bind::record { $::fqdn: | |
zone => 'enrise.com', | |
type => 'A', | |
target => $::network_ethPublic | |
} | |
Result: | |
define bind9::record($fqdn='', $target='', $type='A', $order=10) { |
This file contains hidden or 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 | |
$obj = (object) array('foo' => 'bar'); | |
var_dump(zend_shm_cache_store('myLittleKey', $obj)); | |
var_dump($res = zend_shm_cache_fetch('myLittleKey')); | |
var_dump(serialize($obj)==serialize($res)); |
This file contains hidden or 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
Error: http://img14.imageshack.us/img14/5259/vwr2.png | |
"It appears as though you do not have permission to view information for any of the services you requested..." | |
But the cgi.cfg file does look correct: | |
root@internal-services02:/usr/lib/cgi-bin/icinga# grep authorized_for_ /etc/icinga/cgi.cfg | |
authorized_for_system_information=icingaadmin | |
authorized_for_configuration_information=icingaadmin | |
authorized_for_full_command_resolution=icingaadmin | |
authorized_for_system_commands=icingaadmin | |
# NOTE: Users in authorized_for_all_hosts are also automatically |
This file contains hidden or 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
class cluster::internal-services::role::icinga ( | |
) { | |
class { '::icinga': | |
puppi => true, | |
enable_idoutils => true, | |
enable_icingaweb => true, | |
enable_debian_repo_legacy => false, | |
manage_repos => true, |