1 of 1 people found this helpful
Nothing wrong with the script. Most likely is that since you are doing a full scan including software on all of your machines your inventory service isn't able to process all of the scans so quickly. LDMS receives the scan and writes it to a file pending writing it to the database when it has the time since the SQL is slower/higher load than the file write. At peak times if you look at <coreserver>\ldmain\ldscan then you will see a lot of .scn files building up.
There are some configuration items to help speed this up in the advanced section of the inventory scanner, but first things first, see if this is your issue.
LANDesk Silver ESP
The One-Stop Shop for LANDesk Enhancements
Thanks for your response. I had forgotten about the ldscans folder. Watching it gave me the insight I needed, which was to remove /sync from the script.
5:02: started job against 469 PCs and servers.
5:15: 461 .scn files in ldscan folder. Most arrived by the five minute mark but more continue to appear.
5:23: 175 .scan files from 5:04 are still alive. No new files since 5:19.
5:35: 67 objects remaining timestamped 5:04. Last new file at 5:24.
5:37: initiated a hardware/software scan on one machine whose file was dated 5:13 (meaning it prob won't be ingested for another
5:44: I ran the same command as the script, minus /sync, on my own PC. The resulting .scn file is 250KB, much less than the others, though more than what I got from a console-triggered scan. Interesting. Meanwhile,
5:56: 89 of the original files
These are actually significantly better results than I experienced yesterday, but still disappointing compared to what I was hoping for.
I decided to test again, this time making a copy of the script and removing /sync from the command line.Using the /sync discovery from the first test, I removed /sync from it.
6:10: started job
6:12: 195 .scn files. Average size: 81KB!
6:14: 300 .scn files.
6:16: 120 .scn files.
6:17: empty. Checked the console and all the machines that could respond have an updated scan date.
Now *that*'s more like it.