<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
on behalf of lars michelsen, who can't post to this mailinglist *g*<BR>
<BLOCKQUOTE TYPE=CITE>
Hi,<BR>
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.<BR>
I just had a look at NDO-1.4b2 sources (dbhandlers.c).<BR>
<BR>
It looks like all objects in NDO are first set to is_active=0 (function: ndo2db_set_object_as_inactive()).<BR>
<BR>
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.<BR>
<BR>
Maybe it's a bug? Maybe not. I just had a short look at the sources.<BR>
<BR>
If this is no bug, could anyone please explain what the flag is_active stands for and in which cases it's used?<BR>
<BR>
Regards,<BR>
Lars <BR>
</BLOCKQUOTE>
<A HREF="mailto:larsi@nagios-wiki.de">larsi@nagios-wiki.de</A><BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
"In god we trust, the Rest we Monitor"
Sebastian Schubert - RHCE
Stadtsparkasse Munich
Network and IT Security
--------------------------
<A HREF="mailto:basti-lists@sskm.de">basti-lists@sskm.de</A>
Stadtsparkasse München | Anstalt des öffentlichen Rechts | Amtsgericht München I HRA 75459 | Sparkassenstr. 2, 80331 München
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>