<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Nachricht</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=422541113-15042004><FONT face=Arial color=#0000ff size=2><SPAN 
class=922481213-15042004>the buffer of the return message is fixed in the c 
files,</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=422541113-15042004><FONT face=Arial color=#0000ff size=2><SPAN 
class=922481213-15042004>a) workaround the buffer 
malloc()</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=422541113-15042004><FONT face=Arial color=#0000ff size=2><SPAN 
class=922481213-15042004>b) </SPAN></FONT></SPAN><SPAN 
class=422541113-15042004><FONT face=Arial color=#0000ff size=2>let the plugin 
directly write into the mysql-db? and just return OK/CRIT/WARN to 
nagios</FONT></SPAN></DIV>
<DIV></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN class=922481213-15042004><FONT 
face=Arial color=#0000ff> </FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Tahoma><FONT size=2><SPAN 
class=922481213-15042004> </SPAN>-----Ursprüngliche 
Nachricht-----<BR><B>Von:</B> Markus.Roelle@sytech.de 
[mailto:Markus.Roelle@sytech.de] <BR><B>Gesendet:</B> Donnerstag, 15. April 2004 
15:09<BR><B>An:</B> 'nagios-users@lists.sourceforge.net'<BR><B>Betreff:</B> 
[Nagios-users] reading strings with many 
characters<BR><BR></DIV></FONT></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px"><BR><FONT face=sans-serif 
  size=2>Hi</FONT> <BR><FONT face=sans-serif size=2>I have the following 
  problem:</FONT> <BR><FONT face=sans-serif size=2>I wrote a plugin for reading 
  actual status informations of a license server.</FONT> <BR><FONT 
  face=sans-serif size=2>The results are about more hundert characters.</FONT> 
  <BR><BR><FONT face=sans-serif size=2>But Nagios shows only about the first 320 
  characters, not more.</FONT> <BR><BR><FONT face=sans-serif size=2>I'm using 
  Nagios 1.2 with mysql database for status informations. I used longblob 
  instead of blob type for the plugin_output.</FONT> <BR><FONT face=sans-serif 
  size=2>But it doesn´t matter.</FONT> <BR><BR><FONT face=sans-serif size=2>I 
  would like to store this long strings in the nagios database and split them 
  with a script into several databases.</FONT> <BR><BR><FONT face=sans-serif 
  size=2>Is there a solution ?</FONT> <BR><BR><FONT face=sans-serif size=2>Thank 
  you</FONT> <BR><BR><FONT face=sans-serif size=2>Markus 
Roelle</FONT></BLOCKQUOTE></BODY></HTML>