And one bug less, cool :) Maybe we should "unload" unused python modules after getting all "configuration modules". It will not solve this bug, but it will be easier to find such bugs in the future (not find a "bug" in a unused part of code). I add it in the trac.
Jean On Fri, Jul 30, 2010 at 5:16 PM, Gerhard Lausser <[email protected]> wrote: > I found this in my objects.cache: > > define servicegroup { > alias Local service > servicegroup_name LocalServices > members localhost|Root Partition > } > > The "|" between hostname and servicedescription comes from the livestatus > module. > For servicegroups i added a new method "get_full_name" to the Service class. > I did this in the objectscache.py and in the livestatus.py. Now the > livestatus module is loaded after the status_dat module and the livestatus' > definition of get_full_name won. Unfortunately it returns the full name with > | which is not the correct format for an objects.cache. > After i renamed the method, servicegroups look better in the objects.cache > and i did not get the Whoops since then. > > Gerhard > >> -----Ursprüngliche Nachricht----- >> Von: Hermann Lauer [mailto:[email protected]] >> Gesendet: Dienstag, 27. Juli 2010 11:37 >> An: [email protected] >> Betreff: [Shinken-devel] nagios object.cache or status.cache >> garbled byshinken ? >> >> Dear shinken users, >> >> from time to time (probably after running longer) the nagios >> web interface refuses to read the shinken produced object.cache >> file: >> >> Whoops! >> >> Error: Could not read object configuration data! >> >> Any ideas how to debug this (on the nagios cgi side)? >> >> object.cache and status.data timestamps are keept up to date >> by shinken. >> The configuration is verified ok by shinken. >> >> Thanks for any help, >> greetings >> Hermann >> >> -- >> Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres >> Zentrum fuer wissenschaftliches Rechnen der Universitaet >> Heidelberg IWR; INF 368; 69120 Heidelberg; Tel: >> (06221)54-8236 Fax: -5224 >> Email: [email protected] >> >> -------------------------------------------------------------- >> ---------------- >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for >> a share of $1 Million in cash or HP Products. Visit us here >> for more details: >> http://ad.doubleclick.net/clk;226879339;13503038;l? >> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >> _______________________________________________ >> Shinken-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/shinken-devel >> > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Shinken-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shinken-devel > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Shinken-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shinken-devel
