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 gudmundur.ingvarsson at landsbanki.is <mailto:gudmundur.ingvarsson at landsbanki.is> www.landsbanki.is <http://www.landsbanki.is/>
Fyrirvari/Disclaimer http://www.landsbanki.is/disclaimer