NDO2DB 1.4b4 field length problem

Andreas Ericsson ae at op5.se
Thu Oct 18 18:37:56 CEST 2007


Livio Zanol Puppim wrote:
> How can I do this?
> 

Make a copy of the original file (name it orig-filename.orig), then run

	diff -u orig-filename.orig orig-filename > \
		ndoutils-enlarge-alias-column.patch

Send the ndoutils-enlarge-alias-column.patch file to
nagios-devel at lists.sourceforge.org.


> 2007/10/17, Andreas Ericsson <ae at op5.se>:
>> Livio Zanol Puppim wrote:
>>> Thanks,
>>> I've used an ALTER TABLE and my problem is now solved....
>>>
>>> ALTER TABLE nagios_hosts CHANGE alias alias varchar(128) NOT NULL
>> default
>>> "";
>>>
>>> I hope that fields will be bigger in new versions.
>>>
>> Since you're well-versed enough in SQL, just submit a patch. It's the best
>> way to get changes done the way you want them. Otherwise Ethan might
>> decide
>> to make the field 65 chars, which would indeed be bigger, but still not
>> quite big enough. I know I'd do it, but that's mainly because I'm evil in
>> a friendly and easy-going way.
>>
>> --
>> Andreas Ericsson                   andreas.ericsson at op5.se
>> OP5 AB                             www.op5.se
>> Tel: +46 8-230225                  Fax: +46 8-230231
>>
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list