AW: reading strings with many characters
Helmut Januschka
h.januschka at krone.at
Thu Apr 15 15:13:39 CEST 2004
the buffer of the return message is fixed in the c files,
a) workaround the buffer malloc()
b) let the plugin directly write into the mysql-db? and just return OK/CRIT/WARN to nagios
-----Ursprüngliche Nachricht-----
Von: Markus.Roelle at sytech.de [mailto:Markus.Roelle at sytech.de]
Gesendet: Donnerstag, 15. April 2004 15:09
An: 'nagios-users at lists.sourceforge.net'
Betreff: [Nagios-users] reading strings with many characters
Hi
I have the following problem:
I wrote a plugin for reading actual status informations of a license server.
The results are about more hundert characters.
But Nagios shows only about the first 320 characters, not more.
I'm using Nagios 1.2 with mysql database for status informations. I used longblob instead of blob type for the plugin_output.
But it doesn´t matter.
I would like to store this long strings in the nagios database and split them with a script into several databases.
Is there a solution ?
Thank you
Markus Roelle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040415/b5e04d1d/attachment.html>
More information about the Users
mailing list