disable alert by test in bb-hosts

Sue Bauer-Lee sblee at tazmania.org
Thu Jun 8 18:04:21 CEST 2006


The background for this request is as follows:
	1. each host has a standard list of services we check 
	2. alert rules group systems by functionality (regex) rather
	   specifying a separate alert rule for each host or page.

	HOST="%(tucwbd.*|vsiwbd.*)"
        MAIL $UNIXOPS SERVICE=conn,disk,http,procs DURATION>5m REPEAT=10m TIME=W:0800:1800 RECOVERED


Request:
	1. For hostA in bb-hosts:
		10.20.33.208     tucwbd153 # telnet ssh

	I want to add a series of http checks as a dependency chain
	such that if http://tucwbd153 fails, 
		1. don't alert on http://tucwbd153/web/hobbit
		2. if http://tucwbd153/web/hobbi fails, 
		   don't alert on http://hobbit:monitor@tucwbd153/web/hobbit

Is this setup as a depends statement?
Additionally, for certain periods of time I may want to set up a test for 
a host that I don't want to receive alerts for. I'd hate to have to break out 
those individual hostnames from regex above in my alerts file. Is there a
tag I can use with the test in bb-hosts to disable that alert?

	10.20.33.208     tucwbd153 # telnet ssh noalert=http://tucwbd153/web/hobbit
	(is line continuation recognized for the bb-hosts config?)

	I always want alerts for specified time frames for telent, conn, ssh
	but the DEV systems for the web team can have lots of stops and
	starts of web service. 

	clear would be ok to display for downtime.

Is there a better way to manage alerts for regex group and then isolate 
specific tests?

		
-------------------------
Sue Bauer-Lee        |    
------------------------



More information about the Xymon mailing list