[Nagiosplug-devel] question about check_log2.pl

Willis Ralph Willis.Ralph at asx.com.au
Wed Feb 27 03:36:09 CET 2013


Hi,

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.


/usr/local/nagios/libexec/check_nrpe -H server111   -c check_logfiles

This brings back


WARNING: (3): [LOG|ERROR|27 Feb 2013 10:52:36,683|com.example.Bean|Worker-2|-]


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

[LOG|

Is there a way to make Nagios display the complete line ?

Regards,
Willis

Willis Ralph | Systems Administrator
ASX Limited | 20 Bridge Street | Sydney  NSW  2000
t:  +61 2 9227 0661 | m: 0417 652755 | e:
w:  www.asx.com.au
P Please consider the environment before printing this email











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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20130227/f235608e/attachment.html>


More information about the Devel mailing list