WG: NDO 1.4b7 - nagios_hosts Field Aliases in Configtype 1

Michael Friedrich michael.friedrich at univie.ac.at
Thu Apr 14 12:47:54 CEST 2011


Mies, Christian wrote:
> Hi Michael,
> thank you for the fast answer. After looking at documentation I set up
>
> retail_nonstatus_informatoin=0 in my Host Template.
> I've looked at the retension.dat, but there still standing the name before changing Alias Value.

afaik that setting does not affect the attributes being saved. there was 
a patch in svn as proposed fix just in 3.2.2 - i've already removed that 
in icinga 1.3.x because it's annoying and buggy.

http://nagios.svn.sourceforge.net/viewvc/nagios?view=revision&revision=1447
>
> Do you know the changes between Nagios 3.2.1 and Nagios 3.2.3 in the retension Part? With nagios 3.2.1 everything working fine for moving files to the Database...

try the attached git diff as patch against 3.2.3 sources and verify the 
updates from the original configs being imported/updated into the 
database. there has been a discussion on various lists and forums about 
that, but since that ran as "feature fix" into the core, there might be 
a problem removing that in upstream of nagios.

kind regards,
michael

>
> Regards
> Christian
>
>
> i.A. Christian Mies
> Senior Consultant
>
> Tel: +49 (661) 103-874      	(-333)
> Fax: +49 (661) 103-17874            (-334)
> mailto:Christian.Mies at it-novum.com
>
>
>
> it-novum GmbH .  Edelzeller Strasse 44 . 36043 Fulda  . http://www.it-novum.com
> Handelsregister Amtsgericht Fulda, HRB 1934 . Geschäftsführer: Michael Kienle . Sitz der Gesellschaft: Fulda
>
>
> Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten.
> This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden.
>
>
> ________________________________
>
> Von: Michael Friedrich [mailto:michael.friedrich at univie.ac.at]
> Gesendet: Do 14.04.2011 11:10
> An: nagios-devel at lists.sourceforge.net
> Betreff: Re: [Nagios-devel] WG: NDO 1.4b7 - nagios_hosts Field Aliases in Configtype 1
>
>
>
> Mies, Christian wrote:
>>
>>
>> i.A. Christian Mies
>> Senior Consultant
>>
>> Tel: +49 (661) 103-874        (-333)
>> Fax: +49 (661) 103-17874            (-334)
>> mailto:Christian.Mies at it-novum.com
>>
>>
>>
>> it-novum GmbH .  Edelzeller Strasse 44 . 36043 Fulda  . http://www.it-novum.com<http://www.it-novum.com/>
>> Handelsregister Amtsgericht Fulda, HRB 1934 . Geschäftsführer: Michael Kienle . Sitz der Gesellschaft: Fulda
>>
>>
>> Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfaenger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaeltigung oder Weiterleitung dieser Mail ist strengstens verboten.
>> This e-mail may contain confidential and/or priviledged information. If you are not the intended recepient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden.
>>
>>
>> ________________________________
>>
>> Von: Mies, Christian
>> Gesendet: Do 14.04.2011 10:27
>> An: nagios-devel at lists.sourceforge.net
>> Betreff: NDO 1.4b7 - nagios_hosts Field Aliases in Configtype 1
>>
>>
>> Hi Nagios Devel List,
>> I hope I'm right at that list. I cannot find a seperate List for the NDOUtils
>>
>> Historically we need to use NDO 1.4b7 - please don't ask why I'm using it.
>>
>> Since the Nagios Update from 3.2.1 to 3.2.3 the Host Alias in table nagios_hosts Configtype 1 will not updated if I change the Alias in the Configuration. I've looked at the broker.c and broker.h Code but the only difference I found, was that a variable in 3.2.3 is int instead of void.
>>
>> Has anybody of you an idea how to fix the issue, that the nagios_hosts.alias on configtype 1 will be updated on Nagios restart?
> look for retention.dat and the host alias savings/restoring during a
> core restart. this is not related to ndo itsself, other topics target
> that feature/issue too.
>
>> Thanks in advance,
>>
>> Christian
>>
>>
>> ------------------------------------------------------------------------------
>> Benefiting from Server Virtualization: Beyond Initial Workload
>> Consolidation -- Increasing the use of server virtualization is a top
>> priority.Virtualization can reduce costs, simplify management, and improve
>> application availability and disaster protection. Learn more about boosting
>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>> _______________________________________________
>> Nagios-devel mailing list
>> Nagios-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>>
>
> --
> DI (FH) Michael Friedrich
>
> Vienna University Computer Center
> Universitaetsstrasse 7 A-1010 Vienna, Austria
>
> email:  michael.friedrich at univie.ac.at
> phone:  +43 1 4277 14359
> fax:    +43 1 4277 14338
> web:    http://www.univie.ac.at/zid
>          http://www.aco.net<http://www.aco.net/>
>
> Icinga Core&   IDOUtils Developer
> http://www.icinga.org<http://www.icinga.org/>
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>
>
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: 	michael.friedrich at univie.ac.at
phone: 	+43 1 4277 14359
fax: 	+43 1 4277 14338
web:	http://www.univie.ac.at/zid
	http://www.aco.net

Icinga Core&  IDOUtils Developer
http://www.icinga.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110414/0b2ab202/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-do-not-retain-display_name-and-host-alias.patch
Type: text/x-diff
Size: 2668 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110414/0b2ab202/attachment.patch>
-------------- next part --------------
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list