Discovered Software (226 Views)
Reply
Occasional Contributor
Duff_Michael
Posts: 8
Registered: ‎05-12-2010
Message 1 of 2 (226 Views)

Discovered Software

Does anybody have a custom Software Discovery Code script for me to review?

 

Also overall directions on how to set this up?  The Policy setter is not the most straight forward document to review.

 

Occasional Visitor
Jason_S_Smith
Posts: 3
Registered: ‎02-02-2011
Message 2 of 2 (226 Views)

Re: Discovered Software

I'm not sure if this helps, but I recently worked with a customer who was performing custom software scans. They did not use a custom script, but we encountered numerous errors trying to scan custom software. We spent weeks to resolve a simple issue that was not documented. Our process for uploading custom signatures was:

  1. Use scanwin-<version>.exe or equivalent scanning application for your platform (e.g., scanlinux-<version>.sh) on a managed server that had custom software installed. This provided us with the signatures of the custom software we wanted to scan.
  2. Use the Software Application Index (SAI) editor to prune the list of discovered software to the list of custom applications we wanted to scan and to provide additional data about the discovered software.
  3. Exported the custom software signatures to XML.
  4. Uploaded the XML using dstool to the SA core.
  5. Performed scans on other managed servers we knew to be running the custom applications.

Our custom applications were never discovered. We eventually learned that during step 2 you need to change the application type from "associated" to "main".

 

During our debugging we also learned that you need to apply the configuration custom attribute "LOG_MODE=DEBUG" to both the "opsware.server.module.discovered_software" package and the normal "Software Discovery" package if you want to get debug logs for custom software discovery.

 

Hope this helps some. I can dig up the case details if you need more specific information on discovering  software using custom signatures. I'm afraid I can't help much when it comes to creating a custom script to perform software discovery.

 

Cheers,

Jason S. Smith

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.