<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/office/2004/12/omml">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>One way, though not ideal, would be to
have hobbit call a script and in the script grep the input received from hobbit
to see if the desired port is red and then continue to send the sms if it is or
exit if one of the others are down.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jason.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;font-family:
"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Guðmundur Ö. Ingvarsson [mailto:Gudmundur.Ingvarsson@landsbanki.is] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 15 January 2007 09:42<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">hobbit@hswn.dk</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [hobbit] Ports and Alerts</span></font><font
size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>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<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>of a host and not all. I’m unsure on how to filter that in the
hobbit-alerts.cfg settings.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>Currently this is how it’s set up<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>HOST=%(host1|host2|host3).* SERVICE=ports COLOR=RED<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>This is from my hobbit-clients.cfg<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>HOST=%^(host1).*<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>        PORT
"LOCAL=%([.:]7230)$" STATE=% min=1 max=160 TRACK=eb
"TEXT=EB"<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>        PORT
"REMOTE=%([.:]1521)$" STATE=% min=1 max=600 TRACK=oracle
"TEXT=Oracle"<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>        PORT
"REMOTE=%([.:]6611)$" STATE=% min=0 max=600 TRACK=rb
"TEXT=RB"<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'>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.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Calibri><span lang=EN-US style='font-size:
11.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><b><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman";color:black;
font-weight:bold'>Guðmundur Örn Ingvarsson</span></font></b><b><font size=2
color=black face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:
Arial;color:black;font-weight:bold'><br>
</span></font></b><b><font size=2 color=black face="Times New Roman"><span
lang=EN-US style='font-size:10.0pt;font-family:"Times New Roman";color:black;
font-weight:bold'>Landsbanki Íslands hf.</span></font></b><b><font size=2
color=black face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:
Arial;color:black;font-weight:bold'><br>
</span></font></b><font size=1 color=gray face=Arial><span lang=EN-US
style='font-size:7.5pt;font-family:Arial;color:gray'>Kerfisstjóri / Systems
Engineer<br>
Upplýsingatæknisvið / Information Technology - UNIX<br>
<br>
Sími / Tel.: (+354)  410 6730<br>
Farsími / Mobile: (+354)  820 5074<br>
Fax: (+354)  410 3032<br>
</span></font><font size=1 color="#0000ee" face=Arial><span lang=EN-US
style='font-size:7.5pt;font-family:Arial;color:#0000EE'><a
href="mailto:gudmundur.ingvarsson@landsbanki.is">gudmundur.ingvarsson@landsbanki.is</a><br>
<a href="http://www.landsbanki.is/"
title="http://www.landsbanki.is/ www.landsbanki.is">www.landsbanki.is</a></span></font><span
lang=EN-US><o:p></o:p></span></p>

<p><font size=1 color=gray face=Arial><span lang=EN-US style='font-size:7.5pt;
font-family:Arial;color:gray'><br>
Fyrirvari/Disclaimer<br>
<a href="http://www.landsbanki.is/disclaimer"><font color=gray><span
style='color:gray'>http://www.landsbanki.is/disclaimer</span></font></a></span></font><span
lang=EN-US><u1:P></u1:P><o:p></o:p></span></p>

</div>

</body>

</html>