Date: Wed, 21 Jan 2009 13:17:28 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Shteryana Shopova <syrinx@freebsd.org>, freebsd-jail@freebsd.org, stef@memberwebs.com Subject: Re: bsnmp module for monitoring jails: bsnmp-jails Message-ID: <20090121131105.P45399@maildrop.int.zabbadoz.net> In-Reply-To: <497719E9.1080107@quip.cz> References: <20090120011951.D26228C282E@mx.npubs.com> <4975B8F3.7010008@quip.cz> <20090121032610.548568C2A3D@mx.npubs.com> <497719E9.1080107@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Jan 2009, Miroslav Lachman wrote: Hi, > Stef wrote: >> Miroslav Lachman wrote: >> >>> Stef wrote: >>> >>>> I've released a bsnmp module for monitoring jails via SNMP. Stuff like >>>> network traffic, disk space, CPU utilization etc... >>>> >>>> FreeBSD port attached, available here: >>>> >>>> http://memberwebs.com/stef/software/bsnmp-jails/ >>> >>> Thank you for your announcement and your work! I will test it as soon as >>> possible. >>> >>> Is there some limitation of FreeBSD version (6.x / 7.x / 8.x; i386 / >>> amd64) or is it compatible with "all"? >> >> >> I hope it's compatible with all of the above. If you find problems with >> later OS's or other architectures, I'd be happy to help find the >> problems, or include patches. >> >> When it was initially developed, 6.3 was the latest stable release of >> FreeBSD. It's been deployed on a dozen production 6.3-RELEASE i386 >> servers (each with lots of jails). > > I added link to your website on http://wiki.freebsd.org/Jails > Do you plan to submit PR with port? Let me know if you submit it, so I can > update the wiki page. I see a few problems with the module (and I haven't investigated a lot yet): - the entire pcap stuff in there - the inode and cpu usage stuff in there This is all going to break on the assumption that jails do use things exlusively. For example there can be 10 jails all sharing the same IP. There can be jails all sharing the same fs, nullfs mounts, ... And to my understanding the cpu usage reported is at best a snapshot guess but no clean statics value. I admit that those things (apart from traffic which really belongs elsewhere) can become interesting with resource limit patches where we get get proper values from elsewhere w/o having to do guess-math. - no support for jails in HEAD (and soon in 7) - does the MIB list the IP address(es)? - private copies of xprison structures - ... I have the feeling that this will need a bit of polishing and separation of things... I hope Shteryana may join in here ... -- Bjoern A. Zeeb The greatest risk is not taking one.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090121131105.P45399>