help

Antonio Marí Vallbona amari at at4.net
Sat Oct 31 11:33:54 CET 2009


Apreciado Nagios-devel-request,

Con fecha viernes, 30 de octubre de 2009, 23:28:11, escribió:

ndrlsn> Send Nagios-devel mailing list submissions to
ndrlsn>         nagios-devel at lists.sourceforge.net

ndrlsn> To subscribe or unsubscribe via the World Wide Web, visit
ndrlsn>         https://lists.sourceforge.net/lists/listinfo/nagios-devel
ndrlsn> or, via email, send a message with subject or body 'help' to
ndrlsn>         nagios-devel-request at lists.sourceforge.net

ndrlsn> You can reach the person managing the list at
ndrlsn>         nagios-devel-owner at lists.sourceforge.net

ndrlsn> When replying, please edit your Subject line so it is more specific
ndrlsn> than "Re: Contents of Nagios-devel digest..."


ndrlsn> Today's Topics:

ndrlsn>    1. Re: Case-insensitive objects in NDOutils (Ton Voon)
ndrlsn>    2. Accessing host_list/service_list within NEB module (Mathieu Gagn?)
ndrlsn>    3. Re: Accessing host_list/service_list within NEB module
ndrlsn>       (Ricardo Maraschini)
ndrlsn>    4. Re: Case-insensitive objects in NDOutils (Hendrik Baecker)
ndrlsn>    5. Anyone know why disabled hosts and services are   counted when
ndrlsn>       calculating host and service latency from	nagiostats and
ndrlsn>       extinfo.cgi? (Max)
ndrlsn>    6. Patch RFC - Nagios 3.2 - permanently remove sleep on
ndrlsn>       run_event == FALSE in main loop (events.c) or conditionally
ndrlsn>       remove using nagios.cfg configuration parameter? (Max)
ndrlsn>    7. [PATCH] Fix event broker callback functions self
ndrlsn>       de-registering for callbacks (Sean Millichamp)


ndrlsn> ----------------------------------------------------------------------

ndrlsn> Message: 1
ndrlsn> Date: Thu, 22 Oct 2009 11:09:44 +0100
ndrlsn> From: Ton Voon <ton.voon at opsera.com>
ndrlsn> Subject: Re: [Nagios-devel] Case-insensitive objects in NDOutils
ndrlsn> To: Nagios Developers List <nagios-devel at lists.sourceforge.net>
ndrlsn> Message-ID: <ED14952B-4262-4F3D-ABB0-EDEF54FEBE8D at opsera.com>
ndrlsn> Content-Type: text/plain; charset="us-ascii"


ndrlsn> On 22 Oct 2009, at 07:25, Hendrik Baecker wrote:


>> Am 22.10.09 05:33, schrieb Ton Voon:
>>> Quick note. I saw this change below and wondered if this is best  
>>> done in
>>> the database. For Opsview, we made this change about 2 years ago  
>>> for the
>>> same effect:
>>>
>>>    ALTER TABLE nagios_objects MODIFY name1 varchar(128) COLLATE
>>> latin1_bin NOT NULL default '';
>>>    ALTER TABLE nagios_objects MODIFY name2 varchar(128) COLLATE
>>> latin1_bin default NULL;
>>>
>>> The code then stayed the same. Also it means anything trying to  
>>> read the
>>> data doesn't need to remember to specify BINARY either.
>>>
>> Yes it looks nicer and will keep the code cleaner. Also I like the  
>> fact
>> to keep the work on the database.
>> One question back: If it uses COLLATE latin1_bin, the default sort  
>> thing
>> would be binary which is OK but afaik there are other associations  
>> with
>> the charset
>> (http://dev.mysql.com/doc/refman/5.1/en/charset-collation- 
>> charset.html).
>>
>> What will happen on a simplified chinese as default charset mysql if
>> ndoutils would try to set latin1_bin as collate?
>> There are missing MySQL international experiences on my side, but is  
>> it
>> a good practice to rule the charset?
>>
>> Further comments on this?
>> I would prefer a database way to do this, but I wouldn't like to force
>> the user to use a charset which he doesn't know/like/can't use.

ndrlsn> This is a fair point. Would

ndrlsn>     ALTER TABLE nagios_objects MODIFY name1 varchar(128) COLLATE
ndrlsn> utf8_bin NOT NULL default '';
ndrlsn>     ALTER TABLE nagios_objects MODIFY name2 varchar(128) COLLATE
ndrlsn> utf8_bin default NULL;

ndrlsn> make more sense then?

ndrlsn> Can anyone with more mysql knowledge explain?

ndrlsn> Ton

ndrlsn> -------------- next part --------------
ndrlsn> An HTML attachment was scrubbed...

ndrlsn> ------------------------------

ndrlsn> Message: 2
ndrlsn> Date: Fri, 23 Oct 2009 22:49:12 -0400
ndrlsn> From: Mathieu Gagn? <mgagne at iweb.com>
ndrlsn> Subject: [Nagios-devel] Accessing host_list/service_list within NEB
ndrlsn>         module
ndrlsn> To: Nagios Developers List <nagios-devel at lists.sourceforge.net>
ndrlsn> Message-ID: <4AE26B28.7010906 at iweb.com>
ndrlsn> Content-Type: text/plain; charset=ISO-8859-1; format=flowed

ndrlsn> Hi,

ndrlsn> I'm trying to write a NEB module but I'm facing a problem similar to 
ndrlsn> this one:
ndrlsn> http://article.gmane.org/gmane.network.nagios.devel/2326

ndrlsn> Unfortunately, there's no solution posted.

ndrlsn> Any idea? Thanks.




-- 
Atentamente,
------------------------- ********* -------------------------
Antonio Marí Vallbona                    mailto:amari at at4.net
Director de Sistemas
 

at4.net internet y comunicacion, SL        http://www.at4.net

Cl. Santiago Rusinyol, 8 1er.
E-07012 - Palma de Mallorca
Illes Balears - ES

 

Tel: +34 971 228870 / Fax: +34 971 228871
------------------------- ********* -------------------------


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference




More information about the Developers mailing list