Micro Focus Expert
Micro Focus Expert
76 views

UCMDB Tip : In ver 10.10, UD Discovery Job "Host Fingerprint using nmap" does not retain "OS Match"

UD Discovery Job "Host Fingerprint using nmap" does not retain data field "OS Match" as a UCMDB CI. The XML NMAP report is also purged after the job runs. 

Due to this it may not be possible to get the data from nmap named "OS match". 

Is there a way to either retain "OS match" as a CI or to retain the XML NMAP report from discovery job "Host Fingerprint using nmap"?

 

 

 

 

Modify the script nmap_osfingeprint.py to process the nmap result correctly for UCMDB 10.10 CP13 and later versions.

1. Open the script nmap_osfingeprint.py

2. Around the line 163 you can find the following code:

            if os and discoverOsName:
                osClass = os.getChild('osclass')

                                                                
   Change it to:

            if os and discoverOsName:
                osMatch = os.getChild('osmatch')
                osClass = osMatch.getChild('osclass')


3. Re-run the job.


Note : A Change Request QCCR1H92663 ( http://support.openview.hp.com/selfsolve/document/LID/QCCR1H92663 ) is raised to fix this in a future release.

 

 

 

Reference : http://support.openview.hp.com/selfsolve/document/KM00910222

 

 

 

 

“Micro Focus Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star to say 'Thanks'
Labels (1)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.