define timeperiod {
timeperiod_name tp_backupcheck
alias bla
day 1 - -1 08:00-08:15
}
define service {
use normal
host_name bla01
service_description bla backup
chec
Hi all,
I have a question concerning
http://nagios.sourceforge.net/docs/3_0/objectinheritance.html.
I have
- a host definition with a certain contact_groups directive
- the host is part of a hostgroup
- which is part of another hostgroup
I also have
- a service template referencing that hostgrou
Assaf Flatto flatto.net> writes:
> > [ wildcard def here ]
>>
> > Now suppose there are services for a few hosts that would need to have a
> > different check_period (they have, in hosts.cfg).
> >
> > What would be the most elegant way to accomplish that without adding too
> >many new services?
Hey there,
In case one has many services checked via wildcard templates:
define service {
namestd
use normal
register0 ;;; template
host_name * ;;; ALL hosts
check_period24x7
; contact_groups are inherited
Danilo Godec agenda.si> writes:
>
> AFAIK these intervals don't take time as their argument, but a
> multiplier of 'interval_length' (by default, this is set to 60 seconds).
>
> So Nagios probably ignores the 's' suffix and the resulting intervals
> are all in minutes...
>
Damn. Shouldn't it
Warning: Service 'TRAP' on host 'swfc6' has a notification interval less than
its check interval! Notifications are only re-sent after checks are made, so
the effective notification interval will be that of the check interval.
happens in these cases:
normal_check_interval 30s