# Config file for portmon nocol monitor
#
# Order is important... the first substring match will return and NOT
# test the remaining strings. Put the high severity tests first.
# To check just connectivity to a port, just put the HOST line.
#
# Format:
#	POLLINTERVAL  600
#	HOST <name> <addr>  <variable>  <port#> <failseverity> [send-string]
#	[maxseverity	response]
#	[maxseverity	response]
#	HOST ....
#
# 'send-string'  and the responses are optional.
##
POLLINTERVAL	600
READTIMEOUT	30
#
# Just check connectivity to 'gopher' port.
HOST  gopher	128.121.50.2	GOPHERport	70	Critical
#
#
HOST  tigger 	128.121.50.145  NEWSport  119  Critical 
info	posting ok
#
HOST  nisc  	128.121.50.7    NEWSport  119  Error
info	posting ok

# for innd. Checking for 'no space'  'expire running' 'bad article file'
HOST  c3po	192.41.171.5	NEWSport  119	Critical
critical	space
info		expire
critical	Bad file number writing history file -- throttling
info		posting ok
info		no posting
#
HOST  nisc	128.121.50.7	SMTPport  25	Critical  HELO portmon.test
info	250
#
HOST  www	128.121.3.40	WWWport   80	Critical  GET /index.html HTTP/1.0\n
info		<HEAD>
info		<Head>
info		<head>
#
# Following to check how much time it takes to fetch an entire web
# page. Must search for a string written out towards the end of the
# web page. Only specify time on the first line, rest are all responses.
# The times are thresholds for warning, error and critical.
HOST  www	127.0.0.1	WWWspeed 80  Critical  GET /test.html HTTP/1.0\n
TIME	5  10  15	</HTML>
TIME		</Html>
TIME		</html>
#


