Jack Coates' Blog

12 Posts tagged with the ldms_client tag

ldms_client 2.4.9 hits the web today. This is a major revision, because it moves the inventory locations of several attributes, and it provides an optional ability to model data for those attributes. The affected inventory items are Battery, NetStat, Mapped Drives, and User Profile Size.

 

What does that mean? From the manual:

A database schema is the map of the database; it's how programs know where to read and write data from. LANDesk's database has an extremely clever trick available to it, which allows it to extend that map on the fly. If you send it data that it doesn't know how to map, it will figure out what you wanted and make it happen. For instance, if you add "Foo"."Bar" = "Baz" to an inventory scan, it will reason that you must want to assign Baz to a value named Bar, which is under an object named Foo. So it takes the data, puts together a attribute relationship, and stores it all in the UNMODELEDDATA tables.

 

By default, much of the data that ldms_client provides is unmodeled... after all, if it were modeled that would mean that LDMS was already gathering it, and ldms_client wouldn't need to. If you just need ldms_client temporarily, this is fine. For example, if you're just trying to quickly ascertain license compliance or force Dell WoL into a known state, you probably don't want to make a permanent change to your database.

 

On the other hand, performance of unmodeled data is potentially very poor, especially as the number of nodes reporting it goes up. That means that if you're using some of ldms_client's features as a permanent part of your inventory, you'll want to model the data.

Cropper-1-06-02-2009-11-44-17 AM.Png

This is still optional because it's potentially risky, but the benefits are worth pursuing.

0 Comments Permalink

ldms_client 2.4.5 news

Posted by Jack Coates Apr 6, 2009

ldms_client has picked up a few new tricks, particularly for the Dell shops. Version 2.4.5 adds code to detect the system hardware, so that DCCU will not be run on non-Dell machines. This version also reports on the number of crashes a workstation has enjoyed over the last seven days, so you can get some early warning (or refute your user's claim that it's crashed a dozen times since Friday... see? only 11 crashes).

 

I'm also splitting Mac support back out of the main package, so that everyone doesn't have to download it. This is preparatory to removing Macintosh support altogether... I just don't like working on Macs, and I haven't updated ldms_client_mac since July of 2008. If anyone would like to take over this section of ldms_client or wants some help doing their own inventory extension, you know where to find me.

 

The ldms_client_core UI is getting unwieldy and will be using tabs in the near future. I'm also starting to toy with a wild-card-capable registry reader, which would allow for some of those recursive tricks like mounted PSTs and mapped network printers.

0 Comments Permalink

ldms_client 1.7

Posted by Jack Coates Nov 21, 2008

Aside from the usual bugfixes and cleanup, this release adds configurable control over how hard ldms_client will look for email folders, and a report of the machine's FQDN.

 

Code and instructions can be found here: http://www.droppedpackets.org/inventory-and-slm/ldms_client

 

The conversations around future release ideas for ldms_core have proven interesting and useful, so here's an attempt to gather some of the loose notes:

  • TODO -- Firewall status is enabled /disabled. We do this in custom defs, but don’t put the status anywhere.
  • TODO -- It would be interesting to see the firewall specifics broken down a bit by port and app, but that could be a ton of work and difficult to format in a useful way.
  • TODO -- Capture the connected SSID. Something Perlish? WMI? netsh? All have problems.
  • TODO -- Custom vulnerability to install/update Produkey? Is there a better way to use Produkey, or do the same thing without it?
  • TODO -- Find a way to identify Adobe licenses... even if it's not decrypted, an identifiable GUID would be useful.
  • TODO -- Report system crashes from event log.
  • TODO -- The ongoing search for greater efficiency.
13 Comments Permalink

