Re: [Nagios-devel] NDO: Host/Services is_active flag buggy ?
-
Guest
Re: [Nagios-devel] NDO: Host/Services is_active flag buggy ?
On 13 Mar 2007, at 17:19, Sebastian Schubert wrote:
> on behalf of lars michelsen, who can't post to this mailinglist *g*
>> Hi,
>> i'm a developer of NagVis, in the actual version we have a problem
>> with reading host/service states from NDO. We filter the objects
>> with the flag is_active. Actualy we are not sure what the flag is
>> used for, we gues it's to hold objects for historical informations
>> in the DB.
>> I just had a look at NDO-1.4b2 sources (dbhandlers.c).
>>
>> It looks like all objects in NDO are first set to is_active=0
>> (function: ndo2db_set_object_as_inactive()).
>>
>> Then the up to date objects will be updated/created (Function:
>> ndo2db_handle_definition). In this process all objects
>> expect services and hosts run the function
>> ndo2db_set_object_as_active() to set the objects to is_active=1.
>>
>> Maybe it's a bug? Maybe not. I just had a short look at the sources.
>>
>> If this is no bug, could anyone please explain what the flag
>> is_active stands for and in which cases it's used?
We discovered this bug a few months ago: http://altinity.blogs.com/
dotorg/2007/01/helping_ndoutil.html.
Ethan has applied to CVS, but not generated a new release.
Ton
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]