<html><div style='background-color:'><P>Hi <FONT size=2>Andreas Ericsson,</FONT></P>
<P><FONT size=2>Thanks for the tip. I have just implemented script. And everything works quiet beautifully. If </FONT></P>
<P><FONT size=2>any one wants this perl script let me know.</FONT></P>
<P><FONT size=2>Thanks again</FONT><BR></P>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT size=3><FONT face="Times New Roman">-- <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT size=3><FONT face="Times New Roman">Regards,<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT size=3><FONT face="Times New Roman">Farhan Ahmed<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT size=3><FONT face="Times New Roman">NMS Engineer<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-no-proof: yes">Soul </SPAN><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:country-region><st1:place><SPAN style="mso-no-proof: yes">Australia</SPAN></st1:place></st1:country-region><SPAN style="mso-no-proof: yes"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-no-proof: yes">Level 14, 201 </SPAN><st1:country-region><st1:place><SPAN style="mso-no-proof: yes">Kent</SPAN></st1:place></st1:country-region><SPAN style="mso-no-proof: yes"> Streen<o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><st1:City><st1:place><SPAN style="mso-no-proof: yes">Sydney</SPAN></st1:place></st1:City><SPAN style="mso-no-proof: yes"><SPAN style="mso-spacerun: yes">  </SPAN>NSW 2000<o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT size=3><FONT face="Times New Roman">Phone(Office): 61 2 8220 6022<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT size=3><FONT face="Times New Roman">Fax(Office): 61 2 9252 6864<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><st1:City><st1:place><SPAN style="mso-no-proof: yes">Mobile</SPAN></st1:place></st1:City><SPAN style="mso-no-proof: yes">: 61 432 156906<o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT face="Times New Roman" size=3>Email: </FONT><A href="mailto:fahmed@soulaustralia.com.au"><FONT face="Times New Roman" size=3>fahmed@soulaustralia.com.au</FONT></A><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="mso-no-proof: yes"><FONT face="Times New Roman" size=3>URL: </FONT><A href="http://www.soulaustralia.com.au/"><FONT face="Times New Roman" size=3>www.soulaustralia.com.au</FONT></A></SPAN><o:p></o:p></P>
<P> </P></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
From: <I>Andreas Ericsson <ae@op5.se></I><BR>To: <I>farhan ahmed <farhhanahmed@hotmail.com></I><BR>CC: <I>nagios-devel@lists.sourceforge.net</I><BR>Subject: <I>Re: [Nagios-devel] Advance Notification Configuration</I><BR>Date: <I>Wed, 18 Oct 2006 11:23:32 +0200</I><BR>MIME-Version: <I>1.0</I><BR>Received: <I>from smtp-gw1.op5.se ([193.201.96.2]) by bay0-mc4-f7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 18 Oct 2006 02:23:36 -0700</I><BR>Received: <I>by smtp-gw1.op5.se (Postfix, from userid 588)id 809966BD16; Wed, 18 Oct 2006 11:23:35 +0200 (CEST)</I><BR>Received: <I>from [192.168.1.20] (unknown [213.88.215.14])by smtp-gw1.op5.se (Postfix) with ESMTPid 6C6656BCFE; Wed, 18 Oct 2006 11:23:32 +0200 (CEST)</I><BR>>farhan ahmed wrote:<BR>>>Hello Guys,<BR>>><BR>>>I have been using nagios for some time. it is awsome product. Keep <BR>>>it 
up<BR>>><BR>>>Now I have a challenging requirement in nagios. At the moment We <BR>>>have been using concord Ehealth for network element monitoring. In <BR>>>ehealth when device is down or up, we are executing PERL script <BR>>>that connects with oracle database through DBI and pull all client <BR>>>information against the device and send an email to NOC. so NOC ppl <BR>>>find every thing in email regarding the customer (customer name, <BR>>>reference number, location,contact etc).<BR>>><BR>>>I am just curious is it possible in Nagios.<BR>>><BR>>>For example device 'abc' is down and script should execute which <BR>>>fetch client information from database against the device 'abc' and <BR>>>put it in ticket and send notification(email). Is it possible?<BR>>><BR>><BR>>Yes. You can run any 
script/program/command you like as your <BR>>notification command. With minimal changes, you should be able to <BR>>re-use your eHealth notification script for use with Nagios. Sift <BR>>through the nagios docs for macros and how to use them and you'll be <BR>>good to go.<BR>><BR>>--<BR>>Andreas Ericsson andreas.ericsson@op5.se<BR>>OP5 AB www.op5.se<BR>>Tel: +46 8-230225 Fax: +46 8-230231<BR></FONT></BLOCKQUOTE></div><br clear=all><hr>Look at what’s new online at  <a href="http://g.msn.com/8HMBENAU/2752??PS=47575" target="_top"> www.whitepages.com.au</a> and experience the e-mail difference.</html>