<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I have been making use of check_log2.pl. It works fine. When I ran it from the command line on my Nagios server the output is correct.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>/usr/local/nagios/libexec/check_nrpe -H server111   -c check_logfiles<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>This brings back <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>WARNING: (3): [LOG|ERROR|27 Feb 2013 10:52:36,683|com.example.Bean|Worker-2|-]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The trouble is that the Nagios monitoring screen output in the Status Information field treats the first “| “ as a delimiter and truncates the output  to  <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>[LOG|<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Is there a way to make Nagios display the complete line ?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Willis<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";mso-fareast-language:EN-AU'>Willis Ralph</span></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> </span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";mso-fareast-language:EN-AU'>| Systems Administrator</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> <br></span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";mso-fareast-language:EN-AU'>ASX Limited | 20 Bridge Street | Sydney  NSW  2000 </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><br></span><b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:gray;mso-fareast-language:EN-AU'>t:</span></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> </span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";mso-fareast-language:EN-AU'> +61 2 9227 0661 |</span><b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> </span></b><b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:gray;mso-fareast-language:EN-AU'>m:</span></b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";mso-fareast-language:EN-AU'> 0417 652755 |</span><b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> </span></b><b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:gray;mso-fareast-language:EN-AU'>e: </span></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><br></span><b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:gray;mso-fareast-language:EN-AU'>w:</span></b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";mso-fareast-language:EN-AU'>  www.asx.com.au</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='font-size:18.0pt;font-family:Webdings;color:green;mso-fareast-language:EN-AU'>P</span></b><b><i><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> </span></i></b><b><i><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";color:green;mso-fareast-language:EN-AU'>Please consider the environment before printing this email</span></i></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'> <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-AU'><br><br><br><br><br><br><br></span><span style='mso-fareast-language:EN-AU'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div><PRE>

PRIVACY COLLECTION STATEMENT
ASX uses and discloses your personal information only for the purpose for
which you provided it. Your personal information will not be disclosed or used
for any other purpose unless you consent or ASX is otherwise permitted to do
so under the Privacy Act 1988 (Cth).

CONFIDENTIAL EMAIL
The information in this email is confidential and may be privileged or subject
to copyright. It is intended for the exclusive use of the addressee(s). If you 
are not an addressee, do not copy, distribute or otherwise act on the email. 
If you have received the email in error, please contact the sender immediately 
and delete the email.  The unauthorised use of this email may result in 
liability for breach of confidentiality, privilege or copyright. E-mail 
transmissions cannot be guaranteed to be secure or error-free as information 
could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, 
or contain viruses. The sender therefore does not accept liability for errors 
or omissions in the contents of this message which arise as a result of e-mail
transmission.
</PRE></body></html>