# The paths are certainly wrong. Change them !

alertdir   = /apps/Minotaure/alert.d
mondir     = /apps/Minotaure/mon.d
statedir   = /apps/Minotaure/state.d
authfile   = /apps/Minotaure/etc/auth.cf

serverport = 32777
trapport   = 32777

dtlogfile  = /apps/Minotaure/log/downtime.log
historicfile = /apps/Minotaure/log/historic2.log
historictime = 90d
histlength = 10000

pidfile    = /apps/Minotaure/etc/mon.pid
randstart  = 5s
histlength = 5000


hostgroup Stations  
	localhost 
	router2.com
	
hostgroup Dns
	127.0.0.1

hostgroup Web
	localhost

hostgroup News
	localhost

hostgroup Mail
	localhost

hostgroup Ftp
	localhost

hostgroup Ldap
	localhost

hostgroup Partitions
	/:10%  /var:10% /home:10%  /tmp:10% 
	
#hostgroup Telnet
#	localhost

#hostgroup SunRpc
#	localhost

########################################################
# 3)   Les services a surveiller sur ces groupes       #
########################################################

# Pour eliminer completement un test, il faut eliminer entierement le
# bloc "watch"

# monitors that terminate with ";;" are not executed with the
# host group appended to the command line

watch Stations
service PING
	interval 2m
	monitor my-fpingv.monitor
	period mo {1-12} wd {1-7} hr {0-23} min {0-59}
	startupalert   my-file.alert
	alert   my-file.alert 
	upalert my-file.alert 

watch Dns
service DNS
	interval 5m
	monitor my-dns.monitor
	period mo {1-12} wd {1-7} hr {0-23} min {0-59}
	startupalert   my-file.alert
	alert   my-file.alert 
	upalert my-file.alert 
      
watch Web
service WEB
	interval 5m
	monitor my-http.monitor
	period  mo {1-12} wd {1-7} hr {0-23} min {0-59}
	startupalert   my-file.alert
	alert   my-file.alert
	upalert my-file.alert

#watch News
#service NNTP
#	interval 5m
#	monitor my-nntp.monitor
#	period mo {1-12} wd {1-7} hr {0-23} min {0-59}
#	alert   my-file.alert 
#	upalert my-file.alert 
        

watch Mail
service SMTP
	interval 5m
	monitor my-smtp.monitor
	period mo {1-12} wd {1-7} hr {0-23} min {0-59}
	startupalert   my-file.alert
	alert   my-file.alert 
	upalert my-file.alert 
#service POP3
#	interval 5m
#	monitor my-pop3.monitor
#	period  mo {1-12} wd {1-7} hr {0-23} min {0-59}
#	alert   my-file.alert 
#	upalert my-file.alert 


watch Ftp
service FTP
	interval 5m
	monitor my-ftp.monitor
	period  mo {1-12} wd {1-7} hr {0-23} min {0-59}
	startupalert   my-file.alert
	alert   my-file.alert 
	upalert my-file.alert 


watch Partitions
service FreeSpace
	interval 1m
	monitor my-freespace.monitor
	period  mo {1-12} wd {1-7} hr {0-23} min {0-59}
	startupalert   my-file.alert
	alert   my-file.alert 
	upalert my-file.alert 
#service Disk
#	interval 1m
#	monitor my-metastat.monitor ;;
#	period  mo {1-12} wd {1-7} hr {0-23} min {0-59}
#	alert   my-file.alert 
#	upalert my-file.alert 
 

  

#watch Ldap
#service LDAP
#	interval 5m
#	monitor my-ldap.monitor
#	period  mo {1-12} wd {1-7} hr {0-23} min {0-59}
#	alert   my-file.alert 
#	upalert my-file.alert 



##########################
# 4) aliases definition  #
##########################

# keywords: alias description service watch service items url
#
# "items" followed bu none item means all items

alias Dupont
	Summertime,
	And the living is easy	
	service DNS
		watch Dns service DNS items 127.0.0.1
	service WEB
		watch Web service WEB items localhost
	service MAIL
		watch Mail service SMTP items
	service PING
		watch Stations service PING items localhost
		url /mrtg/Dupont
	service Disques
		watch Partitions  service FreeSpace items

alias Durand
	Fishs are jumping
	And the cotton is high
	service DNS
		watch Dns service DNS items 127.0.0.1
	service WEB
		watch Web service WEB items localhost
	service MAIL
		watch Mail service SMTP items
	service PING
		watch Stations service PING items localhost
		url /mrtg/Durand
	service Disques
		watch Partitions  service FreeSpace items


