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
markus@ubuntu1:~$ cat /etc/lsb-release | |
DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=12.04 | |
DISTRIB_CODENAME=precise | |
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS" | |
markus@ubuntu1:~$ sudo apt-get install icinga-web | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done |
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
# (c) 2013 NETWAYS GmbH, Markus Frosch <markus.frosch@netways.de> | |
sub CustomMid { | |
my $CLIENTS = shift; | |
# process each host | |
foreach my $client (keys %{$CLIENTS}) { | |
# process each service | |
foreach my $service (keys %{$CLIENTS->{$client}->{'SERVICES'}}) { | |
### |
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 | |
set -e | |
makesource() { | |
version="$1" | |
shift | |
dist="$1" | |
shift |
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 | |
use strict; | |
use warnings; | |
use Data::Dumper; | |
my $file = 'objects.cache'; | |
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 module{ | |
module_name livestatus | |
module_type neb | |
path /usr/lib/check_mk/livestatus.o | |
args /var/lib/icinga/rw/live | |
} |
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
### | |
# Unstable | |
### | |
Package: * | |
Pin: release a=sid | |
Pin-Priority: -100 | |
Package: * | |
Pin: release a=unstable | |
Pin-Priority: -100 |
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
rhel5:~/monitoring-plugins | |
[0]markus [PR681] $ cat /etc/redhat-release | |
Red Hat Enterprise Linux Server release 5.10 (Tikanga) | |
rhel5:~/monitoring-plugins | |
[0]markus [PR681] $ nslookup www.rm.com 1.1.1.1 | |
;; connection timed out; trying next origin | |
;; connection timed out; no servers could be reached |
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
Running tests... | |
/usr/bin/ctest --force-new-ctest-process -j1 | |
Test project /home/lazyfrosch/icinga2-2.1.0/obj-powerpc64le-linux-gnu | |
Start 1: base-base_array/construct | |
1/54 Test #1: base-base_array/construct ............. Passed 0.01 sec | |
Start 2: base-base_array/getset | |
2/54 Test #2: base-base_array/getset ................ Passed 0.01 sec | |
Start 3: base-base_array/insert | |
3/54 Test #3: base-base_array/insert ................ Passed 0.01 sec | |
Start 4: base-base_array/remove |
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
(unstable_ppc64el-dchroot)lazyfrosch@pastel:~$ uname -a | |
Linux pastel 3.13-1-powerpc64le #1 SMP Debian 3.13.4-1 (2014-02-22) ppc64le GNU/Linux | |
(unstable_ppc64el-dchroot)lazyfrosch@pastel:~$ g++ test_double.cpp | |
(unstable_ppc64el-dchroot)lazyfrosch@pastel:~$ ./a.out | |
7.3 | |
(unstable_ppc64el-dchroot)lazyfrosch@pastel:~$ g++ test_float.cpp | |
(unstable_ppc64el-dchroot)lazyfrosch@pastel:~$ ./a.out | |
-7.3 |
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
information/base: Writing private key to '/var/lib/icinga2/ca/ca.key'. | |
Program received signal SIGSEGV, Segmentation fault. | |
ASN1_item_sign (it=0x7ffff4412b20 <X509_CINF_it>, algor1=0x63de30, algor2=0x6491e0, signature=0x649200, asn=0x649780, pkey=0x649910, | |
type=0x0) at a_sign.c:232 | |
232 a_sign.c: No such file or directory. | |
(gdb) bt full | |
#0 ASN1_item_sign (it=0x7ffff4412b20 <X509_CINF_it>, algor1=0x63de30, algor2=0x6491e0, signature=0x649200, asn=0x649780, | |
pkey=0x649910, type=0x0) at a_sign.c:232 | |
ctx = {digest = 0x0, engine = 0x0, flags = 0, md_data = 0x0} |
OlderNewer