Created
April 26, 2012 09:24
-
-
Save dnsmichi/2498028 to your computer and use it in GitHub Desktop.
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 | |
check_period 24x7 | |
parallelize_check 1 | |
obsess_over_service 1 | |
check_freshness 1 | |
freshness_threshold 46800 #13h | |
event_handler_enabled 1 | |
flap_detection_enabled 0 | |
process_perf_data 1 | |
retain_status_information 1 | |
retain_nonstatus_information 1 | |
contact_groups none | |
notification_interval 16777215 | |
notification_period 24x7 | |
notification_options w,u,c,r,f | |
notifications_enabled 1 | |
register 0 | |
icon_image s.gif' width='0' height='0' border='0'></a><a href='/pnp4nagios/graph?host=$HOSTNAME$&srv=$SERVICEDESC$' class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$&srv=$SERVICEDESC$'><img width='20' height='20' src='/icinga/images/logos/Stats2.png' border='0 | |
} | |
################################################## | |
# 100-AT-MKNS-SEC | |
################################################## | |
# dummy check_command, because pnp needs this to select the correct template | |
# das template heisst blacmd.php | |
# sowie das custom tpl /etc/pnp4nagios/check_commands/blacmd.cfg unterschiedlichen heartbeat setzt | |
define command { | |
command_name blacmd | |
command_line $USER1$/noreport.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ | |
} | |
define service { | |
use bla-passive-template | |
host_name bar | |
service_description foobar | |
check_command blacmd!No Report received! | |
max_check_attempts 1 | |
freshness_threshold 36000 #10h | |
contact_groups blauser | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment