Currently Being Moderated

ldms_core 3.1.5

Posted by Jack Coates on Nov 3, 2008 3:15:04 PM

I've posted a new ldms_core which has a lot of changes (good, bad, and otherwise).

 

  • added ability to report on stale vuln data (greater than 7 days will produce a warning)

  • installation directory changes -- NullSoft Installer System uninstallation routine actually assumes a separate directory per program, and was deleting things that shouldn't be deleted when users would remove a program. To correct this, uninstall all Monkeynoodle programs and delete Program Files\Monkeynoodle before installing ldms_core.

  • detect dual boot systems via serial number

  • fixed &CullIPs again -- I had a function which seemed to do the right thing, but was actually deleting the oldest IP -- the downfall of using a small test set is that the expected result might happen for the wrong reasons.

  • Always check that what's supposed to be an IP is one -- failure to do so was causing spurious calls to DoNMAP and CullIPs

  • LDMS statistics graphing and trending via RRD. This is pretty cool; I'm just generating the graphics and putting them into ldmain\reports\ldms_core for now, but I'll throw together a nice index.html for it in a bit. LDSS stats are not being gathered yet.

  • hourglass cursor when setup is doing things

  • Unmanaged nodes culling (&CullUDD) failed when the discovered node was a WAP; skipping the attempt for now.

 

I'm still trying to decide if I want to spend time on a more formalized test procedure and/or beta period... if anyone has thoughts or would like to volunteer as a tester, please let me know.

 

I'm also having some difficulty with the Right Way(TM) to schedule repeated runs... in the past, I've asked the user to create a Windows scheduled task, but those quit working when the service account password changes. Currently I'm creating a LANDesk scheduled task, but those are finicky and are least likely to work on the cores which most need an automatic maintenance program. I could go to a long-running service, but memory consumption is high and that introduces a whole new set of potential problems. Ideas are welcome.



Nov 4, 2008 2:38 PM Dicipulus Dicipulus    says:

Just a note, for idiots like myself. If you keep getting errors int he version checking, make sure to add Jacks website to your trusted zones. Otherwise, if you try to browse to it, either with IE/Firefox you won't reach it.

However, it bombed out Jack. Take a look

Couldn't get http://www.droppedpackets.org/scripts/ldms_core/version

ldms_core.exe 3.1.6 starting, scheduling priority set to low.

ERROR: delete from UNMANAGEDNODES where wapdiscovered='0' and lastscantime < getdate()-10 caused Microsoft[ODBC SQL Server Driver][SQL Server]Invalid column name 'wapdiscovered'. (SQL-42S22) Microsoft[ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL-42000)(DBD: st_execute/SQLExecute err=-1)

 

Nov 4, 2008 2:47 PM Dicipulus Dicipulus    says in response to Dicipulus:

Is that supposed to be ARPdiscovered?

And might I be seeing my Proxy getting in the way of it checking Version properly?

Nov 4, 2008 6:55 PM Jack Coates Jack Coates    says in response to Dicipulus:

on the update thing, you can just add -skipupdate to your commandline and it will quit trying to do that. Even if it is doing it and failing, it should keep running, and just note that it can't find the website.

 

on the SQL error, what version of LANDesk are you running? WAP Discovery was added in 8.8, I should have filtered that out for 8.7's. Next version.

Nov 5, 2008 6:13 AM Dicipulus Dicipulus    says in response to Jack Coates:

Yup, 8.7 SP5 here running SQL 2005.

Nov 5, 2008 2:19 PM Jack Coates Jack Coates    says in response to Dicipulus:

I just uploaded 3.1.7, it'll fix this bug.

Nov 5, 2008 2:52 PM Dicipulus Dicipulus    says in response to Jack Coates:

I find the dual boot comment in the output interesting. What is the logic to determine if the system is a dual boot? I am think of a lot of "report" type stuff I'd love to have shot to me everyday by this script.

Keep up the good work!!

Nov 5, 2008 3:05 PM Jack Coates Jack Coates    says in response to Dicipulus:

dual boots are records with the same serial number; duplicate devices are with the same device name. I'm actually looking at preparing for more frequent runs by sending less email (only on warnings) and writing more information into web pages...

 

http://www.droppedpackets.org/scripts/ldms_core/ldms_core-manual

Nov 6, 2008 6:56 AM Dicipulus Dicipulus    says in response to Jack Coates:

I thought you might get a kick out of this. I just started running it as a test on my network, and I have liked the results so far. http://www.frameloss.org/2008/08/19/announcing-mynmap/

I'm interested in helping you more if I am able to, so i might see if I can integrate this into my daily ldms/LANDesk routine.

Thanks for all your efforts!

Nov 6, 2008 10:01 AM Jack Coates Jack Coates    says in response to Dicipulus:

The tool's capability is probably best done by ldms_client's netstat feature... NMAP's not very reliable when running from the core, and in the long run OS Detection will need to be done in a distributed fashion on the client subnets. That said, I'd be totally thrilled to get some help.

 

The todo list is pretty public, but here's stuff that I haven't written about where I'd love some help:

 

CSS / HTML -- not my strong suit, and the pages could be prettier.

Setup UI rethink -- the choices that are available to a user aren't very self-explanatory, and it could look better. The code under it is pretty nasty too, hard-coded placements by the pixel. This should be refactored.

Source revision control -- want to set up a CVS or Subversion? What about the public ones like Sourceforge or Google Code?

Code cleaning -- it's currently one big file, 4,450 lines. Needs to be broken up into modules, maybe even prepped for CPAN posting. Also, a consistent variable and subroutine naming convention should be adopted.

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