From: Steven W. <sw...@il...> - 2002-06-26 01:43:45
|
Ryan Sweet wrote: > On Tue, 25 Jun 2002, Steven Wagner wrote: >>Although at my last job I know people who would have *KILLED* for an >>open-source win32 Ganglia-like monitoring tool. Up to and including gexec. >>That's one platform that I could see a *BIG* audience for... > > sure would make things nice for me. Right now I have some fragile perl > scripts that feed mrtg, but its not distributed, easy to break, and not > terribly light-weight. I don't know what the memory footprint would be in comparison (IIRC ActiveState's Perl is somewhat larger than its *ix counterparts), but on the platforms I've used it's below 2MB of real memory. > I think the metrics part (the equivalent of linux.c, etc...) I could > handle, the xml and data manipulation/memory tricks, I could probably also > implement there, but the multicast network programming on win32 is not up > my sleeve at this juncture. The metrics are the part I am the most frightened of, ironically. :) > What would the implications of a native win32 port (i.e. without using > cygwin) be? more abstraction, lots of ugly defines? I imagine some very ugly defines would be involved, if not One Great Big Freakin' Fork of the source tree. However, there may be some architectural changes on the horizon so don't give up hope - if you decide to work on it, that insight might prove valuable while the whole damn core is being rewritten from the ground up ... Have to wait for Matt's answer for that though ;) > If I wanted to jump into this (at the slug inspired pace of a few hours a > week) what is a good starting point? Well, if I were you I would first try to get the damn thing to compile with dummy metrics. Start with -current (or 2.4.1) and see where/if it breaks. The last major change to gmond was in 2.3.1b1 (getopt -> dotconf), which broke Solaris support in my experience. That is about as far back into history I'd go with the monitoring core in doing a port. See if you can get it to build successfully, try to feed it the right libraries if you can, and if not, you may be looking at an area where you have to do some rewriting. If you get that far you might want to post your findings to the list, because what you see might be something that the main development effort is looking at redoing... Good luck. :) |