The CreatorCon Call for Content is officially open! Get started here.

Removed software still appears to require reconciliation.

Jen Wenrick1
Tera Contributor

We are using ServiceNow Discovery and SAM Pro.  I have some software that was de-installed from LINUX OS systems about 1 month ago.  Since then discovery has run multiple times, reconciliation has run multiple times and this software package continues to show up on these systems in the license workbench.  How does this work with Discovery and ServiceNow with regard to software that is de-installed, what should I expect to see?  Looking for more details on how this is supposed to work so that I can further troubleshoot please.  I also have the same questions about SCCM & JAMF integrations, but the immediate need/concern the LINUX server situation mentioned above. THANKS!!

11 REPLIES 11

Is there a KB on this? How can other customers get this fix?

Hi @Srinivas Ramanu ,

   Is this issue fixed now? How can other customers have this issue fixed in the instance?

Additional to above one, why not all the software installations gets discovered via Servicenow/SCCM? Is this is a known issue?

 

Thanks!

Gary Ables
Kilo Explorer

Thanks for trying to help me, but this method not working to me  GoMedicare Benefits

Joe Ryder
Tera Expert

Hi Jen! It looks like Srinivas with ServiceNow has a direct fix for part of your issue with ServiceNow Discovery (looks like a retirement rule that was not being triggered). Know that SN Discovery works with the retirement rules and other automation better than the connected discovery methods, including SCCM.

What I've found in practice and what I've seen in the community is that your configuration of the third-party discovery tools and how they are being consumed by ServiceNow will determine the effectiveness of install status. I have seen issues where SCCM data comes into ServiceNow (where the Service Graph connector is not active and we are just using the classic SCCM spoke) has a "Last Scanned" timestamp that reflects not when the installation was last scanned but when the script last saw the installation in SCCM's table. As well, I have seen where software no longer scanned is not retired but just left with the Last Scanned date static indefinitely.

I currently have a script custom-written by a service partner that removes installs every 90 days that have a last scanned date more than 90 days old just to keep the installs clean. However, because SCCM also keeps install records for 90 days, that means an uninstalled software product can be in ServiceNow as an active install for 6 months before it falls out. 

While I do not now how the JAMF connector works specifically, I would assume it will have similar issues if it does not see the expected criteria it needs to mark an installation as "Retired" or delete the record. For instance, if SCCM never deletes its records, ServiceNow will continue to see the install in history and will never mark it as Retired.

Finding a root cause in third-party tools will start with looking at that criteria in the discovery pattern that determines if the software installation should be updated to Retired or deleted. Then, you'll want to look at the incoming data to see if that criteria matches the results of the query. That's the most common issue with discovery patterns, one system miscommunicating to another based on configuration.

Jen Wenrick1
Tera Contributor

@Srinivas Ramanujaiah  - thanks so much!  I have sent you an email outside the forum regarding the testing suggested!

@Joe Ryder  - thanks!  Very helpful!  If you don't mind sharing - the script you have looks at cmdb_sam_sw_install last_scanned for each install to check?  and then presumably also a check to ensure that last scan date for other things (say hardware scan) is current to make sure it is not an overall issue with the server/pc reporting data?  thanks for any and all words of wisdom on the SCCM topic!  We have not yet done JAMF but will be very soon.  I'll add to this that we are currently using SCCM plugin but will be transitioning to Service Graph connector so Service Graph would be my focus for additional improvements/enhancements. (as I don't expect to be using the plugin much longer)