Every now and then someone will question the support terms of one of my open source projects, such as ldms_client. (To refresh those terms, they are: email me and I'll see if there's something I can do when I've got time to work on it.) Users who are unhappy with such terms will occasionally then go to the trouble of implementing their own custom solution to their inventory extension problem.

 

Chances are good that such a solution will not be supported either. Bearing in mind that I don't work in LANDesk support and am only guessing at what a given engineer will do on the day you call for help, my opinion is that LANDesk's support will center around successfully running the command and transferring the data.

 

ldms_client uses supported methods to do that, and so do the vast majority of the homegrown scripts that I've seen. But if either your script or ldms_client quit working properly, LANDesk support is within their rights to quit troubleshooting when they determine that LDMS can still execute programs and upload custom data. If the framework is working but your AV client is blocking your VBscript from copying a value out of HKCU into HKLM so that LDAPPL3.INI can pick it up, that's not really LANDesk's problem.

 

ldms_client exists because someday you'll come across another need for some goofy inventory extension, and someday they'll quit asking for this one... When you start trying to turn extensions on and off without its framework, you'll probably wish you had it.

 

phone.jpg

1 Comments Permalink

ldms_client question

Posted by Jack Coates Sep 18, 2008

ldms_client currently stores email information like this:

"Computer"."Email"."PST Files".$name_of_file."File Location" = location

"Computer"."Email"."PST Files".$name_of_file."File Size" = size

"Computer"."Email"."PST Files"."Total File Size" = size.

 

That makes it easy to do a query for "systems where there is lots of PST file space taken up", which would be something like "Computer"."Email"."PST Files"."Total Disk Size" > 1000 MB.

 

It is however impossible to query "a list of all PST files and their sizes and locations."

 

Are there many people who want that sort of a listing? Changing the behavior at this point is likely to break something for existing installs.

 

0 Comments Permalink

ldms_client version 1.4 is posted at http://www.droppedpackets.org/inventory-and-slm/ldms_client

 

This version is the first to use a Macintosh inventory extender to support netstat and optical drive gathering. There are no important changes on the Windows client.

 

0 Comments Permalink

 

So, this morning I got an .exe email attachment sent to me, which Outlook 2003 (more or less wisely) refuses to download. Don't get me started on the primitive model that says a dot and three characters are enough to identify naughtyware... but rather than ask my associate to rename the file and send it again, I decided to find where Outlook configures this. Google, STFW, and there we go: http://www.msfn.org/board/lofiversion/index.php/t16098.html

 

 

That key is reverse logic, you're defining what to allow, not what to block... so I created a STRING and put .exe in it, restarted Outlook and downloaded my file. Then, I went to Start > Programs > Monkeynoodle > configure ldms_client and added the string to my HKCU registry reader... if anyone's messing with this, I want to know.  A LANDesk Query against Custom Data - HKCU - Software/Microsoft/Office/11.0/Outlook/Security - Level1Remove will do quite nicely.

 

 

0 Comments Permalink

 

I was working with a university today, and we needed ldms_client to get some useful inventory, at which point I realized that I'd included a messed-up LDSCNHLP.INI in the version 1.2 installer (maybe older versions too). If yours says DATANOPREPEND2 instead of DATANOPREPEND1, that's why it doesn't work. Of course I'd pushed it to 2,000 workstations before I saw that, so you'll be glad to know there's no error message associated

 

 

It's as good a reason as any other to release, along with a lot of other bug fixes and stuff... No more spurious produkey errors, and a version checker, and an HKLM registry checker. However, there's also some unfinished projects still in there, and it's not as well tested as I'd like. I checked with my QA Department and all the voices in my head say it's okay to release.

 

 

http://www.droppedpackets.org/inventory-and-slm/ldms_client for your fresh-off-the-production-line copy. Have fun!

 

 

 

 

0 Comments Permalink

ldms_client updated

Posted by Jack Coates May 19, 2008

 

ldms_client version 1.2 is posted. HKCU reading works now, and it turns out I did need to use a wrapper program (REGEDIT.EXE /E and REG.EXE QUERY both behaved strangely for my needs). This inflates the size of the client install, but compromises must be made from time to time.

 

 

Version 1.2 also reads the Machine SID, and fixes a bug in version detection introduced by some of the post 8.8 patches.

 

 

With this release, my planned feature list is all done for Windows clients, until someone suggests some more features. Failing that, I'll be working on a Mac client next.

 

 

 

2 Comments 0 References Permalink

ldms_client updated

Posted by Jack Coates May 9, 2008

 

Version 1.1 adds produkey support: Download it here: http://www.droppedpackets.org/inventory-and-slm/ldms_client

 

 

I hoped to include the HKCU registry reading in this release, but it is still turning out to be annoyingly difficult, enough so that I'm probably going to drop the path I've been on and reimplement differently. However, I've made some progress on UI. I'm assuming there's not a lot of keys to gather from HKCU, so it's currently hardcoded as a list of 10. I'll probably fix that because it would be interested to build the core-side UI by iterating through a loop,but if you have an opinion speak up.

 

 

 

 

 

0 Comments 0 References Permalink

ldms_client updated

Posted by Jack Coates Apr 23, 2008

There was a bug in the policy reader for 8.8 clients that caused the scanner to fail if no policy had been applied to the client. Download from here: http://www.droppedpackets.org/inventory-and-slm/ldms_client

0 Comments 0 References Permalink

ldms_client released

Posted by Jack Coates Mar 25, 2008

 

http://www.droppedpackets.org/inventory-and-slm/ldms_client/

 

 

This is a centrally managed client inventory extension tool... it gathers a bunch of information that the base LDMS client doesn't. Currently, that means battery, netstat, nic duplex, landesk policy status from the client's perspective, PST file sizes, broker configuration mode, and the domain members of local groups. Here's a screenshot of the administration tool:

 

 

 

 

 

In the future, it will also include a startasuser.exe-powered HKCU key fetcher. I'm also thinking of produkey support and OSX support.

 

 

0 Comments 0 References Permalink
LANDesk Community powered by Jive Software's Clearspace ® Subscribe| Legal Notices| Investor Relations| Avocent| Privacy Policy © 2009 LANDesk Software