Ports and Alerts
list Guðmundur Ö. Ingvarsson
Mon, 15 Jan 2007 09:42:08 -0000
Message-Id: <user-e3b06f2e7286@xymon.invalid>
Hi,
I'm trying to use the hobbit to send me an sms when ports are flaggin red. However I only want this some some of the ports
of a host and not all. I'm unsure on how to filter that in the hobbit-alerts.cfg settings.
Currently this is how it's set up
HOST=%(host1|host2|host3).* SERVICE=ports COLOR=RED
This is from my hobbit-clients.cfg
HOST=%^(host1).*
PORT "LOCAL=%([.:]7230)$" STATE=% min=1 max=160 TRACK=eb "TEXT=EB"
PORT "REMOTE=%([.:]1521)$" STATE=% min=1 max=600 TRACK=oracle "TEXT=Oracle"
PORT "REMOTE=%([.:]6611)$" STATE=% min=0 max=600 TRACK=rb "TEXT=RB"
Can I define further the service bit to filter out the ports I don't want? I would only like to receive alerts in SMS for the remote ports.
Guðmundur Örn Ingvarsson
Landsbanki Íslands hf.
Kerfisstjóri / Systems Engineer
Upplýsingatæknisvið / Information Technology - UNIX
Sími / Tel.: (+354) 410 6730
Farsími / Mobile: (+354) 820 5074
Fax: (+354) 410 3032
user-3dc750aa2e0c@xymon.invalid <mailto:user-3dc750aa2e0c@xymon.invalid>
www.landsbanki.is <http://www.landsbanki.is/>
Fyrirvari/Disclaimer
http://www.landsbanki.is/disclaimer