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
define service { | |
name bla-passive-template | |
use pnp-svc | |
is_volatile 1 | |
check_command unknown-report!"Report out of Date!" | |
max_check_attempts 1 | |
normal_check_interval 1 | |
retry_check_interval 1 | |
active_checks_enabled 0 | |
passive_checks_enabled 1 |
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
# performance data | |
process_performance_data=1 | |
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$ | |
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$ | |
service_perfdata_file_mode=a | |
host_perfdata_file_mode=a |
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
Return-Path: <[email protected]> | |
Received: from [10.60.20.43] ([193.170.94.254]) | |
by mx.google.com with ESMTPSA id f45sm8725929eeg.5.2014.02.13.08.32.23 | |
for <multiple recipients> | |
(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); | |
Thu, 13 Feb 2014 08:32:24 -0800 (PST) | |
Message-ID: <[email protected]> | |
Date: Thu, 13 Feb 2014 17:32:25 +0100 | |
From: Aaron Zauner <[email protected]> |
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:33:46 < ccesario> file ./Bin/Release/icinga2 && ./Bin/Release/icinga2 --version | |
16:33:46 < ccesario> ./Bin/Release/icinga2: executable (RISC System/6000) or object module not stripped | |
16:33:46 < ccesario> icinga2 - The Icinga 2 network monitoring daemon. (Version: v0.0.9-173-g2874fe1) |
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
'...' means something is missing | |
object Host "checkper1" { | |
import ... | |
check_period = "8x5" //apply rule matches | |
groups = [ "foo-server" ] | |
... | |
vars.has_custom_check_period = true //could be used too for apply match | |
} |
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
RPM Repository | |
============== | |
< # wget http://packages.icinga.org/epel/6/snapshot/ICINGA-snapshot.repo -O /etc/yum.repos.d/ICINGA-snapshot.repo | |
> # wget http://packages.icinga.org/epel/ICINGA-snapshot.repo -O /etc/yum.repos.d/ICINGA-snapshot.repo | |
Cluster Konfigurationssynchronisation | |
===================================== | |
ApiListener Objekte benötigen die zusätzliche Einstellung 'accept_config = true' um von der Parentzone Konfiguration anzunehmen. |
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
Explain the following: | |
1) Which User is getting notified for which Host? | |
2) Which assign/ignore expressions match for the Hosts and Users? | |
/* generated by puppet */ | |
object Host "puppet-generated-host1" { | |
import "puppet-host" | |
import "db-server" | |
check_Command = "generated-hostalive" |
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
# cat 7560.conf | |
object Host "7560-server" { | |
import "test-generic-host" | |
address = "127.0.0.1" | |
check_command = "hostalive" | |
vars.interfaces["eth0"] = { | |
//vars.interfaces.eth0 = { | |
"2dcoord" = "3,5" | |
port = 1 |
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
object CheckCommand "no-address-http" { | |
import "http" | |
arguments.remove("-I") | |
} | |
apply Service for (http_vhost => config in host.vars.http_vhosts) { | |
import "generic-service" | |
check_command = "no-address-http" |
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
object Host "lcp-example" { | |
import "rittal-host" | |
display_name = "Rittal LCP Example" | |
address = "192.168.1.1" | |
groups += [ "rittal" ] | |
vars.rittal_checks["water-out-temp"] = { | |
display_name = "Water-Out Temperature [decigrade C]" | |
rittal_oid = ".1.3.6.1.4.1.2606.7.4.2.2.1.11.2.74" | |
rittal_warn = "50:250" |
OlderNewer