<div>Thanks,</div>
<div>I've used an ALTER TABLE and my problem is now solved....</div>
<div> </div>
<div>ALTER TABLE nagios_hosts CHANGE alias alias varchar(128) NOT NULL default "";</div>
<div> </div>
<div>I hope that fields will be bigger in new versions.<br><br> </div>
<div><span class="gmail_quote">2007/10/17, Andreas Ericsson <<a href="mailto:ae@op5.se">ae@op5.se</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Livio Zanol Puppim wrote:<br>> Hi,<br>><br>> I'm having troubles with the fields length in the table "nagios_hosts". The
<br>> "alias" field is not supporting all characters that is written at the config<br>> file.<br>><br>> I've checked the database an saw this definition for fields:<br>> | alias                                   | varchar(64)
<br>> | display_name                      | varchar(64)<br>> | address                              | varchar(128)<br>><br>> Example:<br>><br>> The alias is like this at the config file:<br>> Superintendencia Regional de Educacao de Cachoeiro de Itapemim,500-0000,se
<br>> 1/3.00,(28)xxxx-xxxx<br>><br>> At the database the same alias is showing this:<br>> Superintendencia Regional de Educacao de Cachoeiro de Itapemim,5<br>><br>><br>> Well, as you can see, the field has archived it's limit, and cannot store
<br>> the entire alias. Is there anyway I can raise the field length so the alias<br>> is entirely stored at the database?<br><br>Just do an ALTER TABLE sql thingie. Google probably has ample material for you<br>to read.
<br><br>> Is this corrected in new versions?<br>><br><br>I wouldn't bet on it, but you can always check.<br><br>--<br>Andreas Ericsson                   <a href="mailto:andreas.ericsson@op5.se">andreas.ericsson@op5.se
</a><br>OP5 AB                             <a href="http://www.op5.se">www.op5.se</a><br>Tel: +46 8-230225                  Fax: +46 8-230231<br></blockquote></div><br>