Date: Fri, 9 May 2014 10:30:18 -0400 From: =?iso-8859-1?B?QnJ1bm8gTGF1euk=?= <brunolauze@msn.com> To: "sbruno@freebsd.org" <sbruno@freebsd.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: RE: wbem, cim and instrumentation Message-ID: <BLU179-W32BFF82B5466AEB2D2102EC6480@phx.gbl> In-Reply-To: <1399473147.27372.1.camel@alice> References: <BLU179-W47420B2601981CBE65DEA2C64E0@phx.gbl>, <1399473147.27372.1.camel@alice>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed=2C 2014-05-07 at 08:39 -0400=2C Bruno Lauz=E9 wrote:=0A= >> One thing I feel FreeBSD always ignored is instrumentation frameworks.= =0A= >> I am talking about wbem=2C cim model and implementation like OpenPegasus= . Why is that?=0A= >> I ported OpenPegasus to work in FreeBSD with few patches.=0A= >> However=2C of course without providers a wbem doesn't go far. I started = to see how to shape providers for freebsd at:=0A= >>=0A= >> github.com/brunolauze/openpegasus-providers=0A= >>=0A= >> my openpegasus port is at:=0A= >>=0A= >> github.com/brunolauze/freebsd-ports/tree/master/net-mgmt/openpegasus=0A= >>=0A= >>=0A= >> Apple ships a wbem=0A= >> Microsoft ships a wbem / non-standard=0A= >> RedHat ships it.=0A= >> Suse ships it.=0A= >> z/OS ships it.=0A= >> Ubuntu and distro-like ships it.=0A= >> And Solaris does also.=0A= >>=0A= >> Why not us?=0A= >>=0A= >> The advantage outside of this idea is better coding technique and design= to expose API first and utility based on those APIs.=0A= >> if any utility can be used as API=2C this discard the need for applicati= on to use system() or popen() to execute shell code to accomplish system ta= sks=2C which is really bad but widely widespread in lack of good API exposu= re of those utilities. This reduce a lot of error with changes in utilities= switches=2C etc. and mitigate security risks.=0A= >>=0A= >> Wouldn't it be great to query FreeBSD with queries like:=0A= >> select * from UNIX_DiskDrive where Storage_Capacity> 1000=0A= >> or=0A= >> select * from UNIX_SCSIController WHERE LastErrorCode <> 0=0A= >>=0A= >>=0A= >> Anyway=2C this is just to talk=2C let me know your opinions!=0A= >>=0A= >>=0A= >>=0A= >>=0A= >=0A= > Are you going to propose updates/new ports for these tools?=0A= >=0A= > sean=0A= >=0A= =0A= =0A= Well=2C like I mentioned=2C it's pretty useless to publish my port of openp= egasus if there's no effort to develop providers for FreeBSD. A task that I= started working on when time permits it.=0A= =0A= =0A= My point was to see what people in FreeBSD community thinks about this=2C a= bout instrumentation and OS exposure to this standard.=0A= =0A= =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU179-W32BFF82B5466AEB2D2102EC6480>