<DIV>Except... this is the nagios database, not my own database, and the column for return strings is of type BLOB, and all the other return strings are saved fully... BTW - the string saved inclludes the 'OK: ' as well as the '0'</DIV>
<DIV> </DIV>
<DIV>-Al<BR><BR><B><I>jeff vier <jeff.vier@tradingtechnologies.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>On Thu, 2004-07-08 at 20:22 -0700, Al Smith wrote:<BR>> return the string<BR>> <BR>> OK: 0.8<BR>> <BR>> The problem is with the value stored in the MySQL database,<BR>> and displayed on the web page, is 0. So, when amp usage on the<BR>> unit is low, I get an alarm telling me it is zero!<BR>> <BR>> Has anyone else seen the trucated value like this? <BR><BR>Sounds like you've set your column to INT (or SMALLINT, BIGINT, etc).<BR><BR>read http://dev.mysql.com/doc/mysql/en/Numeric_types.html carefully.<BR></P>
<P> </P></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/100/*http://promotions.yahoo.com/new_mail/static/efficiency.html">New and Improved Yahoo! Mail</a> - 100MB free storage!