On Mon, 2010-04-26 at 08:56 +1000, Craig Small wrote: > On Sat, Apr 24, 2010 at 11:37:36AM -0700, Eric Wheeler wrote: > > Would someone please describe the data flow of RRD metrics from > > collection to display on the graph? > Generally speaking the poller will spit out a number, its cached in the > temporal buffer. Then the last poller/backend in the group takes all the > cached items and puts them into the RRD file. > > Is the problem for the standard interface types or ones you made? > > > "The RRDTool files for Interface ID 15 (from Host ID 2), has > > not been created by the Poller Process yet" > The file might be there, that's an obvious one to check. Check also the > permissions are right. Almost always this bug points to a graph > problem, not a polling problem. You can send pretty much anything from > the pollers and not get this problem (you get a graph of NaNs instead) > > The easiest way is to edit lib/api.rrdtool.inc.php. Line 57 has > //debug($command); > Remove the comments, try to look at your broken graph and on the webpage > you should get the rrdtool graph command. On a cli paste that command > (even better do it sudo/su as the www-data user).
Thanks Craig, I'll have a look this week and figure out what is going on. This is an install that was working /flawlessly/ until I copied the tree and database to a new host. I have a feeling it is a permission issue (even though the jffnms uid is the same) that I'm still working out. > > The cli should at least tell you what is going wrong. The next thing is > why are you getting that error and that is dependent on the error > message. Thank you---I like to know /why/ something is having a problem to understand the software better and be more effective at tracking down issues in the future. > PS (not relevant to your bug) > I've started working on the C consolidator. It caches a lot of things > so should be a hell of a lot faster, or at least less load on your > database.The main problems I've had is the generic database libraries are > buggy. I've tried libdbi and apr-util. What about SQLite? I've not used it, but it is a single-file SQL database. For what its worth, Firefox uses it extensively in its data structures. -Eric ------------------------------------------------------------------------------ _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users