# DEFAULTS
#
# normally warn with priority 40 5 minutes after first event and only if
# neither the same host nor one of the routers generates a conn down
# event
# do not send the same message again for at least 20 minutes (norepeat)
# if sending a reminder send it with priority '10' only, send at most 60 characters
# as a short message
*.*	prio=40 down=yellow delay=5 check="$host.conn and ((not '$router') or $router.conn)" \
	norepeat=30 keep=1 mail=inf,aeby,pager repeatprio=10 msgmax=60 pager=notify 

# report "conn down" with a priority of 80 and - of course - just
# suppress it if router also down but not if itself down
*.conn	prio=80 check="not '$router' or $router.conn"

# report cpu events with a lower priority so that 'autopage' can
# throw them away :-)
# ... and of course warn even if we lost conn to router
*.cpu	prio=20 check="1" delay=0
*.disk	prio=60 check="1" delay=0 norepeat=120
*.msgs	check="1" delay=0

#
# If a host is down just ignore other network related events
#
*.telnet	check="$host.conn"
*.login		check="$host.conn"
*.smtp		check="$host.conn"
*.smb		check="$host.conn"
*.rpc		check="$host.conn"
*.ntp		check="$host.conn"
*.http		check="$host.conn" delay=5
www-proxy-ext.http	delay=11

#
# NTP tends to temporarily loose sync from time to time ...
#
*.ntp	norepeat=600 delay=120

@LINUXWS.*	down=never
@FARM.* 	down=yellow

# do not report 'bak' events at all
#*.bak	down=never

# 
# ignore temporary problems during night
*.*{daytime 20:00-06:00}	postpone_to=05:00

#
# but there are a few things we absolutely need to know when they happen
tapix.*		priority=100 postpone=0 delay=0
tapix.smb	delay=6

#
# beware of filling up mailboxes during weekend
*.*{weekday Sat,Sun}	norepeat=300
