tag:blogger.com,1999:blog-2615156186192493130.post452501506532897286..comments2023-11-02T04:52:30.047-07:00Comments on Abstract Absurdities: Events that have occurredCreighton Hogghttp://www.blogger.com/profile/09820771070038676909noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-2615156186192493130.post-56430293139136282612008-11-10T11:56:00.000-08:002008-11-10T11:56:00.000-08:00Interesting to know.Interesting to know.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-2671971820348213332008-09-18T05:16:00.000-07:002008-09-18T05:16:00.000-07:00Yeah, given how much I'm intimately tied with Wind...Yeah, given how much I'm intimately tied with Windows I think I'm going to try and go the route of setting up the Haskell COM bindings I found on http://darcs.haskell.org/packages/hscom/Creighton Hogghttps://www.blogger.com/profile/09820771070038676909noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-18844333657469019952008-09-17T19:26:00.000-07:002008-09-17T19:26:00.000-07:00Okay, so not as simple as I originally thought - W...Okay, so not as simple as I originally thought - <BR/><BR/>WMI uses the CMI stuff, but it does it over DCOM instead of HTTP.<BR/><BR/>So now I have no idea if that's something we can even just stuff XML onto, or what.Antoinehttps://www.blogger.com/profile/15941279797977995982noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-37419160636093817642008-09-16T20:24:00.000-07:002008-09-16T20:24:00.000-07:00The spec:http://www.dmtf.org/standards/wbem/CIM-XM...The spec:<BR/><BR/>http://www.dmtf.org/standards/wbem/CIM-XML<BR/><BR/>If you want to read the DTD for the XML, I recommend running it through the DtdToHaskell utility that comes with HaXml. Much easier to read that way :-)Antoinehttps://www.blogger.com/profile/15941279797977995982noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-41329340131469882782008-09-16T19:47:00.000-07:002008-09-16T19:47:00.000-07:00Here's a C WBEM client:http://sblim.wiki.sourc...Here's a C WBEM client:<BR/><BR/>http://sblim.wiki.sourceforge.net/Sfcc<BR/><BR/>I have no idea what sort of state it's in.<BR/><BR/>It's sounds like it's based on XML/http[s].<BR/><BR/>Getting Haskell <-> COM into shape might be just as hard as writing native WBEM bindings, then you can write WMI on top of that.<BR/><BR/>I don't really know the details yet, so I have no idea ^_^Antoinehttps://www.blogger.com/profile/15941279797977995982noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-63841155421207012442008-09-16T19:23:00.000-07:002008-09-16T19:23:00.000-07:00Interesting. Very different tack that I had been ...Interesting. Very different tack that I had been taking. I was going to look into Haskell COM bindings and use those to talk to the WMI service. I know there is some rough work on that front, but I have no experience with it yet.Creighton Hogghttps://www.blogger.com/profile/09820771070038676909noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-14118729788639028772008-09-16T19:17:00.000-07:002008-09-16T19:17:00.000-07:00after more study, it looks like WMI is based on an...after more study, it looks like WMI is based on an open protocol WBEM.<BR/><BR/>This link talks about fetching WMI data using linux-based WBEM tools:<BR/><BR/>http://forums.cacti.net/about11752.html<BR/><BR/>I haven't read it, but since its going from one platform using WBEM to another using WMI, it might be useful.Antoinehttps://www.blogger.com/profile/15941279797977995982noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-45157763879908250282008-09-16T19:07:00.000-07:002008-09-16T19:07:00.000-07:00Hmmm ... it claims to be standards compliant and W...Hmmm ... it claims to be standards compliant and Wikipedia briefly mentions C, but I haven't found out anything solid from that angle.<BR/><BR/>Just powershell and .Net stuff.Antoinehttps://www.blogger.com/profile/15941279797977995982noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-62438251083370589162008-09-16T18:45:00.000-07:002008-09-16T18:45:00.000-07:00Windows Management InstrumentationIt's a way t...Windows Management Instrumentation<BR/>It's a way to measure & do an awful lot of stuff on both your local & remote windows machines. It's extremely useful for managing systems, but I think it'd be a fun showcase if I could do all my throw away WMI scripting in Haskell instead of vbs or C#.Creighton Hogghttps://www.blogger.com/profile/09820771070038676909noreply@blogger.comtag:blogger.com,1999:blog-2615156186192493130.post-34486965522755894642008-09-16T18:31:00.000-07:002008-09-16T18:31:00.000-07:00What the heck is WMI?(I could Google it, but this ...What the heck is WMI?<BR/><BR/>(I could Google it, but this is somehow easier.)Antoinehttps://www.blogger.com/profile/15941279797977995982noreply@blogger.com