Re: [opennms-devel] Debugging data collection
"Matt Brozowski" <[email protected]>
| Newsgroups | gmane.network.opennms.bugs |
|---|---|
| Message-ID | <3cb43f940805291157v380406c2n54eb5c7139ce37d1__42028.6206565381$1212087526$gmane$org@mail.gmail.com> |
On Thu, May 29, 2008 at 12:13 PM, Bobby Krupczak <[email protected]> wrote: > Hi! > > > On May 29, 2008, at 11:04 AM, Bobby Krupczak wrote: > > > collectd log does not show anyhing meaningful (at least to me). There > > > is a note about "persisting data" for my XmpCollectionResource. > > > > What's the message? > > A get a lot of these: > > collectd.log:2008-05-29 12:08:21,721 INFO [CollectdScheduler-50 > Pool-fiber1] OneToOnePersister: Persisting data for resource > XmpCollectionResource@1db7e6d > > And, I'm finding that my collectionset visitor method is being > invoked. I'm going to log down that rathole to see if I'm botching > something. > I wonder if it would help if you added at 'toString' method to XmpCollectionResource that gave more data. The actual writing is done is BasePersister based on whether your Attribute is a Numeric or String attribute. It looks like only object that extends NumbericAttributeType actually get persisted in JRB files. This should probably be changed in the future. Does it say 'Persisting Attribute' in any of the logs? This is logged by the code in BasePersister that does the persisting. Any of your data in strings.properties? Just some thoughts. Matt ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel