Portál AbcLinuxu, 9. listopadu 2025 20:46
define hostdependency{
host_name Host1
dependent_host_name Host2,Host3
notification_failure_criteria d,o
}
define hostdependency{
host_name Host2
dependent_host_name Host3
notification_failure_criteria d,o
}
parametr "r" tam zadat nejde, není podporovaný. Parametr "o" nějak nedělá nic. Nejde nějak uplatnit notifikaci přímo toho hosta a ne té dané konkrétní dependency. Jak to máme pořešeno?
díky za rady, B.
If the master host is in one of the failure states we specify, notifications for the dependent host will not be sent to contacts.ale moudrej s toho moc nejsem, NN
# Host definition
define host{
use generic-host ; Name of host template to use
host_name host1
alias switch-a15
address 192.168.xx.xx
check_command check-host-alive
max_check_attempts 20
notification_interval 99999
notification_period 24x7
notification_options d,r
}
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.