NDO: Host/Services is_active flag buggy ?

Sebastian Schubert basti-lists at sskm.de
Tue Mar 13 18:19:10 CET 2007


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_<objekt>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?
> 
> Regards,
> Lars 

larsi at nagios-wiki.de

-- 
"In god we trust, the Rest we Monitor"
Sebastian Schubert - RHCE
Stadtsparkasse Munich
Network and IT Security
--------------------------
basti-lists at sskm.de

Stadtsparkasse München | Anstalt des öffentlichen Rechts | Amtsgericht München I HRA 75459 | Sparkassenstr. 2, 80331 München
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070313/5110d12b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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