<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16700"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>I would try an escape key if I knew what it was. Any idea?</DIV>
<DIV> </DIV>
<DIV>It just seems strange to me that from Nagois on the way to Postfix the "&" is dumped somewhere along the way.<BR><BR>>>> <mail@catsnest.co.uk> 2011/02/11 12:35 >>><BR>On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger <Andre.Kruger@trw.com> wrote:<BR>> Hi<BR>><BR>> I have a problem getting my status detail sent (correctly) via email. Let me<BR>> explain. If I look at Nagios self and I look at the status detail for a<BR>> printer that I monitor I see the following, which is correct BTW:<BR>><BR>> service@kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre<BR>><BR>> If you copy and paste that link into word and you click it you will see that<BR>> it populates the entire email for you and you just have to hit send. Now<BR>> when this service goes into critical (like I have done here to test) it send<BR>> me an email, but this is where the problem comes in. When I get my email the<BR>> "&" is missing from the above link and then it does not work properly.<BR>> Somewhere Nagios removes it and I have no clue where. I have sent a test<BR>> mail from a shell on my Nagios machine as follows:<BR>><BR>> /usr/bin/printf "Body&Text" | /bin/mail -s "Subject" andre.kruger@trw.com.<BR>><BR>> When I receive this mail it still has the "&" in the body. So I am making<BR>> the assumption that somewhere between Nagios and Postfix when it send the<BR>> notification the "&" is removed. Can somebody please shed some light on<BR>> this?<BR><BR><BR><BR>try escaping or html encoding the #<BR><BR>><BR>> Regards<BR>> Andre<BR>><BR>> P Please consider your environmental responsibility before printing this<BR>> e-mail or any other document. Ask yourself whether you need a hard copy.<BR>> ------------------------------------------------------------------------------<BR>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:<BR>> Pinpoint memory and threading errors before they happen.<BR>> Find and fix more than 250 security defects in the development cycle.<BR>> Locate bottlenecks in serial and parallel code that limit performance.<BR>> <A href="http://p.sf.net/sfu/intel-dev2devfeb">http://p.sf.net/sfu/intel-dev2devfeb</A><BR>> _______________________________________________<BR>> Nagios-users mailing list<BR>> Nagios-users@lists.sourceforge.net<BR>> <A href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>> ::: Please include Nagios version, plugin version (-v) and OS when reporting<BR>> any issue.<BR>> ::: Messages without supporting info will risk being sent to /dev/null<BR>><BR><BR>------------------------------------------------------------------------------<BR>The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:<BR>Pinpoint memory and threading errors before they happen.<BR>Find and fix more than 250 security defects in the development cycle.<BR>Locate bottlenecks in serial and parallel code that limit performance.<BR><A href="http://p.sf.net/sfu/intel-dev2devfeb">http://p.sf.net/sfu/intel-dev2devfeb</A><BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null</DIV><BR>

    <div>
      <br>
      <font face="Webdings" color="green" size="2"><span>P</span></font><span><font face="Arial" color="green" size="2"> 
      Please consider your environmental responsibility before printing this 
      e-mail or any other document. Ask yourself whether you need a hard copy.</font></span>
    </div>
  </BODY></HTML>